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

Disassembly:
sub esp, 0x470
push ebx
push ebp
push esi
mov ebx, 8
mov esi, 2
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
call fcn.10027b10
cmp dword [0x453c0364], 0
je 0x1000f8ac
push 0x452f88f8
push 0x3ea
call fcn.100285e0
add esp, 8
mov eax, dword [0x453c0ad0]
cmp eax, 1
jne 0x1000f8bf
mov esi, 0x10
mov ebx, esi
jmp 0x1000f8cb
cmp eax, 9
jne 0x1000f8d3
mov esi, 6
mov ebx, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
imul esi, ebx
push 0x500
push esi
call fcn.1002bc60
mov edi, eax
add esp, 8
test edi, edi
jne 0x1000f913
mov eax, dword [0x45400de4]
push 0x452f88e4
push eax
push 0x452f84c8
push 0x3ea
call fcn.100285e0
push 1
push 0x453c0a80
call fcn.10027b90
add esp, 0x18
test ebx, ebx
mov dword [esp + 0x10], 0
jle 0x1000fbec
cmp dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
jle 0x1000fbd7
mov eax, dword [esp + 0x10]
shl eax, 4
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x14]
add ecx, edx
mov dword [esp + ecx*4 + 0x80], edi
mov esi, 0x452f1a88
mov dword [esp + 0x20], 0x40
nop
movsx ebx, byte [esi]
movsx eax, byte [esi + 1]
add esi, 1
movsx ecx, byte [esi + 1]
add esi, 1
movsx edx, byte [esi + 1]
add esi, 1
add esi, 1
mov dword [esp + 0x1c], ecx
movsx ecx, byte [esi]
mov dword [esp + 0x18], edx
movsx edx, byte [esi + 1]
add esi, 1
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
add eax, ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
push eax
lea eax, [ebx + edx]
add esi, 1
push eax
mov dword [0x453742f0], esi
call fcn.100028c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add ecx, edx
mov ebp, eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x1c]
add eax, ecx
push eax
call fcn.100028c0
add esp, 0x10
cmp eax, ebp
jne 0x1000faf7
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
add edx, 1
push edx
push esi
call fcn.100028c0
add esp, 8
cmp eax, ebp
jne 0x1000fa11
mov eax, dword [esp + 0x14]
push eax
add esi, 1
push esi
call fcn.100028c0
add esp, 8
cmp eax, ebp
mov esi, 2
je 0x1000fa16
mov esi, 1
mov ecx, ebx
sub ecx, dword [esp + 0x1c]
push ecx
call fcn.1002e759
add esp, 4
cmp eax, esi
jne 0x1000fa42
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x18]
push edx
call fcn.1002e759
add esp, 4
cmp eax, esi
je 0x1000faf1
movzx eax, word [0x453c09c0]
imul eax, ebx
add eax, dword [esp + 0x34]
add edi, 4
lea ecx, [ebp + eax*4]
mov dword [edi - 4], ecx
movzx edx, word [0x453c09c0]
imul edx, dword [esp + 0x1c]
add edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
lea eax, [ebp + edx*4]
mov dword [edi], eax
mov al, byte [esp + 0x30]
add edi, 4
mov dword [edi], ecx
add edi, 4
test al, 1
je 0x1000fa8d
mov dword [edi], 0
add edi, 4
test al, 2
je 0x1000fa9a
mov dword [edi], 1
add edi, 4
test al, 4
je 0x1000faa7
mov dword [edi], 2
add edi, 4
test al, 8
je 0x1000fab4
mov dword [edi], 3
add edi, 4
test al, 0x10
je 0x1000fac1
mov dword [edi], 4
add edi, 4
test al, 0x20
je 0x1000face
mov dword [edi], 5
add edi, 4
test al, 0x40
je 0x1000fadb
mov dword [edi], 6
add edi, 4
test al, al
jns 0x1000fae8
mov dword [edi], 7
add edi, 4
mov dword [edi], 0xffffffff
add edi, 4
mov esi, dword [0x453742f0]
sub dword [esp + 0x20], 1
jne 0x1000f960
mov dword [edi], 0x7fffffff
add edi, 4
mov ebx, 0x452f1c08
mov dword [esp + 0x20], 8
jmp 0x1000fb20
movsx esi, byte [ebx]
movzx edx, word [0x453c09c0]
movsx ebp, byte [ebx + 1]
imul edx, esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add ebx, 1
add edx, ebp
add edx, edx
add edx, edx
push eax
mov dword [edi], edx
push ecx
add ebx, 1
add edi, 4
call fcn.100028c0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [edx + ebp]
push eax
lea edx, [esi + ecx]
push edx
call fcn.100028c0
add esp, 0x10
cmp eax, dword [esp + 0x18]
je 0x1000fba8
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [eax + ebp*2]
push ecx
lea eax, [edx + esi*2]
push eax
call fcn.100028c0
add esp, 8
cmp eax, dword [esp + 0x18]
jne 0x1000fba8
movzx ecx, word [0x453c09c0]
mov edx, dword [esp + 0x18]
imul ecx, esi
add ecx, ebp
lea eax, [edx + ecx*8]
mov dword [edi], eax
jmp 0x1000fbae
mov dword [edi], 0
add edi, 4
sub dword [esp + 0x20], 1
jne 0x1000fb20
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [0x453742f0], ebx
mov dword [esp + 0x14], eax
jl 0x1000f941
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
jl 0x1000f923
movzx eax, word [0x453c09c0]
lea ecx, [eax + eax*2]
push 8
push ecx
call fcn.1002bc60
mov ebx, eax
add esp, 8
test ebx, ebx
mov dword [esp + 0x48], ebx
jne 0x1000fc35
mov edx, dword [0x45400de4]
push 0x452f88e4
push edx
push 0x452f84c8
push 0x3ea
call fcn.100285e0
push 1
push 0x453c0a80
call fcn.10027b90
add esp, 0x18
movzx eax, word [0x453c09c0]
lea ecx, [ebx + eax*8]
shl eax, 4
add eax, ebx
mov dword [esp + 0x40], eax
movzx eax, word [0x45400ee6]
mov edx, 2
sub eax, edx
cmp eax, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], edx
jle 0x1000ff15
lea ebx, [ebx]
movzx ecx, word [0x453c09c0]
lea edx, [ecx - 2]
cmp edx, 2
mov dword [esp + 0x14], 2
jle 0x1000fea5
mov eax, dword [esp + 0x10]
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x40]
shl edx, 4
add eax, 0x10
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], eax
jmp 0x1000fcb0
imul ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [0x45400e88]
add ecx, eax
lea edi, [edx + ecx*8]
cdq
idiv dword [esp + 0x24]
xor eax, eax
mov ecx, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], ecx
add edx, dword [esp + 0x30]
mov esi, dword [esp + edx*4 + 0x80]
mov eax, dword [esi]
cmp eax, 0x7fffffff
je 0x1000fd64
mov ecx, dword [esi + 4]
movzx edx, word [edi + ecx*2]
movzx ecx, word [edi + eax*2]
sub ecx, edx
mov edx, ecx
sar edx, 0x1f
mov eax, edx
xor eax, ecx
mov ecx, dword [esi + 8]
sub eax, edx
shl eax, cl
mov ecx, dword [esi + 0xc]
lea ecx, [esp + ecx*4 + 0x60]
add esi, 0x14
add dword [ecx], eax
mov ecx, dword [esi - 4]
cmp ecx, 0xffffffff
je 0x1000fd57
add dword [esp + ecx*4 + 0x60], eax
lea ecx, [esp + ecx*4 + 0x60]
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x1000fd54
add dword [esp + ecx*4 + 0x60], eax
lea ecx, [esp + ecx*4 + 0x60]
mov ecx, dword [esi + 4]
add esi, 4
cmp ecx, 0xffffffff
jne 0x1000fd41
add esi, 4
mov eax, dword [esi]
cmp eax, 0x7fffffff
jne 0x1000fd01
mov ecx, dword [esp + 0x60]
add esi, 4
mov eax, ecx
mov ebx, 1
mov edi, edi
mov edx, dword [esp + ebx*4 + 0x60]
cmp ecx, edx
jle 0x1000fd7a
mov ecx, edx
cmp eax, edx
jge 0x1000fd80
mov eax, edx
add ebx, 1
cmp ebx, 8
jl 0x1000fd70
test eax, eax
jne 0x1000fd9f
mov ecx, dword [edi]
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
jmp 0x1000fe83
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
push ecx
mov dword [esp + 0x58], eax
push edx
mov dword [esp + 0x60], eax
call fcn.100028c0
mov ebx, dword [0x453c05a0]
add esp, 8
xor edx, edx
mov ebp, eax
mov dword [esp + 0x18], edx
lea esp, [esp]
mov eax, dword [esp + edx*4 + 0x60]
cmp eax, dword [esp + 0x2c]
jg 0x1000fe27
xor eax, eax
test ebx, ebx
jbe 0x1000fe22
cmp eax, ebp
jne 0x1000fe0f
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000fe0f
movzx ecx, word [edi + ecx*2]
movzx ebx, word [edi + eax*2]
add ecx, ebx
mov ebx, dword [0x453c05a0]
sar ecx, 1
jmp 0x1000fe17
mov ecx, dword [esi]
add ecx, eax
movzx ecx, word [edi + ecx*2]
add dword [esp + eax*4 + 0x4c], ecx
add eax, 1
cmp eax, ebx
jb 0x1000fdf0
add dword [esp + 0x18], 1
add edx, 1
add esi, 8
cmp edx, 8
jl 0x1000fde0
xor ecx, ecx
test ebx, ebx
jbe 0x1000fe83
mov ebx, dword [esp + 0x1c]
lea esp, [esp]
cmp ecx, ebp
movzx esi, word [edi + ebp*2]
je 0x1000fe57
mov eax, dword [esp + ecx*4 + 0x4c]
sub eax, dword [esp + ebp*4 + 0x4c]
cdq
idiv dword [esp + 0x18]
add esi, eax
cmp esi, 0xffff
jge 0x1000fe6d
xor eax, eax
test esi, esi
setl al
sub eax, 1
and eax, esi
jmp 0x1000fe72
mov eax, 0xffff
mov word [ebx], ax
add ecx, 1
add ebx, 2
cmp ecx, dword [0x453c05a0]
jb 0x1000fe40
movzx ecx, word [0x453c09c0]
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 8
add eax, 1
lea edx, [ecx - 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jl 0x1000fcb0
mov edx, dword [esp + 0x10]
cmp edx, 3
jle 0x1000fee0
movzx eax, word [0x453c09c0]
mov esi, dword [esp + 0x38]
lea edi, [edx - 2]
imul edi, eax
lea ecx, [eax*8 - 0x20]
mov eax, dword [0x45400e88]
lea edi, [eax + edi*8 + 0x10]
mov eax, ecx
shr ecx, 2
add esi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x40], eax
movzx eax, word [0x45400ee6]
add edx, 1
sub eax, 2
cmp edx, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], edx
jl 0x1000fc70
mov ebx, dword [esp + 0x48]
movzx eax, word [0x453c09c0]
mov esi, dword [esp + 0x38]
lea edi, [edx - 2]
imul edi, eax
lea ecx, [eax*8 - 0x20]
mov eax, dword [0x45400e88]
lea edi, [eax + edi*8 + 0x10]
mov eax, ecx
shr ecx, 2
add esi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx eax, word [0x453c09c0]
mov esi, dword [esp + 0x3c]
add edx, 0xffffffff
imul edx, eax
lea ecx, [eax*8 - 0x20]
mov eax, dword [0x45400e88]
lea edi, [eax + edx*8 + 0x10]
mov edx, ecx
shr ecx, 2
add esi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.1002bb90
mov eax, dword [esp + 0x84]
push eax
call fcn.1002bb90
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret
mov eax, dword [0x453c05a0]
mov ecx, dword [0x453c0ad0]
movzx edx, word [0x45400ee6]
push 0xffff
push eax
movzx eax, word [0x453c09c0]
push ecx
mov ecx, dword [0x45400e88]
push edx
push eax
push ecx
call fcn.10027830
add esp, 0x18
test eax, eax
jne 0x10027b8a
jmp 0x1000f870
ret