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

Disassembly:
sub esp, 0x28c
push ebx
push ebp
mov ebp, dword [esp + 0x29c]
mov edx, dword [esp + 0x2a0]
push esi
push edi
mov eax, dword [ebp + 0x3c]
add eax, ebp
mov esi, dword [eax + 0x78]
mov ecx, dword [eax + 0x7c]
cmp esi, edx
mov dword [esp + 0x18], esi
lea eax, [ecx + esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
jae 0x45c6f1
lea edi, [esi + 0x28]
cmp edi, edx
jae 0x45c6f1
cmp ecx, edx
jae 0x45c6f1
cmp eax, edx
jae 0x45c6f1
mov ecx, dword [esi + ebp + 0x1c]
mov ebx, dword [esp + 0x2b0]
mov edi, dword [esi + ebp + 0x14]
mov edx, dword [esi + ebp + 0x18]
add ebx, ecx
cmp edi, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ebx
jb 0x45c6f1
test edi, edi
jbe 0x45c6f1
mov ebx, dword [esi + ebp + 0x20]
cmp ebx, esi
jb 0x45c6f1
shl edx, 2
lea edi, [edx + ebx]
cmp edi, eax
jae 0x45c6f1
cmp edx, dword [esp + 0x10]
jae 0x45c6f1
mov edx, dword [esi + ebp + 0x24]
cmp edx, esi
jb 0x45c6f1
mov edi, dword [esp + 0x1c]
lea edi, [edx + edi*2]
cmp edi, eax
jae 0x45c6f1
cmp ecx, esi
jb 0x45c6f1
mov esi, dword [esp + 0x20]
shl esi, 2
lea edi, [esi + ecx]
cmp edi, eax
jae 0x45c6f1
cmp esi, dword [esp + 0x10]
jae 0x45c6f1
mov eax, dword [esp + 0x2b4]
cmp ecx, eax
jae 0x45c6f1
dec edi
cmp edi, eax
jae 0x45c6f1
mov eax, dword [esp + 0x20]
add ecx, ebp
add ebx, ebp
add edx, ebp
xor esi, esi
mov dword [esp + 0x38], ebx
test eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], esi
jbe 0x45c6f1
mov eax, dword [esp + 0x28]
mov edx, ecx
sub edx, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
mov ecx, dword [edx + eax]
mov edi, dword [esp + 0x2a8]
cmp ecx, edi
jae 0x45c6ce
cmp ecx, dword [esp + 0x18]
jb 0x45c5b7
cmp ecx, dword [esp + 0x24]
jb 0x45c6ce
mov edi, dword [eax]
cmp ecx, edi
je 0x45c6ce
mov edx, dword [esp + 0x1c]
xor esi, esi
xor eax, eax
test edx, edx
jbe 0x45c602
mov edx, dword [esp + 0x30]
xor ebx, ebx
mov bx, word [edx]
cmp ebx, dword [esp + 0x14]
je 0x45c5ea
mov ebx, dword [esp + 0x1c]
inc eax
add edx, 2
cmp eax, ebx
jb 0x45c5d1
jmp 0x45c602
mov edx, dword [esp + 0x38]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x18]
cmp eax, edx
jb 0x45c602
cmp eax, dword [esp + 0x24]
jae 0x45c602
lea esi, [eax + ebp]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x2b0]
mov eax, dword [esp + 0x28]
sub edx, ebx
add edx, eax
mov eax, dword [esp + 0x2ac]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edi
add edx, eax
add ecx, eax
add edi, eax
mov dword [esp + 0x3c], edx
test esi, esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edi
mov byte [esp + 0x50], 0
je 0x45c658
push 0x40
lea eax, [esp + 0x54]
push esi
push eax
call dword [0x4b2604]
add esp, 0xc
mov byte [esp + 0x8f], 0
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx + ebp + 0x10]
mov ecx, dword [esp + 0x2a0]
add edx, esi
push eax
push ecx
mov dword [esp + 0x98], edx
mov word [esp + 0x9c], 0
call fcn.0045c410
add esp, 8
test eax, eax
je 0x45c6a7
push 0x104
lea edx, [esp + 0x98]
push eax
push edx
call dword [0x4b261c]
add esp, 0xc
mov eax, dword [esp + 0x2c0]
mov edx, dword [esp + 0x2bc]
lea ecx, [esp + 0x3c]
push eax
push ecx
push edx
call dword [esp + 0x2c4]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
inc esi
add ebx, 4
add eax, 4
cmp esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
jb 0x45c595
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28c
ret