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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ebx
call fcn.004399c0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
cmp eax, ebx
je 0x458d92
cmp eax, 4
jl 0x458d92
push 4
push ecx
push edi
call fcn.004a0750
add esp, 0xc
mov ecx, dword [edi]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
cmp eax, ebx
je 0x458dca
cmp eax, 8
jl 0x458dca
add ecx, 4
push 4
push ecx
lea ecx, [esp + 0x28]
push ecx
call fcn.004a0750
add esp, 0xc
cmp dword [esp + 0x20], ebx
mov esi, 8
mov dword [esp + 0x30], ebx
jle 0x459223
lea ecx, [ecx]
push 0xb0
call fcn.0048dcc8
add esp, 4
mov dword [esp + 0x34], eax
xor ebp, ebp
mov dword [esp + 0x90], ebp
cmp eax, ebp
je 0x458e0d
mov ecx, eax
call fcn.00457ef0
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x458e13
mov dword [esp + 0x1c], ebp
mov ebx, ebp
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x34], ebx
cmp eax, ebp
je 0x458e45
lea edx, [esi + 4]
cmp eax, edx
jl 0x458e45
mov eax, dword [edi + 0x44]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x90], edx
mov eax, dword [edi + 0x4c]
add esi, 4
cmp eax, ebp
je 0x458e75
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x458e75
mov edx, dword [edi + 0x44]
push 4
add edx, esi
push edx
lea eax, [esp + 0x30]
push eax
call fcn.004a0750
add esp, 0xc
add esi, 4
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
jle 0x4591bf
mov ecx, dword [esp + 0x1c]
add ecx, 0x60
lea edx, [esi + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x458eba
cmp eax, dword [esp + 0x18]
jl 0x458eba
mov eax, dword [edi + 0x44]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x458ec9
xor eax, eax
jmp 0x458ed1
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebp + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x458eed
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x458f0c
cmp ecx, ebx
jbe 0x458ef6
call fcn.0049eacd
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
lea edx, [esp + 0x4c]
push edx
mov ecx, ebp
call fcn.00469800
mov eax, dword [edi + 0x4c]
add dword [esp + 0x18], 4
add esi, 4
test eax, eax
je 0x458f36
cmp eax, dword [esp + 0x18]
jl 0x458f36
mov eax, dword [edi + 0x44]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x24]
add ebp, 0x18
test ecx, ecx
jne 0x458f48
xor eax, eax
jmp 0x458f50
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebp + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x458f6c
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x458f8b
cmp ecx, ebx
jbe 0x458f75
call fcn.0049eacd
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
lea edx, [esp + 0x54]
push edx
mov ecx, ebp
call fcn.00469800
mov eax, dword [edi + 0x4c]
add dword [esp + 0x18], 4
add esi, 4
test eax, eax
je 0x458fb5
cmp eax, dword [esp + 0x18]
jl 0x458fb5
mov eax, dword [edi + 0x44]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp edx, 0xff
jle 0x458fca
mov edx, 0xff
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x458fd9
xor eax, eax
jmp 0x458fe1
mov eax, dword [ebx + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebx + 0x10]
mov ebp, ebx
sub ebp, ecx
sar ebp, 2
cmp ebp, eax
jae 0x459004
mov eax, dword [esp + 0x1c]
mov dword [ebx], edx
add ebx, 4
add eax, 0x60
mov dword [esp + 0x24], eax
mov dword [eax + 0x10], ebx
jmp 0x45902c
cmp ecx, ebx
jbe 0x45900d
call fcn.0049eacd
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x60]
lea edx, [esp + 0x14]
push edx
add ecx, 0x60
push ebx
push eax
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x34], ecx
call fcn.00469800
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 0x4c]
add esi, 4
add ebx, 4
test eax, eax
je 0x459056
cmp eax, ebx
jl 0x459056
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x4c]
add esi, 4
add ebx, 4
test eax, eax
je 0x459084
cmp eax, ebx
jl 0x459084
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x20]
add ecx, 0x48
mov dword [esp + 0x40], eax
call fcn.00423a80
mov eax, dword [edi + 0x4c]
add ebx, 4
add esi, 4
mov dword [esp + 0x18], ebx
test eax, eax
je 0x4590c7
cmp eax, ebx
jl 0x4590c7
mov edx, dword [edi + 0x44]
push 4
add edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004a0750
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x84]
add ebp, 0x78
test ecx, ecx
jne 0x4590dc
xor eax, eax
jmp 0x4590e4
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebp + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x459100
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x45911f
cmp ecx, ebx
jbe 0x459109
call fcn.0049eacd
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
lea edx, [esp + 0x64]
push edx
mov ecx, ebp
call fcn.00469800
mov eax, dword [edi + 0x4c]
add dword [esp + 0x18], 4
add esi, 4
test eax, eax
je 0x459149
cmp eax, dword [esp + 0x18]
jl 0x459149
mov eax, dword [edi + 0x44]
push 4
add eax, esi
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004a0750
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xa4]
add ebp, 0x98
test ecx, ecx
jne 0x459161
xor eax, eax
jmp 0x459169
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebp + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x459185
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x4591a4
cmp ecx, ebx
jbe 0x45918e
call fcn.0049eacd
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push ebx
push eax
lea edx, [esp + 0x6c]
push edx
mov ecx, ebp
call fcn.00469800
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], 4
inc eax
add esi, 4
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jl 0x458e98
mov ecx, dword [edi + 0x20]
lea ebp, [edi + 0x14]
test ecx, ecx
jne 0x4591cd
xor eax, eax
jmp 0x4591d5
mov eax, dword [ebp + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [ebp + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x4591f1
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp + 0x10], ebx
jmp 0x459210
cmp ecx, ebx
jbe 0x4591fa
call fcn.0049eacd
mov eax, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
push ebx
push eax
lea edx, [esp + 0x74]
push edx
mov ecx, ebp
call fcn.00469800
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
jl 0x458de0
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x459246
lea ecx, [esi + 4]
cmp eax, ecx
jl 0x459246
mov edx, dword [edi + 0x44]
push 4
add edx, esi
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004a0750
add esp, 0xc
xor ebp, ebp
add esi, 4
cmp dword [esp + 0x20], ebp
jle 0x459359
lea ebx, [esi + 4]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x459278
cmp eax, ebx
jl 0x459278
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x4c]
add esi, 4
add ebx, 4
test eax, eax
je 0x4592a6
cmp eax, ebx
jl 0x4592a6
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x4c]
add esi, 4
add ebx, 4
test eax, eax
je 0x4592d4
cmp eax, ebx
jl 0x4592d4
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x4c]
add esi, 4
add ebx, 4
test eax, eax
je 0x459302
cmp eax, ebx
jl 0x459302
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x4c]
add esi, 4
add ebx, 4
test eax, eax
je 0x459330
cmp eax, ebx
jl 0x459330
mov ecx, dword [edi + 0x44]
push 4
add ecx, esi
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004a0750
add esp, 0xc
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x70]
push ecx
lea ecx, [edi + 0x2c]
add esi, 4
add ebx, 4
mov dword [esp + 0x84], eax
call fcn.004589f0
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x459258
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret