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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 0x36c]
lea ebp, [esi + 0x35c]
push edi
cmp dword [ebp + 0xc], ebx
jbe 0x45f415
call fcn.0050eb52
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45f429
call fcn.0050eb52
mov ecx, dword [esp + 0x20]
mov eax, dword [ebp]
push ebx
push ecx
push edi
push eax
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.0045e280
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
push eax
lea eax, [esp + 0x44]
push eax
call dword [0x5c99e0]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
lea edx, [esp + 0x10]
mov dword [esp + 0x20], ecx
xor edi, edi
push edx
mov ecx, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.0045ebf0
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
call edx
test eax, eax
jle 0x45f603
lea ecx, [ecx]
push edi
mov ecx, esi
call fcn.0047c120
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0045aab0
test al, al
jne 0x45f59d
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push ebx
push eax
mov ecx, esi
call fcn.0045a9a0
cmp ebx, edi
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
jge 0x45f523
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
mov ecx, esi
call eax
cmp edi, eax
jge 0x45f523
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0047c120
mov ebx, eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x50]
push eax
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x10]
cmp dword [eax + 0xc], ecx
jle 0x45f516
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x60]
push eax
mov ecx, ebx
call edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, edi
mov dword [esp + 0x14], eax
jl 0x45f4cf
mov edx, dword [esi]
mov edx, dword [edx + 0x64]
lea eax, [esp + 0x70]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call edx
mov ebx, dword [eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], edi
test eax, eax
jne 0x45f552
xor ecx, ecx
jmp 0x45f55a
mov ecx, dword [ebp + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], edx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x45f578
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x45f59d
cmp eax, dword [esp + 0x1c]
jbe 0x45f583
call fcn.0050eb52
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call fcn.0045e960
push ebx
push edi
mov ecx, esi
call fcn.0045aab0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x6c]
push eax
push ebx
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
lea edx, [esp + 0x28]
push edx
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa4]
add ebx, dword [esp + 0x28]
call eax
cmp eax, dword [esp + 0x14]
jle 0x45f5f1
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa4]
call eax
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
mov ecx, esi
inc edi
call eax
cmp edi, eax
jl 0x45f490
mov edx, dword [esi]
mov eax, dword [edx + 0x54]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0045a9a0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret