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

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
push edi
mov esi, dword [ebx + 8]
test esi, esi
jne 0x1002d57e
cmp dword [ebx + 0x78], esi
jne 0x1002d573
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x1002d573
mov byte [ebx + 0x17], 1
push ebx
call fcn.1007aff0
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x28]
dec dword [ebx + 0x38]
dec eax
cmp dword [esp + 0x48], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x10], eax
jge 0x1002d5ac
push eax
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + 0x18]
push eax
push 0x31
push esi
call fcn.1007a9c0
add esp, 0x10
mov ecx, dword [esp + 0x3c]
xor ebp, ebp
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x18], edi
test edi, edi
jle 0x1002d638
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
movzx eax, word [eax + ebp*4]
push eax
push dword [ecx]
call fcn.10076530
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x1002d5f5
push 0
push edi
push edx
push 0x32
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002d620
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x3c]
inc ebp
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x18], ebx
cmp ebp, ebx
jl 0x1002d5c1
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x4c], 0
jne 0x1002dbb4
mov ebp, dword [esp + 0x38]
test ebp, ebp
jne 0x1002d86d
mov al, byte [ebx + 0x13]
test al, al
jne 0x1002d65e
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
jmp 0x1002d66d
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x9c]
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
push eax
push dword [ecx]
call fcn.10076530
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x1002d6a0
push 0
push edi
push edx
push 0x51
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002d6cb
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x70], edx
jg 0x1002d6ed
push 0
push 0
push edi
push 0xd
push esi
call fcn.10031c40
add esp, 0x14
mov dword [esp + 0x2c], eax
jmp 0x1002d71c
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
cmp ecx, dword [eax]
jne 0x1002d75b
cmp dword [esp + 0x48], 1
jne 0x1002d75b
push edi
push ebp
push dword [esp + 0x4c]
push 0x35
push esi
call fcn.1007aa20
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x1002d75b
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
push 0x70
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x20]
push ebx
call fcn.10066550
mov ecx, dword [esi + 0x6c]
add esp, 0x14
cmp dword [esi + 0x70], ecx
jg 0x1002d78e
push edi
push 0
push dword [esp + 0x1c]
push 0x1f
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002d7bd
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1002d7d7
push 0
push ebp
push 0
push 9
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002d806
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1002d818
mov eax, 0x100bdf38
jmp 0x1002d824
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
add eax, 0xffffffe0
mov dword [eax], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x1002d838
mov eax, 0x100bdf30
jmp 0x1002d845
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test edi, edi
je 0x1002dbb8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x1002dbb8
movzx eax, al
mov dword [ebx + eax*4 + 0x9c], edi
inc byte [ebx + 0x13]
jmp 0x1002dbb8
push edi
push ebx
call fcn.10061100
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, dword [ebp + 0x2c]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x70], ecx
jg 0x1002d89c
push dword [esp + 0x30]
push edx
push dword [esp + 0x1c]
push 0x70
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002d8cc
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], eax
push dword [esp + 0x38]
mov ebp, dword [ebx + 8]
push ebx
call fcn.100649a0
mov edx, eax
add esp, 8
test edx, edx
je 0x1002d919
mov eax, dword [ebp]
cmp byte [eax + 0x57], 0
je 0x1002d907
cmp dword [eax + 0x210], 0
jne 0x1002d919
add dword [edx], 0xffffffff
jne 0x1002d919
push edx
push dword [edx + 0xc]
call fcn.10053e60
add esp, 8
jmp 0x1002d919
mov eax, dword [ebp + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
test edi, edi
jle 0x1002d994
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
mov eax, dword [esp + 0x40]
movzx eax, word [eax + ebx*4]
push eax
mov eax, dword [esp + 0x40]
push dword [eax]
call fcn.10076530
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esi + 0x6c]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x70], ecx
jg 0x1002d95b
push 0
push ebp
push edx
push 0x50
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002d98a
mov edi, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc ebx
inc ebp
cmp ebx, edi
jl 0x1002d923
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [eax]
jne 0x1002daf8
cmp dword [esp + 0x48], 1
jne 0x1002daf8
mov ebp, dword [esi + 0x6c]
lea eax, [ebp + 1]
add eax, edi
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x1c], eax
test edi, edi
jle 0x1002daa2
mov ebx, dword [esp + 0x3c]
nop dword [eax]
mov ecx, dword [esp + 0x40]
movzx eax, word [ecx + eax*4]
push eax
push dword [ebx]
call fcn.10076530
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
inc ecx
cwde
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
movzx edi, word [eax + ecx*2]
push edi
push dword [edx + 0xc]
call fcn.10076530
mov ecx, dword [esp + 0x54]
add esp, 0x10
cwde
lea edx, [ecx + 1]
add edx, eax
mov eax, dword [esp + 0x34]
cmp di, word [eax + 0x20]
mov edi, dword [esp + 0x20]
cmove edx, ecx
cmp dword [esi + 0x70], ebp
jg 0x1002da38
push edx
push dword [esp + 0x28]
push edi
push 0x34
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002da69
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esi + 0x6c]
test ebp, ebp
jle 0x1002da89
mov eax, dword [esi + 0x68]
lea ecx, [ebp*4]
add ecx, ebp
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ebp, dword [esi + 0x6c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edi
jl 0x1002d9d0
mov ebx, dword [esp + 0x2c]
cmp dword [esi + 0x70], ebp
jg 0x1002dabd
mov ebp, dword [esp + 0x10]
push 0
push ebp
push 0
push 9
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002dafc
lea eax, [ebp + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [esi + 0x68]
add ecx, ebp
mov ebp, dword [esp + 0x10]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1002dafc
mov ebp, dword [esp + 0x10]
push dword [esp + 0x38]
push dword [ebx]
call fcn.100624b0
mov edx, dword [esi + 0x6c]
add esp, 8
mov dword [esp + 0x24], eax
cmp dword [esi + 0x70], edx
jg 0x1002db2c
push 0
push edi
push dword [esp + 0x54]
push 0x60
push esi
call fcn.10031c40
add esp, 0x14
mov edx, eax
jmp 0x1002db5f
mov ebx, dword [esp + 0x4c]
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push edi
push dword [esp + 0x28]
push edx
push esi
call fcn.1007ae80
push edi
push dword [esp + 0x60]
push ebp
push dword [esp + 0x30]
push 0x1d
push esi
call fcn.1007ab00
add esp, 0x28
cmp edi, 1
jne 0x1002dba3
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x1002dbb8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x1002dbb8
movzx eax, al
mov dword [ebx + eax*4 + 0x9c], ecx
inc byte [ebx + 0x13]
jmp 0x1002dbb8
cmp edi, dword [ebx + 0x1c]
jle 0x1002dbb8
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], eax
jmp 0x1002dbb8
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dl, byte [ecx + 0x18]
test dl, dl
jne 0x1002dc37
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x1002dc37
cmp dword [ebx + 0x78], eax
jne 0x1002dc37
cmp byte [ebx + 0x14], al
jne 0x1002dc37
mov edi, dword [ebx + 8]
test edi, edi
jne 0x1002dbfa
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x1002dbef
mov byte [ebx + 0x17], 1
push ebx
call fcn.1007aff0
add esp, 4
mov edi, eax
mov ecx, dword [ebx + 0x78]
test ecx, ecx
push 0xffffffffffffffff
push 0
push 0
push 2
cmovne ebx, ecx
push 0x313
push 0x46
push edi
mov byte [ebx + 0x15], 1
call fcn.1007aa80
mov eax, dword [edi + 0x6c]
add esp, 0x1c
test eax, eax
jle 0x1002dc9a
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x1002dc9a
mov edi, dword [esp + 0x48]
test edi, edi
jle 0x1002dc4f
test dl, dl
jne 0x1002dc4f
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ebx, eax
mov byte [ebx + 0x15], 1
movzx edx, byte [ecx + 0x18]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1002dc6f
push 0
push edi
push edx
push 0x9e
push esi
call fcn.10031c40
add esp, 0x14
jmp 0x1002dc9a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x9e
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1002dcb4
push ebp
push esi
push ecx
call fcn.100430f0
add esp, 0xc
jmp 0x1002dcbd
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebp*4], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1002dce0
push 0
push 0
push dword [esp + 0x1c]
push 0x7a
push esi
call fcn.10031c40
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop ebx
add esp, 0x18
ret