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

Disassembly:
mov eax, 0x54
call fcn.1010be30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
mov eax, dword [esi + 8]
push edi
xor edi, edi
xor ebp, ebp
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], edi
call fcn.1005fe70
mov ebx, dword [esp + 0x78]
add esp, 4
test eax, eax
jne 0x1009c8f2
mov ecx, dword [esi + 0xc]
push ecx
call fcn.1005fe70
add esp, 4
test eax, eax
jne 0x1009c8f2
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x70]
cmp edx, ecx
je 0x1009c8b9
cmp edx, edi
je 0x1009c8bd
cmp ebx, edi
jne 0x1009c8b9
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x6c]
push eax
push edi
push edx
push ecx
push esi
call fcn.1009c1f0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp edx, edi
jne 0x1009c8fe
cmp ebx, 1
jne 0x1009c8f6
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
cmp eax, ecx
je 0x1009c8f6
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
push ecx
mov ecx, dword [edx]
mov edx, dword [esp + 0x70]
push ecx
push eax
push edx
push esi
call fcn.1009c1f0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esp + 0x70]
cmp edx, edi
je 0x1009c9b1
push esi
call fcn.100d3300
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, edi
jne 0x1009c920
push 0x1cf
push 0x101530b8
push 0x71
jmp 0x1009d172
mov ebp, dword [esi + 0x64]
mov dword [esp + 0x3c], ebp
cmp ebp, edi
je 0x1009c99e
cmp dword [ebp + 8], edi
je 0x1009c99e
mov ecx, dword [esp + 0x80]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edx]
push ecx
push eax
push esi
call fcn.1006e610
add esp, 0x10
test eax, eax
jne 0x1009c99e
mov edx, dword [esp + 0x70]
mov esi, dword [ebp + 4]
push edx
mov dword [esp + 0x48], esi
call fcn.10060050
xor edx, edx
div esi
add esp, 4
mov ecx, eax
mov eax, dword [ebp + 8]
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jbe 0x1009c976
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0xc]
dec ecx
mov edx, 1
shl edx, cl
imul eax, edx
mov dword [esp + 0x54], edx
cmp dword [ebp + 0x14], eax
je 0x1009c9b1
push 0x1eb
push 0x101530b8
push 0x44
jmp 0x1009d172
mov eax, 1
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add eax, ebx
push 0x1f9
lea esi, [eax*4]
push 0x101530b8
push esi
mov dword [esp + 0x28], eax
call fcn.1005cce0
push 0x1fa
mov edi, eax
push 0x101530b8
push esi
mov dword [esp + 0x4c], edi
call fcn.1005cce0
push 0x1fc
lea ecx, [esi + 4]
push 0x101530b8
push ecx
mov dword [esp + 0x44], eax
call fcn.1005cce0
push 0x1fd
push 0x101530b8
push esi
mov dword [esp + 0x40], eax
call fcn.1005cce0
add esp, 0x30
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
je 0x1009ca2b
mov edx, dword [esp + 0x10]
mov dword [edx], 0
xor ecx, ecx
cmp edi, ecx
je 0x1009d166
cmp dword [esp + 0x20], ecx
je 0x1009d166
cmp dword [esp + 0x10], ecx
je 0x1009d166
cmp dword [esp + 0x14], ecx
je 0x1009d166
mov eax, dword [esp + 0x38]
add eax, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], eax
cmp eax, ecx
jbe 0x1009cb5f
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x10]
sub eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
sub ebp, edi
sub eax, edi
mov esi, edi
mov dword [esp + 0x60], eax
lea esp, [esp]
mov edi, dword [esp + 0x18]
cmp edi, ebx
jae 0x1009caa2
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + esi]
push edx
jmp 0x1009caa7
mov eax, dword [esp + 0x70]
push eax
call fcn.10060050
add esp, 4
cmp eax, 0x7d0
jb 0x1009cabd
mov eax, 6
jmp 0x1009caed
cmp eax, 0x320
jb 0x1009cacb
mov eax, 5
jmp 0x1009caed
cmp eax, 0x12c
jb 0x1009cad9
mov eax, 4
jmp 0x1009caed
cmp eax, 0x46
jb 0x1009cae5
mov eax, 3
jmp 0x1009caed
cmp eax, 0x14
sbb eax, eax
add eax, 2
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov dword [esi], eax
mov dword [esi + ebp + 4], 0
add dword [esp + 0x30], edx
cmp edi, ebx
jae 0x1009cb12
mov eax, dword [esp + 0x40]
mov eax, dword [eax + esi]
jmp 0x1009cb16
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esi]
lea edi, [ecx + esi]
push edi
push edx
push eax
call fcn.1009f9c0
add esp, 0xc
mov dword [esi + ebp], eax
test eax, eax
je 0x1009d181
mov edi, dword [edi]
cmp edi, dword [esp + 0x28]
jbe 0x1009cb41
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x18]
inc eax
add esi, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jb 0x1009ca90
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x24], 0
je 0x1009cd3e
test ebp, ebp
jne 0x1009cb8a
cmp dword [esp + 0x38], 1
je 0x1009cd3e
push 0x222
push 0x101530b8
push 0x44
jmp 0x1009d172
cmp dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
je 0x1009cbaa
push 0x22b
push 0x101530b8
push 0x44
jmp 0x1009d172
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x40]
push ecx
push eax
push edx
mov dword [edi + ebx*4], eax
call fcn.1009f9c0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x38], esi
test esi, esi
je 0x1009d181
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x28]
ja 0x1009cc07
mov edx, dword [esp + 0x20]
lea eax, [ebx + 1]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [eax + ebx*4], esi
mov dword [eax + ebx*4 + 4], 0
mov dword [edx + ebx*4], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*4], eax
jmp 0x1009cd3e
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x44]
imul eax, edi
cmp ecx, eax
jae 0x1009cc59
xor edx, edx
lea eax, [ecx + edi - 1]
div edi
cmp eax, dword [ebp + 8]
jbe 0x1009cc53
push 0x256
push 0x101530b8
push 0x44
push 0xbb
push 0x10
call fcn.10054050
push 0x257
push 0x101530b8
push esi
call fcn.1005cd90
add esp, 0x20
jmp 0x1009d181
add eax, ebx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x3c]
mov edi, dword [edx + 0x10]
mov dword [esp + 0x24], esi
cmp ebx, dword [esp + 0x1c]
jae 0x1009cd2b
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mov edx, ebx
lea esi, [eax + edx*4]
mov edx, dword [esp + 0x14]
sub ebp, eax
sub edx, eax
mov dword [esp + 0x60], edx
jmp 0x1009cc94
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
dec eax
cmp ebx, eax
jae 0x1009ccb3
mov eax, dword [esp + 0x44]
mov dword [esi], eax
cmp ecx, eax
jb 0x1009cd72
sub ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x1009ccb5
mov dword [esi], ecx
push 0x272
mov dword [esi + ebp + 4], 0
mov eax, dword [esi]
push 0x101530b8
push eax
call fcn.1005cce0
add esp, 0xc
mov dword [esi + ebp], eax
test eax, eax
je 0x1009cda6
mov ecx, dword [esi]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
call fcn.10109740
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x28]
jbe 0x1009ccfa
mov dword [esp + 0x28], eax
cmp dword [edi], 0
je 0x1009cdda
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x54]
add dword [esp + 0x24], edx
mov dword [eax + esi], edi
inc ebx
add esi, 4
lea edi, [edi + ecx*4]
cmp ebx, dword [esp + 0x1c]
jb 0x1009cc90
mov esi, dword [esp + 0x38]
push 0x285
push 0x101530b8
push esi
call fcn.1005cd90
add esp, 0xc
mov eax, dword [esp + 0x30]
push 0x28f
lea ecx, [eax*4 + 4]
push 0x101530b8
push ecx
call fcn.1005cce0
add esp, 0xc
mov dword [esp + 0x50], eax
test eax, eax
jne 0x1009ce0e
push 0x291
jmp 0x1009d16b
push 0x265
push 0x101530b8
push 0x44
push 0xbb
push 0x10
call fcn.10054050
mov eax, dword [esp + 0x4c]
push 0x266
push 0x101530b8
push eax
call fcn.1005cd90
add esp, 0x20
jmp 0x1009d181
push 0x274
push 0x101530b8
push 0x41
push 0xbb
push 0x10
call fcn.10054050
mov ecx, dword [esp + 0x4c]
push 0x275
push 0x101530b8
push ecx
call fcn.1005cd90
add esp, 0x20
jmp 0x1009d181
push 0x27d
push 0x101530b8
push 0x44
push 0xbb
push 0x10
call fcn.10054050
mov edx, dword [esp + 0x4c]
push 0x27e
push 0x101530b8
push edx
call fcn.1005cd90
add esp, 0x20
jmp 0x1009d181
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
lea eax, [edi + edx*4]
xor ebp, ebp
mov dword [esp + 0x54], eax
mov dword [eax], 0
cmp dword [esp + 0x2c], ebp
jbe 0x1009ce8e
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
sub eax, esi
mov dword [esp + 0x60], eax
lea esp, [esp]
mov dword [eax + esi], edi
mov ecx, dword [esi]
dec ecx
mov edx, 1
shl edx, cl
xor ebx, ebx
test edx, edx
jbe 0x1009ce80
mov eax, dword [esp + 0x68]
push eax
call fcn.1006e0c0
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x1009d181
mov ecx, dword [esi]
dec ecx
mov edx, 1
shl edx, cl
inc ebx
add edi, 4
cmp ebx, edx
jb 0x1009ce53
mov eax, dword [esp + 0x60]
inc ebp
add esi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x1009ce40
mov eax, dword [esp + 0x54]
cmp edi, eax
je 0x1009cea3
push 0x2a2
push 0x101530b8
push 0x44
jmp 0x1009d172
mov eax, dword [esp + 0x68]
push eax
call fcn.1006e0c0
add esp, 4
mov dword [esp + 0x4c], eax
test eax, eax
je 0x1009d181
xor ebp, ebp
cmp dword [esp + 0x2c], ebp
jbe 0x1009cf93
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x34]
sub edi, esi
mov dword [esp + 0x60], edi
sub ebx, esi
lea esp, [esp]
mov edx, dword [esi]
mov eax, dword [edx]
cmp ebp, dword [esp + 0x74]
jae 0x1009ceef
mov ecx, dword [edi + esi]
jmp 0x1009cef3
mov ecx, dword [esp + 0x58]
push ecx
push eax
call fcn.1006e1f0
add esp, 8
test eax, eax
je 0x1009d181
cmp dword [ebx + esi], 1
jbe 0x1009cf85
mov edx, dword [esi]
mov ecx, dword [esp + 0x80]
mov eax, dword [edx]
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x50]
push eax
push ecx
push edx
call fcn.1006e400
add esp, 0x10
test eax, eax
je 0x1009d181
mov ecx, dword [ebx + esi]
mov edi, 1
dec ecx
mov eax, edi
shl eax, cl
cmp eax, edi
jbe 0x1009cf81
mov ecx, dword [esi]
mov edx, dword [esp + 0x80]
lea eax, [ecx + edi*4]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [eax - 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.1006e350
add esp, 0x14
test eax, eax
je 0x1009d181
mov ecx, dword [ebx + esi]
dec ecx
mov edx, 1
shl edx, cl
inc edi
cmp edi, edx
jb 0x1009cf43
mov edi, dword [esp + 0x60]
inc ebp
add esi, 4
cmp ebp, dword [esp + 0x2c]
jb 0x1009cee0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
call fcn.1006e730
add esp, 0x10
test eax, eax
je 0x1009d181
mov ebp, dword [esp + 0x28]
add ebp, 0xffffffff
mov ebx, dword [esp + 0x6c]
mov esi, 1
mov dword [esp + 0x44], esi
js 0x1009d11a
test esi, esi
jne 0x1009cff7
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
push ecx
push ebx
push ebx
push edx
call fcn.1006e400
add esp, 0x10
test eax, eax
je 0x1009d181
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
jbe 0x1009d10d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
sub ecx, eax
sub eax, edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x60], eax
jmp 0x1009d02c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
add eax, edi
cmp dword [eax + ecx], ebp
jbe 0x1009d0f3
mov eax, dword [eax]
movsx esi, byte [eax + ebp]
test esi, esi
je 0x1009d0f3
xor eax, eax
test esi, esi
setl al
test eax, eax
je 0x1009d052
neg esi
cmp eax, dword [esp + 0x48]
je 0x1009d08a
cmp dword [esp + 0x44], 0
jne 0x1009d07d
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
push ecx
push ebx
push edx
call fcn.1006e4a0
add esp, 0xc
test eax, eax
je 0x1009d181
xor eax, eax
cmp dword [esp + 0x48], eax
sete al
mov dword [esp + 0x48], eax
sar esi, 1
cmp dword [esp + 0x44], 0
je 0x1009d0ce
mov ecx, dword [edi]
mov edx, dword [ecx + esi*4]
push edx
push ebx
call fcn.1006e1f0
add esp, 8
test eax, eax
je 0x1009d181
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
push eax
push ebx
push ecx
call fcn.1006eae0
add esp, 0xc
test eax, eax
je 0x1009d12a
mov dword [esp + 0x44], 0
jmp 0x1009d0f3
mov edx, dword [esp + 0x80]
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push ebx
push ebx
push edx
call fcn.1006e350
add esp, 0x14
test eax, eax
je 0x1009d181
mov eax, dword [esp + 0x18]
inc eax
add edi, 4
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x1009d024
mov esi, dword [esp + 0x44]
sub ebp, 1
jns 0x1009cfd4
test esi, esi
je 0x1009d13b
mov eax, dword [esp + 0x68]
push ebx
push eax
call fcn.1006e270
add esp, 8
jmp 0x1009d158
push 0x2f1
push 0x101530b8
push 0xa3
jmp 0x1009d172
cmp dword [esp + 0x48], 0
je 0x1009d15c
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x68]
push ecx
push ebx
push edx
call fcn.1006e4a0
add esp, 0xc
test eax, eax
je 0x1009d181
mov dword [esp + 0x5c], 1
jmp 0x1009d181
push 0x204
push 0x101530b8
push 0x41
push 0xbb
push 0x10
call fcn.10054050
add esp, 0x14
mov eax, dword [esp + 0x4c]
push eax
call fcn.1006e180
mov ecx, dword [esp + 0x38]
push 0x30d
push 0x101530b8
push ecx
call fcn.1005cd90
mov edx, dword [esp + 0x30]
push 0x30e
push 0x101530b8
push edx
call fcn.1005cd90
mov edi, dword [esp + 0x2c]
add esp, 0x1c
test edi, edi
je 0x1009d200
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x1009d1ed
jmp 0x1009d1d0
push 0x313
push 0x101530b8
push eax
call fcn.1005cd90
mov eax, dword [esi + 4]
add esi, 4
add esp, 0xc
test eax, eax
jne 0x1009d1d0
push 0x315
push 0x101530b8
push edi
call fcn.1005cd90
add esp, 0xc
mov edi, dword [esp + 0x50]
test edi, edi
je 0x1009d236
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x1009d223
push eax
call fcn.1006e1b0
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x1009d210
push 0x31b
push 0x101530b8
push edi
call fcn.1005cd90
add esp, 0xc
mov eax, dword [esp + 0x14]
push 0x31d
push 0x101530b8
push eax
call fcn.1005cd90
mov eax, dword [esp + 0x68]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret