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

Disassembly:
sub esp, 0x334
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x330], eax
mov ecx, dword [esp + 0x338]
mov eax, dword [esp + 0x33c]
or dword [esp + 0x64], 0xffffffff
mov edx, dword [esp + 0x340]
push ebx
lea ebx, [ecx + 0x18]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xec]
mov dword [esp + 0x78], eax
movzx eax, word [ebx + 0x74]
cwde
push ebp
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x8c], eax
push esi
mov esi, dword [ebx + 0x48]
imul eax, eax, 0x24
mov dword [esp + 0x7c], esi
add esi, 0x54
push edi
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x6c], edx
add eax, esi
mov dword [esp + 0x28], ebx
mov esi, edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x70], edi
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], esi
cmp dword [ebx + 0xf4], edi
jne 0x1009de61
mov eax, dword [esp + 0x84]
mov edx, 0x800
mov word [eax + 0xe], dx
lea eax, [esp + 0x60]
push eax
push 1
push edx
push ecx
call fcn.100c9f55
test eax, eax
js 0x1009e6fc
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
mov dword [ebx + 0xf4], eax
mov eax, edx
mov dword [esp + 0x90], 2
shl eax, 4
lea ecx, [esp + 0x9c]
add eax, ecx
mov ecx, edi
mov dword [esp + 0x18], eax
test edx, edx
je 0x1009deb0
mov ebp, dword [esp + 0x6c]
lea edx, [esp + 0x9c]
mov ebx, dword [esp + 0x78]
push 2
pop esi
mov eax, dword [ebx + ecx*4]
mov dword [edx], eax
lea edx, [edx + 0x10]
or word [eax], si
inc ecx
cmp ecx, ebp
jb 0x1009de96
mov ebp, dword [esp + 0x14]
mov esi, edi
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x4ac]
test eax, eax
jle 0x1009e670
mov ecx, dword [edx + 0x4a8]
mov dword [esp + 0x64], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
cmp ecx, dword [esp + 0x5c]
jae 0x1009e670
mov edx, dword [esp + 0x5c]
xor esi, esi
inc esi
cmp dword [eax], 2
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x60], esi
jne 0x1009e5cc
mov eax, dword [eax + 0xcc]
mov ebx, dword [ebx + 0xf4]
inc dword [esp + 0x74]
mov dword [esp + 0x24], eax
movzx eax, word [eax + 0xc]
and eax, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], eax
lea esi, [esp + 0x9c]
mov eax, dword [esp + 0x84]
movzx eax, word [eax + 0xe]
add eax, ebx
mov dword [esp + 0x2c], eax
cmp esi, dword [esp + 0x18]
jae 0x1009e5c1
lea ebp, [esp + 0xa8]
mov eax, dword [ebp - 0xc]
mov esi, dword [esp + 0x14]
add eax, 4
push 4
push eax
push dword [esp + 0x4c]
push esi
call fcn.1003c6a0
test eax, eax
js 0x1009e6fc
push edi
lea eax, [esp + 0x50]
push eax
push 0x202
lea eax, [esp + 0x148]
push eax
mov eax, dword [esp + 0x44]
push dword [eax + 0xe0]
push esi
call fcn.100adfdf
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5ef
mov ecx, dword [esp + 0x4c]
cmp esi, 0x3ec
je 0x1009dfb0
xor eax, eax
inc eax
cmp ecx, eax
jne 0x1009dfb2
mov eax, edi
mov dword [ebp - 8], eax
test eax, eax
je 0x1009e02f
mov eax, dword [esp + 0x2c]
inc dword [esp + 0x50]
sub eax, ebx
cmp eax, ecx
jb 0x1009e5e6
push ecx
lea eax, [esp + 0x140]
mov dword [ebp], ecx
push eax
push ebx
mov dword [esp + 0x7c], ecx
mov dword [ebp - 4], ebx
mov dword [esp + 0x54], ebx
call fcn.101175c0
mov eax, dword [esp + 0x58]
add esp, 0xc
add ebx, eax
lea esi, [eax + 3]
and esi, 0xfffffffc
sub esi, eax
je 0x1009e008
push esi
push edi
push ebx
call fcn.10117460
add esp, 0xc
add ebx, esi
cmp dword [esp + 0x40], edi
je 0x1009e02f
mov esi, dword [esp + 0x30]
test esi, esi
jne 0x1009e02f
push dword [esp + 0x70]
push dword [esp + 0x4c]
call fcn.100f2e51
test eax, eax
push 1
pop eax
cmovne esi, eax
mov dword [esp + 0x30], esi
add ebp, 0x10
lea eax, [ebp - 0xc]
cmp eax, dword [esp + 0x18]
jb 0x1009df4d
mov esi, dword [esp + 0x50]
test esi, esi
je 0x1009e5b5
mov eax, dword [esp + 0x94]
mov ecx, 0xfffe
mov edx, dword [esp + 0x24]
shl eax, 5
add eax, 0x24
add eax, edx
mov dword [esp + 0x38], eax
and word [eax + 0x14], cx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [edx]
test eax, eax
je 0x1009e07c
cmp dword [eax], edi
jne 0x1009e0bd
push dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
push dword [esp + 0x20]
push ebp
call fcn.100f189b
test eax, eax
js 0x1009e6fc
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x354], edi
je 0x1009e0c3
mov ebx, dword [edx + 0x458]
test ebx, ebx
je 0x1009e0c3
lea ecx, [edx + 0x468]
jmp 0x1009e0cf
mov ebp, dword [esp + 0x14]
jmp 0x1009e09a
mov ebx, dword [edx + 0x454]
lea ecx, [edx + 0x464]
mov dword [esp + 0x20], ecx
cmp dword [ecx], edi
jne 0x1009e186
movzx eax, word [edx + 0xc]
test al, 2
je 0x1009e123
test al, 4
mov eax, dword [esp + 0x28]
je 0x1009e127
test dword [eax + 4], 0x100
jne 0x1009e127
xor eax, eax
inc eax
push edi
push eax
push ebp
mov dword [esp + 0x60], eax
call fcn.100dbd94
push dword [esp + 0x24]
push dword [esp + 0x20]
push ebp
call fcn.1009dae6
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push dword [eax + 0x10c]
push dword [esp + 0x358]
push ecx
push dword [esp + 0x38]
push ebp
call fcn.100debbe
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
mov eax, dword [esp + 0x20]
push ebx
push dword [eax]
push dword [esp + 0x34]
push ebp
push dword [esp + 0x38]
call fcn.100df78c
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
push edi
push dword [esp + 0x24]
push dword [esp + 0x34]
call fcn.100dc4e1
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x40], edi
je 0x1009e1e3
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1009e1e3
push 0xa
pop eax
sub eax, esi
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xa4]
push eax
push ebx
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x40]
push dword [esp + 0x34]
push ebp
call fcn.1009f2d6
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
xor eax, eax
lea ecx, [esp + 0x88]
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
jmp 0x1009e1ed
mov dword [esp + 0x40], edi
mov eax, edi
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x18]
lea ebx, [esp + 0xa8]
cmp dword [ebx - 8], edi
je 0x1009e22e
push eax
push dword [ebx]
lea eax, [esp + 0x68]
push dword [ebx - 4]
push eax
push dword [ecx]
push dword [esp + 0x4c]
push dword [esp + 0x34]
push ebp
call fcn.100f23d5
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e645
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add ebx, 0x10
lea eax, [ebx - 0xc]
cmp eax, edx
mov eax, dword [esp + 0x30]
jb 0x1009e1f8
push 0xa
pop ebp
mov ebx, edi
sub ebp, dword [esp + 0x50]
je 0x1009e282
push dword [esp + 0x30]
lea eax, [esp + 0x64]
push dword [esp + 0x74]
push dword [esp + 0x50]
push eax
push dword [ecx]
push dword [esp + 0x4c]
push dword [esp + 0x34]
push dword [esp + 0x30]
call fcn.100f23d5
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e641
mov ecx, dword [esp + 0x20]
inc ebx
cmp ebx, ebp
jb 0x1009e247
test byte [0x10137244], 1
je 0x1009e299
push 3
pop eax
push eax
push 0x1000ad48
call fcn.100dd619
mov ebx, dword [esp + 0x20]
xor eax, eax
mov ebp, dword [esp + 0x14]
inc eax
push eax
push dword [ebx]
push dword [esp + 0x40]
push dword [esp + 0x28]
push ebp
call fcn.100dde55
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e645
mov eax, dword [esp + 0x24]
movzx edx, word [eax + 0xc]
test dl, dl
js 0x1009e315
mov ecx, dword [eax + 0x3ec]
movsx eax, word [eax + 0x3ea]
lea esi, [ecx + eax*2]
jmp 0x1009e30d
movsx eax, word [ecx]
mov ebp, dword [esp + 0x24]
imul eax, eax, 0x18
push 3
add eax, dword [ebp + 0x10]
pop ebp
movzx eax, word [eax + 0x10]
cmp bp, ax
mov ebp, dword [esp + 0x14]
je 0x1009e33e
cmp word [esp + 0x90], ax
je 0x1009e33e
push 2
pop eax
add ecx, eax
cmp ecx, esi
jb 0x1009e2e1
mov eax, dword [esp + 0x24]
movzx eax, word [eax + 0xc]
push edi
push dword [ebx]
and eax, 0x80
push dword [esp + 0x40]
mov dword [esp + 0x54], eax
push dword [esp + 0x28]
push ebp
call fcn.100ddec7
mov esi, eax
mov dword [esp + 0x10], esi
jmp 0x1009e4d1
mov eax, dword [esp + 0x24]
or edx, 0x80
mov word [eax + 0xc], dx
jmp 0x1009e315
push edi
lea eax, [esp + 0x50]
push eax
push 0x202
lea eax, [esp + 0x148]
push eax
push dword [esp + 0x48]
push dword [esp + 0x30]
push ebp
call fcn.100f2190
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e645
mov esi, dword [esp + 0x4c]
lea ebx, [esp + 0xa4]
mov ecx, dword [esp + 0x18]
cmp dword [ebx - 4], edi
je 0x1009e4a4
cmp dword [esp + 0x48], edi
je 0x1009e3b4
lea eax, [esp + 0x13c]
push eax
push dword [ebx]
push dword [esp + 0x2c]
push dword [esp + 0x28]
call fcn.100a09e7
jmp 0x1009e3d2
cmp dword [ebx + 4], esi
jne 0x1009e3d0
push esi
lea eax, [esp + 0x140]
push eax
push dword [ebx]
call fcn.10118c5c
add esp, 0xc
test eax, eax
je 0x1009e3da
mov eax, edi
test eax, eax
je 0x1009e4a0
mov eax, dword [esp + 0x74]
movsx ebp, ax
mov eax, dword [ebx - 8]
add ebp, 2
lea ebp, [eax + ebp*4]
cmp dword [ebp], edi
je 0x1009e413
mov esi, dword [esp + 0x14]
push 4
push ebp
push dword [esp + 0x44]
push esi
call fcn.1003c6a0
test eax, eax
js 0x1009e6fc
push 2
pop eax
push eax
push dword [esp + 0x40]
push esi
jmp 0x1009e41c
push edi
push dword [esp + 0x40]
push dword [esp + 0x1c]
call fcn.1003c9e0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e641
mov ecx, dword [esp + 0x24]
movsx eax, word [ecx + 0x14]
push eax
push dword [ecx + 0x18]
mov eax, dword [esp + 0x40]
push dword [esp + 0x44]
push dword [eax + 4]
push dword [esp + 0x24]
call fcn.1009d7fe
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e62d
lea eax, [esp + 0x98]
push eax
push 4
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x48]
push dword [esp + 0x24]
call fcn.1003cfb0
mov esi, eax
mov dword [esp + 0x10], eax
test esi, esi
js 0x1009e62d
cmp dword [ebp], edi
jne 0x1009e499
mov eax, dword [esp + 0x8c]
mov dword [ebp], eax
mov esi, dword [esp + 0x4c]
mov dword [ebx - 4], edi
mov ecx, dword [esp + 0x18]
add ebx, 0x10
lea eax, [ebx - 8]
cmp eax, ecx
jb 0x1009e38c
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
push edi
push dword [ebx]
push dword [esp + 0x40]
push dword [esp + 0x28]
push ebp
call 0x1018dcae
mov esi, eax
mov dword [esp + 0x10], eax
test esi, esi
jns 0x1009e34e
cmp esi, 0xfffff9bd
jne 0x1009e645
xor esi, esi
inc esi
cmp word [esp + 0x40], si
jne 0x1009e508
push ebp
push dword [ebx]
push dword [esp + 0x34]
push esi
push dword [ebx]
call dword [0x10139148]
movzx eax, ax
push eax
call fcn.100dec36
cmp dword [esp + 0x54], edi
je 0x1009e51d
push edi
push 2
pop eax
push eax
push ebp
mov dword [esp + 0x60], edi
call fcn.100dbd94
mov eax, dword [esp + 0x18]
lea ebx, [esp + 0x9c]
cmp dword [ebx + 4], edi
je 0x1009e5a8
mov eax, dword [ebx]
mov esi, dword [esp + 0x44]
add eax, 4
push 4
push eax
push esi
push ebp
call fcn.1003c6a0
test eax, eax
js 0x1009e6fc
push 2
pop eax
push eax
push esi
push ebp
call fcn.1003c9e0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
push edi
xor eax, eax
push edi
inc eax
push eax
lea eax, [esp + 0x77]
push eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0xe0]
push dword [eax + 0x28]
push dword [esp + 0x58]
push ebp
call fcn.1003cda0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
push edi
push edi
push edi
push dword [esp + 0x50]
push ebp
call fcn.1003cfb0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
mov eax, dword [esp + 0x18]
add ebx, 0x10
cmp ebx, eax
jb 0x1009e528
jmp 0x1009e5b9
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x28]
xor esi, esi
mov eax, dword [esp + 0x34]
inc esi
add ecx, 4
mov dword [esp + 0x64], ecx
cmp ecx, edx
jae 0x1009e667
mov eax, dword [ecx]
mov dword [esp + 0x34], eax
jmp 0x1009deed
mov esi, 0x7e8
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x54], edi
je 0x1009e604
push edi
push 3
pop eax
push eax
push ebp
call fcn.100dbd94
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x1009e6fa
mov esi, dword [esp + 0x78]
mov eax, dword [esi + edi*4]
mov edx, 0xfffd
and word [eax], dx
inc edi
cmp edi, ecx
jb 0x1009e614
mov esi, dword [esp + 0x10]
jmp 0x1009e6fa
mov ebp, dword [esp + 0x14]
push 3
pop eax
push eax
push dword [esp + 0x40]
push ebp
call fcn.1003c9e0
jmp 0x1009e645
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ebp
push dword [eax]
push dword [esp + 0x34]
push dword [esp + 0x4c]
push dword [eax]
call dword [0x10139148]
movzx eax, ax
push eax
call fcn.100dec36
jmp 0x1009e5f3
mov edx, dword [esp + 0x80]
mov esi, edi
test byte [edx + 0x2c], 8
je 0x1009e6f0
lea ebx, [esp + 0x9c]
mov eax, ebx
cmp eax, dword [esp + 0x18]
jae 0x1009e6f0
mov eax, dword [ebx]
push 4
add eax, 4
push eax
push dword [esp + 0x4c]
push ebp
call fcn.1003c6a0
test eax, eax
js 0x1009e6fc
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x1c]
push 2
pop ecx
push eax
push esi
mov dword [eax + 0xc], ecx
call fcn.100a6c56
push edi
push edi
push dword [esp + 0x84]
push esi
call fcn.100a5e84
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1009e5f3
mov eax, dword [esp + 0x58]
cmp esi, 0x64a
mov dword [esp + 0x58], eax
mov esi, eax
push 1
pop eax
cmove esi, eax
add ebx, 0x10
mov dword [esp + 0x58], esi
cmp ebx, dword [esp + 0x18]
jb 0x1009e685
neg esi
sbb esi, esi
and esi, 0x64a
mov eax, esi
mov ecx, dword [esp + 0x340]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0x334
ret 0x10