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

Disassembly:
sub esp, 0x8dc
mov eax, dword [0x10052500]
xor eax, esp
mov dword [esp + 0x8d8], eax
push ebx
mov ebx, dword [esp + 0x8e8]
mov eax, ecx
push ebp
mov ebp, dword [esp + 0x8f0]
lea ecx, [esp + 0xc4]
push esi
mov esi, dword [esp + 0x8ec]
push 0
push ebp
push 0
push 0
push eax
push esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x70], ebp
call fcn.10012b20
test byte [ebp], 8
jne 0x1003dac6
mov ecx, dword [esp + 0xec]
push ebp
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp]
test al, 1
jne 0x1003dae2
cmp dword [ebp + 4], 0xfffff9bd
jne 0x1003dae2
mov ecx, ebp
call fcn.1001c480
jmp 0x1003e01c
test al, 8
jne 0x1003e01c
push edi
lea ecx, [esp + 0x304]
mov dword [esp + 0x1c], 1
call fcn.10037030
mov eax, dword [ebx + 0x20]
mov ecx, 0x10053c48
mov dword [esp + 0x58], eax
call fcn.10039c20
mov ecx, 0x4000
cmp eax, ecx
push ebp
cmovb eax, ecx
lea ecx, [esp + 0x308]
push eax
push 0
push dword [esi + 0xc]
call fcn.10031f80
test byte [ebp], 8
jne 0x1003dfc8
lea eax, [esp + 0x7c]
mov dword [esp + 0x78], 0x20
xor edi, edi
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x40], eax
call fcn.10020b70
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
test eax, eax
je 0x1003dba5
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x24]
cmp dword [eax + 0x44], 1
je 0x1003dba5
push ebp
lea eax, [esp + 0x40]
mov byte [esp + 0x17], 1
push eax
mov dword [esp + 0x50], edi
call fcn.10020d80
mov dword [esp + 0x48], 1
jmp 0x1003dbaa
mov byte [esp + 0x13], 0
test byte [esp + 0x1c], 8
mov dword [esp + 0x64], edi
jne 0x1003dda6
mov esi, ebx
jmp 0x1003dbc0
mov ecx, dword [esp + 0xf0]
lea edx, [esp + 0x1c]
push edx
xor bl, bl
mov eax, dword [ecx]
call dword [eax + 0x30]
test byte [esp + 0x1c], 8
mov dword [esp + 0x68], eax
jne 0x1003dda2
lea eax, [esp + 0x1c]
push eax
push 0x103
lea ecx, [esp + 0x30c]
call fcn.10031760
test byte [esp + 0x1c], 8
mov dword [esp + 0x30], eax
jne 0x1003dda2
cmp eax, dword [esp + 0x31c]
je 0x1003dd92
mov eax, dword [eax]
xor edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0
cmp dword [esp + 0x58], edi
jle 0x1003dc9c
mov ebp, dword [esp + 0x14]
mov edi, edi
test byte [esp + 0x1c], 8
jne 0x1003dc7c
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + ecx*4 + 0x178]
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x6c]
xor eax, eax
test dl, dl
mov esi, dword [ecx]
sete al
push eax
lea eax, [esp + 0x78]
push eax
mov eax, dword [esi + 0x24]
call eax
test al, al
je 0x1003dc72
or bl, 1
jmp 0x1003dc75
or bl, 2
inc edi
cmp edi, dword [esp + 0x58]
jl 0x1003dc30
cmp dword [esp + 0x6c], 0xff
mov ebp, dword [esp + 0x5c]
jbe 0x1003dc98
push 0xff
lea ecx, [esp + 0x70]
call fcn.1002a240
mov esi, dword [esp + 0x14]
test byte [esp + 0x1c], 8
jne 0x1003dcba
mov ecx, dword [esp + 0xf0]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 0x64], eax
jmp 0x1003dcbe
mov eax, dword [esp + 0x64]
test byte [esp + 0x1c], 8
jne 0x1003dd81
lea ecx, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.10028d40
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x70]
push 0x103
add eax, 4
push eax
call fcn.100295d0
mov edx, dword [esp + 0x30]
mov ax, word [esp + 0x6c]
mov ecx, dword [edx]
mov word [ecx + 2], ax
lea eax, [esp + 0x1c]
push eax
push 1
push edx
lea ecx, [esp + 0x310]
call fcn.100316e0
test byte [esp + 0x1c], 8
jne 0x1003dd27
mov ecx, dword [eax]
movzx eax, word [ecx + 2]
mov byte [eax + ecx + 4], bl
mov al, byte [esi + 0x40]
test al, 8
je 0x1003dd45
test bl, 1
je 0x1003dd45
push 1
push 0xfffffbe3
lea ecx, [esp + 0x24]
call fcn.1001c540
jmp 0x1003dd4e
test al, 2
je 0x1003dd5a
test bl, 2
jne 0x1003dd5a
lea ecx, [esp + 0x308]
call fcn.100325d0
test byte [esp + 0x1c], 8
mov edi, dword [esp + 0x18]
jne 0x1003dda2
mov ecx, dword [esp + 0xf0]
lea edx, [esp + 0x1c]
push edx
push 2
inc edi
mov eax, dword [ecx]
push 1
mov dword [esp + 0x24], edi
call dword [eax + 8]
jmp 0x1003dd85
mov edi, dword [esp + 0x18]
test byte [esp + 0x1c], 8
je 0x1003dbc0
jmp 0x1003dda2
push 1
push 0xfffffc0d
lea ecx, [esp + 0x24]
call fcn.1001c540
mov ebx, dword [esp + 0x14]
test byte [esp + 0x1c], 1
jne 0x1003ddb7
cmp dword [esp + 0x20], 0xfffff9bd
je 0x1003ddc3
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.1001c2f0
test byte [ebp], 8
jne 0x1003df81
push ebp
lea ecx, [esp + 0x308]
call fcn.100319d0
test byte [ebp], 8
jne 0x1003df81
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x304]
cmp byte [esp + 0x13], 0
push ebp
cmovne eax, edi
mov dword [esp + 0x54], eax
call fcn.10031b30
mov esi, eax
cmp esi, dword [esp + 0x31c]
je 0x1003df6b
test byte [ebp], 8
jne 0x1003df6b
movzx eax, byte [ebx + 0x40]
lea ecx, [esp + 0x238]
and eax, 1
mov dword [esp + 0x30], eax
lea eax, [esp + 0xcc]
push ebx
push eax
call fcn.1000c8a0
test byte [ebp], 8
lea eax, [esp + 0xac]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0x20
jne 0x1003df53
cmp esi, dword [esp + 0x31c]
je 0x1003df53
mov edi, dword [esi]
push ebp
movzx ecx, word [edi + 2]
lea eax, [edi + 4]
mov dword [esp + 0x3c], eax
mov eax, ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x23c]
lea eax, [esp + 0x38]
push eax
call fcn.10060d33
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffffc
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x9c]
jne 0x1003def6
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x60]
call fcn.1000d110
test eax, eax
jne 0x1003def6
cmp dword [esp + 0x30], 1
jne 0x1003df11
movzx eax, word [edi + 2]
test byte [eax + edi + 4], 1
jne 0x1003df11
push 0xfffff9bb
mov ecx, ebp
call fcn.1001c420
jmp 0x1003df11
push 1
mov ecx, ebx
call fcn.10023e90
push ebp
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xa4]
call fcn.100294f0
push 1
mov ecx, ebx
call fcn.10023e70
cmp byte [esp + 0x13], 0
je 0x1003df39
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
test al, 0x7f
jne 0x1003df39
push ebp
lea eax, [esp + 0x40]
push eax
call fcn.10020d80
push ebp
push esi
lea ecx, [esp + 0x30c]
call fcn.10031ca0
test byte [ebp], 8
mov esi, eax
je 0x1003de73
lea ecx, [esp + 0x9c]
call fcn.10028d20
lea ecx, [esp + 0x238]
call fcn.1000c930
test byte [ebp], 1
jne 0x1003df81
cmp dword [ebp + 4], 0xfffff9bd
jne 0x1003df81
mov ecx, ebp
call fcn.1001c480
lea ecx, [esp + 0x304]
call fcn.100317b0
cmp byte [esp + 0x13], 0
je 0x1003dfbf
test byte [ebp], 8
jne 0x1003dfac
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], 3
mov dword [esp + 0x50], eax
jmp 0x1003dfb4
mov dword [esp + 0x48], 4
push ebp
lea eax, [esp + 0x40]
push eax
call fcn.10020d80
lea ecx, [esp + 0x6c]
call fcn.10028d20
lea ecx, [esp + 0x304]
call fcn.100317b0
lea esi, [esp + 0x8e8]
mov edi, 6
sub esi, 0xa0
mov ecx, esi
call fcn.10032f20
dec edi
jns 0x1003dfe0
lea ecx, [esp + 0x460]
call fcn.100439a0
lea ecx, [esp + 0x308]
call fcn.100323d0
test dword [esp + 0x1c], 0xfffffffe
pop edi
je 0x1003e01c
lea ecx, [esp + 0x18]
call fcn.1001c3c0
lea ecx, [esp + 0xc8]
call fcn.10012d60
mov ecx, dword [esp + 0x8e4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100454c0
add esp, 0x8dc
ret 0xc