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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4578d0
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x4578d0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4578d0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4578d0
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov dword [ebx + 0x14], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x18]
cmp eax, 0
jl 0x457898
jne 0x45789d
mov dword [ebx + 4], 0x71
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045de1c
mov dword [esi + 0x30], eax
mov dword [ebx + 0x28], 0
mov dword [esp], ebx
call fcn.0045d144
mov eax, dword [ebx + 0x2c]
shl eax, 1
mov dword [ebx + 0x3c], eax
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x4c]
mov word [edx + eax*2 - 2], 0
lea ecx, [eax + eax - 2]
xor eax, eax
mov edi, edx
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x84]
lea edx, [eax + eax*2]
shl edx, 2
lea eax, [edx + 0x59d7e0]
movzx ecx, word [edx + 0x59d7e2]
mov dword [ebx + 0x80], ecx
movzx edx, word [edx + 0x59d7e0]
mov dword [ebx + 0x8c], edx
movzx edx, word [eax + 4]
mov dword [ebx + 0x90], edx
movzx eax, word [eax + 6]
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 2
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x48], 0
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
neg eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 4], 0x2a
cmp eax, 2
jne 0x4577d1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045e0fc
jmp 0x4577ed
mov eax, 0xfffffffe
jmp 0x45788e
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
test eax, eax
je 0x459064
cmp byte [eax], 0x31
jne 0x459064
cmp edx, 0x38
jne 0x459064
test esi, esi
je 0x45903c
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x45907c
mov eax, dword [esi + 0x24]
test eax, eax
je 0x459098
cmp ebp, 0xffffffff
je 0x45904c
test ecx, ecx
js 0x459059
cmp ecx, 0xf
jg 0x45902c
mov edx, 1
lea eax, [edi - 1]
cmp eax, 8
ja 0x45903c
cmp ebx, 8
jne 0x45903c
cmp ecx, 7
jle 0x45903c
cmp ecx, 0xf
jg 0x45903c
test ebp, ebp
js 0x45903c
cmp ebp, 9
jg 0x45903c
mov ebx, dword [esp + 0x18]
test ebx, ebx
js 0x45903c
cmp dword [esp + 0x18], 4
jg 0x45903c
cmp ecx, 8
je 0x459074
mov dword [esp + 8], 0x16c0
mov dword [esp + 4], 1
mov eax, dword [esi + 0x28]
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
call dword [esi + 0x20]
mov ebx, eax
test eax, eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
je 0x4590c8
mov dword [esi + 0x1c], eax
mov dword [eax], esi
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], ecx
mov eax, 1
shl eax, cl
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x2c], eax
dec eax
mov dword [ebx + 0x34], eax
lea ecx, [edi + 7]
mov dword [ebx + 0x50], ecx
mov eax, 1
shl eax, cl
mov ecx, eax
mov dword [ebx + 0x4c], eax
dec ecx
mov dword [ebx + 0x54], ecx
lea eax, [edi + 9]
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
mov dword [ebx + 0x58], edx
mov dword [esp + 8], 2
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call dword [esi + 0x20]
mov dword [ebx + 0x38], eax
mov dword [esp + 8], 2
mov eax, dword [ebx + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call dword [esi + 0x20]
mov dword [ebx + 0x40], eax
mov dword [esp + 8], 2
mov eax, dword [ebx + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call dword [esi + 0x20]
mov dword [ebx + 0x44], eax
lea ecx, [edi + 6]
mov edi, 1
shl edi, cl
mov dword [ebx + 0x169c], edi
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call dword [esi + 0x20]
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x169c]
lea ecx, [edx*4]
mov dword [ebx + 0xc], ecx
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x4590a4
mov edi, dword [ebx + 0x40]
test edi, edi
je 0x4590a4
mov ecx, dword [ebx + 0x44]
test ecx, ecx
je 0x4590a4
test eax, eax
je 0x4590a4
mov ecx, edx
and ecx, 0xfffffffe
add ecx, eax
mov dword [ebx + 0x16a4], ecx
lea edx, [edx + edx*2]
add eax, edx
mov dword [ebx + 0x1698], eax
mov dword [ebx + 0x84], ebp
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x88], eax
mov byte [ebx + 0x24], 8
mov dword [esp + 0x40], esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x45775c
sub ecx, 0x10
mov edx, 2
jmp 0x458e69
mov eax, 0xfffffffe
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, 6
test ecx, ecx
jns 0x458e5b
neg ecx
xor edx, edx
jmp 0x458e69
mov eax, 0xfffffffa
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov cl, 9
jmp 0x458ec1
mov dword [esi + 0x20], 0x45ddf8
mov dword [esi + 0x28], 0
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x458e4a
lea esi, [esi]
mov dword [esi + 0x24], 0x45de0c
jmp 0x458e4a
mov dword [ebx + 4], 0x29a
mov eax, dword [0x59ee58]
mov dword [esi + 0x18], eax
mov dword [esp], esi
call fcn.00458d08
mov eax, 0xfffffffc
jmp 0x459041
mov eax, 0xfffffffc
jmp 0x459041