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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, edx
lea ecx, [esp + 0x18]
call fcn.004aa630
lea ecx, [esp + 0x38]
call fcn.0041e930
mov ecx, 0x15
xor eax, eax
lea edi, [esp + 0x38]
push esi
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x78], 1
call fcn.004d6570
mov ecx, dword [esi + 4]
xor edx, edx
push 4
push ecx
lea ecx, [esp + 0x40]
call fcn.0042cea0
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
mov ebx, dword [edx + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a9710
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x459017
mov ecx, ebx
call fcn.00406780
mov eax, dword [eax]
mov ecx, dword [0x566e30]
cmp eax, ecx
jle 0x45900d
mov eax, ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004a9710
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
push 0x40
push 4
push eax
mov ecx, ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], edx
call fcn.004a90b0
mov ecx, dword [ebx + 0x57]
call fcn.004b0cc0
mov ecx, ebx
call fcn.00401a70
mov edi, eax
push 0
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.004b5f50
test byte [edi + 0x10], 2
jne 0x459074
mov edx, dword [edi]
push 0
push 0xe4
mov ecx, edi
call dword [edx + 8]
mov ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x459089
mov ecx, dword [edi + 8]
push 0
push 0xe4
call fcn.004ac8f0
mov ebp, eax
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x45921e
test byte [ebp + 0x10], 2
jne 0x4590a4
mov eax, dword [ebp]
push 0x4e1
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, dword [ebp + 8]
push 0x4e1
call fcn.004aca80
mov esi, eax
test esi, esi
je 0x45921e
mov eax, dword [esi + 0x1b]
test eax, eax
jne 0x4590df
test byte [ebp + 0x10], 2
jne 0x4590d4
mov eax, dword [esi + 4]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [ebp + 8]
push esi
call fcn.004acb70
mov esi, eax
test esi, esi
je 0x45921e
movsx ecx, word [esp + 0x22]
cmp dword [esi + 0x1b], ecx
jg 0x45921e
test byte [esi + 0x10], 2
jne 0x459108
mov edx, dword [esi]
push 0
push 0x39
mov ecx, esi
call dword [edx + 8]
jmp 0x459114
mov ecx, dword [esi + 8]
push 0
push 0x39
call fcn.004ac8f0
mov edi, eax
mov al, byte [esi + 0x10]
test al, 2
jne 0x45912a
mov eax, dword [esi]
push 0
push 0x3a
mov ecx, esi
call dword [eax + 8]
jmp 0x459136
mov ecx, dword [esi + 8]
push 0
push 0x3a
call fcn.004ac8f0
test edi, edi
je 0x459150
test eax, eax
je 0x459150
mov ecx, dword [eax + 8]
mov edx, dword [edi + 8]
mov eax, dword [ecx]
mov ecx, dword [edx]
cmp eax, ecx
je 0x4591d8
test byte [esi + 0x10], 2
jne 0x459166
mov edx, dword [esi]
push 0
push 0xa5
mov ecx, esi
call dword [edx + 8]
jmp 0x459175
mov ecx, dword [esi + 8]
push 0
push 0xa5
call fcn.004ac8f0
mov edi, eax
test edi, edi
je 0x4591d8
mov eax, dword [esi + 0x1b]
mov ecx, dword [ebx + 0x57]
push eax
push str.Tr_05.5d.500
push 0
call fcn.004ace40
mov ebp, eax
mov ecx, edi
push 0
push 0
push 0
push 3
push 0x38
push ebp
call fcn.004cc840
mov edi, eax
mov ecx, edi
call fcn.004d13b0
mov ecx, edi
push eax
lea eax, [esp + 0x2c]
push eax
push 0x459270
call fcn.004d1c10
test eax, eax
je 0x459203
mov ecx, dword [esi + 0x1b]
push 0
push ecx
mov ecx, dword [ebx + 0x57]
push str.Tr_05.5d.500
call fcn.004acff0
mov ebp, dword [esp + 0x14]
test byte [ebp + 0x10], 2
jne 0x4591ea
mov eax, dword [esi + 4]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x10]
mov ecx, dword [ebp + 8]
push esi
call fcn.004acb70
mov esi, eax
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x4590e7
jmp 0x45921e
test ebp, ebp
je 0x45921a
mov ecx, dword [esi + 0x1b]
push 0
push ecx
mov ecx, dword [ebx + 0x57]
push str.Tr_05.5d.500
call fcn.004acff0
mov edi, dword [esp + 0x10]
mov ecx, edi
call fcn.004b5f90
mov ecx, dword [ebx + 0x57]
call fcn.004b0ce0
lea ecx, [esp + 0x68]
call fcn.004a6c00
lea ecx, [esp + 0x5c]
call fcn.004a6c00
lea ecx, [esp + 0x50]
call fcn.004a6c00
lea ecx, [esp + 0x44]
call fcn.004a6c00
lea ecx, [esp + 0x3c]
call fcn.004a6c00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret