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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [0x482188]
mov dword [ebp - 0x18], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004254ff
mov dword [esi + 4], eax
xor eax, eax
add esp, 4
xor ebx, ebx
mov dword [ebp + 8], 2
cmp dword [ebp - 0x18], eax
jle 0x459080
lea ebx, [ebx]
cmp word [edi + eax*2], 0x20
jne 0x458f59
inc eax
cmp word [edi + eax*2], 0x20
je 0x458f51
movzx ecx, word [edi + eax*2]
cmp ecx, 0x20
je 0x458f74
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x20
jne 0x458f62
mov ecx, dword [esi + 4]
inc dword [ebp + 8]
mov edx, 0x7c
mov word [ecx + ebx*2], dx
inc ebx
cmp word [edi + eax*2], 0x20
jne 0x458f93
inc eax
cmp word [edi + eax*2], 0x20
je 0x458f8b
movzx ecx, word [edi + eax*2]
cmp ecx, 0x20
je 0x458fb4
cmp cx, 0x28
je 0x458fb4
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x20
jne 0x458f9c
mov ecx, dword [esi + 4]
mov edx, 0x3b
mov word [ecx + ebx*2], dx
mov ecx, 1
add ebx, ecx
cmp word [edi + eax*2], 0x20
jne 0x458fd7
add eax, ecx
cmp word [edi + eax*2], 0x20
je 0x458fce
cmp word [edi + eax*2], 0x28
jne 0x458fe0
add eax, ecx
cmp word [edi + eax*2], 0x20
jne 0x458ff3
lea ecx, [ecx]
add eax, ecx
cmp word [edi + eax*2], 0x20
je 0x458fea
mov dword [ebp + 0xc], ecx
lea esp, [esp]
cmp word [edi + eax*2], 0x20
jne 0x459009
inc eax
cmp word [edi + eax*2], 0x20
je 0x459001
movzx ecx, word [edi + eax*2]
cmp ecx, 0x3b
je 0x459041
cmp cx, 0x20
jne 0x459022
mov edi, edi
inc eax
cmp word [edi + eax*2], 0x20
je 0x45901a
movzx ecx, word [edi + eax*2]
cmp ecx, 0x29
je 0x4592fb
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x3b
jne 0x459012
xor ecx, ecx
cmp word [edi + eax*2], 0x20
jne 0x459052
inc eax
cmp word [edi + eax*2], 0x20
je 0x45904a
cmp dword [ebp + 0xc], ecx
mov ecx, dword [esi + 4]
mov edx, 0xa
je 0x459064
mov edx, 0x3b
mov word [ecx + ebx*2], dx
inc ebx
cmp word [edi + eax*2], 0x3b
jne 0x459071
inc eax
cmp dword [ebp + 0xc], 1
je 0x458ffa
cmp eax, dword [ebp - 0x18]
jl 0x458f4a
cmp dword [esi + 0x24], 0
je 0x45908a
add dword [ebp + 8], 3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004254ff
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004254ff
mov dword [esi + 0xc], eax
mov dword [eax], 0x485574
mov eax, dword [esi + 0xc]
xor edi, edi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0xc]
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x10], 4
mov edx, dword [esi + 0xc]
mov dword [edx + 0x14], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x18], dx
mov ecx, dword [esi + 0xc]
xor edx, edx
mov word [ecx + 0x1a], dx
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1c], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x20], edi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x24], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], 4
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x30], edi
mov edx, dword [esi + 0xc]
mov eax, 2
mov word [edx + 0x34], ax
mov ecx, dword [esi + 0xc]
mov edx, 0x13
mov word [ecx + 0x36], dx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax], edi
mov ecx, dword [esi + 8]
add esp, 8
mov dword [ecx + 4], edi
cmp dword [esi + 0x24], edi
je 0x4592a3
mov edx, dword [esi + 0xc]
mov dword [edx + 0x38], 0x485598
mov eax, dword [esi + 0xc]
mov dword [eax + 0x40], 1
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x44], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x48], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x4c], 2
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x50], dx
mov eax, dword [esi + 0xc]
mov ecx, 3
push 0x10
mov dword [ebp + 0xc], 5
mov word [eax + 0x52], cx
call fcn.004254ff
mov edx, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x48
mov word [ecx + 4], dx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x4013
mov word [ecx + 0xc], dx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov dword [ecx], edi
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
mov dword [eax + 8], edi
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x3c], eax
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x54], 0x4855b8
mov edx, dword [esi + 0xc]
mov dword [edx + 0x58], edi
mov ecx, dword [esi + 0xc]
mov eax, 2
mov dword [ecx + 0x5c], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0x60], 1
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x64], 4
mov edx, dword [esi + 0xc]
mov dword [edx + 0x68], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x6c], dx
mov ecx, dword [esi + 0xc]
mov edx, 0x13
mov word [ecx + 0x6e], dx
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x70], 0x4855c8
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x74], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x78], 3
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x7c], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0x80], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x84], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x88], dx
mov eax, dword [esi + 0xc]
mov ecx, 0x13
mov word [eax + 0x8a], cx
mov edx, dword [esi + 8]
add esp, 4
mov dword [edx + 0x10], edi
mov eax, dword [esi + 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
cmp ebx, edi
jle 0x4594f1
mov eax, dword [ebp + 0xc]
lea edi, [eax*8]
sub edi, eax
add edi, edi
lea ecx, [eax*4]
add edi, edi
add eax, 0xfffffffe
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [ecx + eax*2]
cmp edx, 0x7c
jne 0x459306
xor edx, edx
mov word [ecx + eax*2], dx
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x4594e5
xor ecx, ecx
mov dword [ebp + 0xc], ecx
inc eax
jmp 0x459043
cmp edx, 0xa
je 0x459314
test dx, dx
jne 0x4594e5
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edi + eax], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0xc]
lea ecx, [eax + 1]
mov dword [edx + edi + 8], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 0xc], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov eax, 1
mov word [edx + edi + 0x18], ax
xor edx, edx
xor eax, eax
mov dword [ebp - 8], edx
cmp word [ecx], dx
je 0x459381
mov edx, ecx
mov edi, edi
cmp word [edx], 0x3b
jne 0x459374
cmp word [edx + 2], 0
je 0x45936c
inc dword [ebp - 8]
jmp 0x459374
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [ebp - 4]
inc eax
cmp word [ecx + eax*2], 0
lea edx, [ecx + eax*2]
jne 0x45935a
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
test eax, eax
jle 0x4593ad
cmp word [ecx + edx*2], 0x3b
je 0x459398
inc edx
cmp edx, eax
jl 0x45938a
jmp 0x4593ad
xor eax, eax
cmp word [ecx + edx*2 + 2], 0
mov word [ecx + edx*2], ax
lea eax, [ecx + edx*2 + 2]
je 0x4593ad
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
add eax, edi
lea edx, [eax + 0x1a]
push edx
add eax, 0x10
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00448bf1
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 0x14], eax
test eax, eax
je 0x4594ae
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004254ff
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp - 0xc], 0
mov dword [edx + ecx], eax
je 0x45949c
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0
mov dword [ebp - 0x14], 0
mov eax, ecx
mov dword [ebp - 0x1c], 0
je 0x459475
mov edx, ecx
mov dword [ebp - 8], ecx
cmp word [edx], 0x3b
jne 0x459461
mov edx, dword [ebp - 8]
xor ecx, ecx
push eax
mov word [edx], cx
call fcn.00448b31
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x14]
mov word [edx + ecx*8 + 4], ax
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], 0
mov eax, dword [ebp - 8]
add eax, 2
inc ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
inc edx
cmp word [ecx + edx*2], 0
mov dword [ebp - 0x1c], edx
lea edx, [ecx + edx*2]
mov dword [ebp - 8], edx
jne 0x45941f
push eax
call fcn.00448b31
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x14]
mov word [edx + ecx*8 + 4], ax
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], 0
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + ecx]
mov dword [edx + edi + 4], ecx
jmp 0x4594c6
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 4], 0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add dword [ebp + 0xc], 4
mov dword [ebp - 0x1c], edx
lea edx, [eax + ecx*2 + 2]
mov eax, ecx
mov ecx, dword [ebp - 0x18]
add edi, 0x1c
mov dword [ebp - 0x14], edx
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jl 0x4592e0
push 8
call fcn.004254ff
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], eax
add esp, 4
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8