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

Disassembly:
push 0xffffffffffffffff
push 0x4656b9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481670]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x18], edi
mov ebx, ecx
mov ecx, dword [esp + 0x90]
lea ebp, [esi + 4]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], esi
mov word [ebp], di
mov edx, dword [ebx + 0x34]
cmp edx, 3
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], 1
ja case.default.0x4588a8
jmp dword [edx*4 + 0x458b40]
push ecx
push eax
mov ecx, esi
call fcn.004570e0
cmp dword [esi + 0x14], 0
jbe 0x45890a
cmp edi, dword [esi + 0x14]
jbe 0x4588c8
call fcn.004335f3
cmp dword [esi + 0x18], 8
jb 0x4588d3
mov eax, dword [ebp]
jmp 0x4588d5
mov eax, ebp
movzx ecx, word [eax + edi*2]
mov edx, dword [ebx]
call fcn.00461d90
cmp edi, dword [esi + 0x14]
movzx ebx, ax
jbe 0x4588ed
call fcn.004335f3
cmp dword [esi + 0x18], 8
jb 0x4588f8
mov eax, dword [ebp]
jmp 0x4588fa
mov eax, ebp
mov word [eax + edi*2], bx
mov ebx, dword [esp + 0x14]
add edi, 1
cmp edi, dword [esi + 0x14]
jb 0x4588c8
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x45891b
mov edi, dword [ebp]
mov dword [esp + 0x14], edi
jmp 0x458921
mov dword [esp + 0x14], ebp
mov edi, ebp
test edi, edi
je 0x45894b
cmp ecx, 8
jb 0x45892f
mov eax, dword [ebp]
jmp 0x458931
mov eax, ebp
cmp eax, edi
ja 0x45894b
cmp ecx, 8
jb 0x45893f
mov eax, dword [ebp]
jmp 0x458941
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x458950
call fcn.004335f3
cmp esi, 0xfffffffe
je 0x458971
cmp dword [esi + 0x18], 8
jb 0x458960
mov eax, dword [ebp]
jmp 0x458962
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x458971
call fcn.004335f3
mov ecx, dword [esi + 0x18]
cmp ecx, 8
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
jb 0x458985
mov edi, dword [ebp]
jmp 0x458987
mov edi, ebp
test edi, edi
je 0x4589ae
cmp ecx, 8
jb 0x458995
mov eax, dword [ebp]
jmp 0x458997
mov eax, ebp
cmp eax, edi
ja 0x4589ae
cmp ecx, 8
jb 0x4589a5
mov eax, dword [ebp]
jmp 0x4589a7
mov eax, ebp
lea eax, [eax + edx*2]
cmp edi, eax
jbe 0x4589b3
call fcn.004335f3
cmp esi, 0xfffffffe
je 0x4589d1
cmp dword [esi + 0x18], 8
jb 0x4589c1
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x14]
lea edx, [ebp + ecx*2]
cmp edi, edx
jb 0x4589d1
call fcn.004335f3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx*2]
push edx
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.00454ec0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.00453180
cmp dword [esp + 0x38], 8
mov byte [esp + 0x80], 0
jb 0x458ad9
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004175c8
add esp, 4
jmp 0x458ad9
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.00454ec0
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 2
call fcn.00453180
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0
call fcn.00455520
movzx eax, word [ebx + 0x38]
push 0xffffffffffffffff
push eax
mov ecx, esi
call fcn.00452d70
jmp case.default.0x4588a8
push ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.00454ec0
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 3
call fcn.00453180
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 0
call fcn.00455520
cmp dword [esi + 0x14], 0
jbe 0x458acf
cmp edi, dword [esi + 0x14]
jbe 0x458ab0
call fcn.004335f3
cmp dword [esi + 0x18], 8
jb 0x458abb
mov eax, dword [ebp]
jmp 0x458abd
mov eax, ebp
mov dx, word [eax + edi*2]
cmp dx, word [ebx + 0x38]
je 0x458acf
add edi, 1
cmp edi, dword [esi + 0x14]
jb 0x458ab0
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00452d70
xor edi, edi
cmp dword [esi + 0x14], edi
jne 0x458b28
mov dword [esp + 0x38], 7
mov word [esp + 0x24], di
mov dword [esp + 0x34], 1
mov word [esp + 0x26], di
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x8c], 4
call fcn.00453180
cmp dword [esp + 0x38], 8
jb 0x458b28
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004175c8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0xc