Function at 0x1013d560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc4
mov eax, dword [0x10c67840]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xcc]
push ebx
push ebp
mov ebp, dword [esp + 0xd0]
push esi
push edi
push 0x10c12b1c
lea edi, [esp + 0x1c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x28], 0
call fcn.100c3530
lea ecx, [ebp + 0x7c]
lea eax, [esp + 0x2c]
call fcn.10001c10
mov esi, dword [esp + 0x2c]
mov edx, esi
neg edx
sbb edx, edx
test edx, 0x10100260
je 0x1013d5d8
push 0x20
push 0x2c
call fcn.1005b0b0
lea edi, [esp + 0x2c]
call fcn.1005c600
push 0
push 0x20
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.1005c320
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [ebp + 0xc]
lea edi, [eax + ecx*4]
cmp eax, edi
mov dword [esp + 0x28], 0
mov ebx, dword [edx + 0x44]
mov esi, eax
je 0x1013d640
mov eax, dword [esi]
test eax, eax
jne 0x1013d61d
xor ecx, ecx
jmp 0x1013d620
mov ecx, dword [eax + 4]
test eax, eax
je 0x1013d627
mov eax, dword [eax + 8]
push ecx
push eax
call fcn.1030ad1f
add esp, 8
test eax, eax
mov dword [esp + 0x28], eax
jne 0x1013d6b3
add esi, 4
cmp esi, edi
jne 0x1013d613
test ebx, ebx
je 0x1013d68a
mov edx, dword [ebx + 8]
mov eax, dword [edx + 0x220]
lea esi, [esp + 0x30]
call fcn.10061180
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
jne 0x1013d662
xor ecx, ecx
jmp 0x1013d665
mov ecx, dword [eax + 4]
cmp eax, ebx
jne 0x1013d66d
xor eax, eax
jmp 0x1013d670
mov eax, dword [eax + 8]
push ecx
push eax
call fcn.1030ad1f
mov dword [esp + 0x30], eax
add esp, 8
lea eax, [esp + 0x30]
push eax
call fcn.10001b00
jmp 0x1013d6b5
test byte [0x10c88d84], 1
jne 0x1013d6a9
or dword [0x10c88d84], 1
mov eax, 0x10c19478
mov esi, 0x10c88d80
call fcn.1030ad1f
mov ecx, dword [0x10c88d80]
mov dword [esp + 0x28], ecx
xor ebx, ebx
push 0x10
call fcn.102f361c
add esp, 4
cmp eax, ebx
je 0x1013d7c1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
add dword [eax], 1
mov dword [esp + 0x20], eax
cmp dword [ebp + 0x4c], ebx
mov dword [esp + 0x30], ebx
jbe 0x1013dcef
mov edx, dword [ebp + 0x50]
mov esi, dword [edx + ebx*4]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov edx, dword [esi]
mov eax, dword [edx + 0x190]
mov ecx, esi
mov dword [esp + 0x78], esi
call eax
test al, al
jne 0x1013dca6
movzx eax, byte [ebp + 0x80]
mov edx, dword [esi]
mov edx, dword [edx + 0x20c]
shr al, 1
lea ecx, [esp + 0x3c]
and eax, 0xffffff01
push eax
push ecx
mov ecx, esi
call edx
test al, al
je 0x1013dca6
mov eax, dword [esp + 0x40]
cmp eax, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], edi
jbe 0x1013dca6
mov ecx, dword [esp + 0x4c]
test byte [ecx + 0x80], 2
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
lea ebp, [eax + esi*8]
jne 0x1013d903
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1013d78f
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1013d780
sub eax, edx
test eax, eax
jne 0x1013d7ca
push 7
push 0x10c1d38c
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], 0
call fcn.1006d6d0
or dword [esp + 0x24], 1
lea eax, [ebp + 4]
lea ecx, [esp + 0x38]
call fcn.1006d800
test al, al
je 0x1013d7ca
mov bl, 1
jmp 0x1013d7cc
mov dword [esp + 0x20], ebx
jmp 0x1013d6d9
xor bl, bl
test byte [esp + 0x24], 1
je 0x1013d7e1
and dword [esp + 0x24], 0xfffffffe
lea eax, [esp + 0x38]
call fcn.100089e0
test bl, bl
je 0x1013d81e
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x58]
lea eax, [eax + esi*8 + 0xc]
push ecx
call fcn.1013d270
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
add esp, 4
push eax
lea edi, [esp + 0x1c]
call fcn.100c3890
lea eax, [esp + 0x58]
call fcn.10009890
add esi, 1
mov dword [esp + 0x1c], esi
jmp 0x1013dc89
mov edx, dword [edi + 0xc]
test edx, edx
je 0x1013d892
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1013d830
sub eax, esi
test eax, eax
je 0x1013d892
cmp dword [edi], 1
je 0x1013d856
mov eax, dword [edi + 4]
push edx
lea ecx, [esp + 0x1c]
push ecx
call fcn.100a2370
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1013d86f
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1013d860
sub eax, edx
mov esi, eax
jmp 0x1013d871
xor esi, esi
lea edx, [esi + 2]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.100a2300
test al, al
je 0x1013d892
mov ecx, dword [edi + 0xc]
mov byte [esi + ecx], 0x26
mov edx, dword [edi + 0xc]
mov byte [esi + edx + 1], 0
lea ecx, [esp + 0x80]
lea eax, [ebp + 4]
push ecx
call fcn.1013d270
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
add esp, 4
push eax
lea edi, [esp + 0x1c]
call fcn.100c3890
lea eax, [esp + 0x80]
call fcn.10009890
push 0x10c180a0
call fcn.100c3890
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x60]
lea eax, [ecx + esi*8 + 0xc]
push edx
call fcn.1013d270
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
add esp, 4
push ecx
call fcn.100c3890
lea eax, [esp + 0x60]
call fcn.10009890
add esi, 1
mov dword [esp + 0x1c], esi
jmp 0x1013dc89
push 0x10c16950
lea edi, [esp + 0x18]
call fcn.100c3530
mov edx, dword [esp + 0x50]
push edx
call fcn.100c3890
push 0x10c21858
call fcn.100c3890
push 0x10c22f34
call fcn.100c3890
mov eax, dword [ebp + 4]
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, 0x10100260
je 0x1013d945
mov eax, dword [eax + 8]
jmp 0x1013d947
xor eax, eax
push eax
lea edi, [esp + 0x18]
call fcn.100c3890
push 0x10c1d078
call fcn.100c3890
mov esi, dword [esp + 0x78]
mov edx, dword [esi + 0x40]
mov eax, dword [edx + 8]
mov ecx, dword [0x10c883f0]
cmp eax, dword [ecx + 8]
jne 0x1013dafb
mov edx, dword [esi + 0x74]
and edx, 0xf
cmp dl, 7
jne 0x1013dafb
lea eax, [esp + 0x34]
push eax
mov eax, esi
call fcn.10118fd0
push ecx
lea ecx, [esp + 0x38]
mov eax, esp
call fcn.10001c10
lea ecx, [esp + 0x58]
push ecx
call fcn.1013d4f0
add esp, 8
push 0x10c22f5c
call fcn.100c3890
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x1013d9be
xor eax, eax
jmp 0x1013d9c4
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push 1
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x30]
push edx
call fcn.1006d9a0
mov eax, dword [eax]
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, 0x10100260
je 0x1013d9ea
mov eax, dword [eax + 8]
jmp 0x1013d9ec
xor eax, eax
push eax
lea edi, [esp + 0x18]
call fcn.100c3890
lea eax, [esp + 0x68]
call fcn.100089e0
push 0x10c1d078
call fcn.100c3890
lea edx, [esp + 0x7c]
push edx
mov eax, esi
call fcn.10118fd0
mov eax, dword [eax]
test eax, eax
je 0x1013da25
cmp dword [eax + 4], 0
je 0x1013da25
xor ebx, ebx
jmp 0x1013da2a
mov ebx, 1
lea eax, [esp + 0x7c]
push eax
call fcn.10001b00
test bl, bl
jne 0x1013dae7
lea ecx, [esp + 0x70]
push ecx
lea eax, [esp + 0x38]
call fcn.1009eb90
mov ecx, dword [eax]
add esp, 4
test ecx, ecx
jne 0x1013da62
lea edx, [esp + 0x94]
push edx
call fcn.1006ef10
jmp 0x1013da90
mov eax, dword [ecx + 8]
test eax, eax
jne 0x1013da7f
push 0x10c12b1c
lea eax, [esp + 0x98]
push eax
xor edi, edi
call fcn.1006efe0
jmp 0x1013da90
mov ecx, dword [ecx + 4]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.1006ee50
lea eax, [esp + 0x70]
push eax
call fcn.10001b00
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
cmp dword [edx + 4], 0
je 0x1013dadb
push 0x10c22f6c
lea edi, [esp + 0x18]
call fcn.100c3890
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
test byte [eax + 0x1c], 1
je 0x1013dacb
mov eax, dword [eax + 0xc]
jmp 0x1013dad1
push eax
call fcn.1006e9a0
push eax
lea edi, [esp + 0x18]
call fcn.100c3890
lea eax, [esp + 0x94]
call fcn.1006ebf0
lea ecx, [esp + 0x54]
push ecx
call fcn.10001b00
lea edx, [esp + 0x34]
push edx
call fcn.10001b00
push 0x10c22f80
lea edi, [esp + 0x18]
call fcn.100c3890
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x1013db2d
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1013db20
sub eax, esi
jmp 0x1013db2f
xor eax, eax
mov edi, dword [esp + 0x20]
push eax
push edx
mov eax, edi
call fcn.100b7810
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + edx*8 + 0xc]
lea ebx, [ecx + edx*8 + 8]
mov ecx, eax
neg ecx
sbb ecx, ecx
test ecx, 0x10100260
je 0x1013db94
mov eax, dword [eax + 4]
sub eax, 1
je 0x1013db94
mov ecx, dword [ebx + 4]
mov edx, ecx
neg edx
sbb edx, edx
test edx, 0x10100260
je 0x1013db84
mov ecx, dword [ecx + 8]
push eax
push ecx
mov eax, edi
call fcn.100b7810
jmp 0x1013dc6d
push eax
xor ecx, ecx
push ecx
mov eax, edi
call fcn.100b7810
jmp 0x1013dc6d
mov eax, dword [ebx]
test eax, eax
je 0x1013dc6d
cmp dword [eax + 4], 0
je 0x1013dc6d
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
cmp eax, ecx
jne 0x1013dc41
mov edx, ecx
shr edx, 2
lea edx, [edx + ecx + 1]
lea esi, [eax + 1]
mov dword [esp + 0x84], edx
cmp edx, 0x10
mov dword [esp + 0x64], esi
mov dword [esp + 0x5c], 0x10
lea edx, [esp + 0x84]
ja 0x1013dbe5
lea edx, [esp + 0x5c]
cmp esi, dword [edx]
jb 0x1013dbed
lea edx, [esp + 0x64]
mov esi, dword [edx]
cmp esi, ecx
jb 0x1013dc41
cmp esi, 0xccccccc
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 8]
lea eax, [eax + eax*4]
lea ebp, [edi + eax*4]
mov dword [ecx + 0xc], esi
jbe 0x1013dc10
call fcn.102f2d46
lea ecx, [esi + esi*4]
add ecx, ecx
add ecx, ecx
push ecx
call fcn.102f361c
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, eax
push edx
push ebp
push edi
mov dword [ecx + 8], eax
call fcn.10009760
add esp, 0xc
push edi
call fcn.102f353f
mov edi, dword [esp + 0x24]
add esp, 4
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*4]
test esi, esi
je 0x1013dc69
lea eax, [esi + 4]
mov dword [esi], 1
call fcn.100089d0
lea eax, [esi + 0x10]
mov ecx, ebx
call fcn.10001c10
add dword [edi + 4], 1
push 2
push 0x10c21858
mov eax, edi
call fcn.100b7810
add dword [esp + 0x1c], 1
lea eax, [esp + 0x14]
call fcn.10009890
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
jb 0x1013d756
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
lea edi, [esi + edx*8]
cmp esi, edi
je 0x1013dcce
lea eax, [esi + 4]
call fcn.100089e0
push esi
call fcn.10001b00
add esi, 8
cmp esi, edi
jne 0x1013dcb5
mov esi, dword [esp + 0x44]
push esi
mov dword [esp + 0x44], 0
call fcn.102f353f
add ebx, 1
add esp, 4
cmp ebx, dword [ebp + 0x4c]
mov dword [esp + 0x30], ebx
jb 0x1013d6e6
test byte [ebp + 0x80], 2
je 0x1013dd24
push 0x10c16950
lea eax, [esp + 0x1c]
push eax
mov eax, 3
call fcn.100a2370
mov ecx, dword [esp + 0x50]
push ecx
lea edi, [esp + 0x1c]
call fcn.100c3890
push 0x10c22f88
call fcn.100c3890
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0xc]
test edx, edx
je 0x1013dd41
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1013dd34
sub eax, esi
jmp 0x1013dd43
xor eax, eax
mov esi, dword [esp + 0x20]
push eax
push edx
mov eax, esi
call fcn.100b7810
test esi, esi
mov edi, dword [esp + 0x74]
mov dword [edi], esi
je 0x1013dd6b
add dword [esi], 1
add dword [esi], 0xffffffff
cmp dword [esi], 0
jg 0x1013dd6b
push esi
call fcn.10008c00
lea eax, [esp + 0x88]
push eax
call fcn.1000d490
lea ecx, [esp + 0x2c]
push ecx
call fcn.10001b00
lea eax, [esp + 0x18]
call fcn.10009890
mov ecx, dword [esp + 0xcc]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102f2d37
add esp, 0xc4
ret 8