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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, eax
xor eax, eax
mov edx, dword [ebx + 0x38]
test edx, edx
sete al
mov dword [esp + 0x20], eax
or dword [ebx + 0x84], 4
mov ecx, dword [ebx]
mov dword [esp + 0x3c], ecx
mov esi, dword [ecx + 0xc0]
mov dword [esp + 0x38], esi
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x48]
je 0x45a726
cmp ecx, edx
jg 0x45a8d0
lea esi, [edx + eax*2]
mov dword [esp + 0x24], esi
sub edx, ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
sar edx, 1
add edx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
jle 0x45a95f
mov ecx, dword [ebx + 0x78]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov esi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
jmp 0x45a7cd
mov edi, dword [edx + 0x2c]
mov ebp, dword [edx + 4]
cmp edi, ebp
jge 0x45a77f
mov dword [edx + 0x2c], ebp
mov edi, ebp
mov ebp, dword [edx + 8]
lea edi, [edi + ebp*2]
add esi, edi
mov edi, dword [esp + 0x28]
add edi, esi
mov dword [edx + 0x34], edi
mov dword [edx + 0x38], eax
mov edi, dword [esp + 0x2c]
add edi, esi
mov dword [edx + 0x44], edi
mov edi, dword [ebx + 0x60]
add edi, eax
mov dword [edx + 0x48], edi
add esi, dword [esp + 0x24]
mov edi, dword [edx + 0x1c]
test edi, edi
jle 0x45a88c
mov edx, dword [edx + 0xc]
lea edx, [edi + edx*2]
cmp edx, dword [esp + 0x34]
jle 0x45a7c4
mov dword [esp + 0x34], edx
nop
add ecx, 4
cmp ecx, dword [esp + 0x1c]
je 0x45a83c
mov edx, dword [ecx]
mov ebp, dword [edx + 0x50]
test ebp, ebp
jne 0x45a7c4
mov dword [edx + 0x24], esi
mov dword [edx + 0x28], eax
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x45a770
mov edi, dword [edx + 0x30]
mov ebp, dword [edx + 4]
cmp edi, ebp
jge 0x45a7f3
mov dword [edx + 0x30], ebp
mov edi, ebp
mov ebp, dword [edx + 0xc]
lea edi, [edi + ebp*2]
add eax, edi
mov dword [edx + 0x34], esi
mov edi, dword [esp + 0x28]
add edi, eax
mov dword [edx + 0x38], edi
mov edi, dword [ebx + 0x60]
add edi, esi
mov dword [edx + 0x44], edi
mov edi, dword [esp + 0x2c]
add edi, eax
mov dword [edx + 0x48], edi
add eax, dword [esp + 0x24]
mov edi, dword [edx + 0x18]
test edi, edi
jle 0x45a8a0
mov edx, dword [edx + 8]
lea edx, [edi + edx*2]
cmp edx, dword [esp + 0x30]
jle 0x45a7c4
mov dword [esp + 0x30], edx
add ecx, 4
cmp ecx, dword [esp + 0x1c]
jne 0x45a7cd
mov edx, dword [ebx + 0x30]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x45a8b4
test edx, edx
jle 0x45a92c
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jle 0x45a91c
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0047f38c
mov eax, dword [ebx]
test byte [eax + 0x98], 1
je 0x45a883
mov eax, dword [ebx + 0x84]
test al, 1
je 0x45a8f4
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [edx]
mov ebp, dword [edi + 0x48]
mov edi, dword [edi + 0xbc]
lea edi, [edi + ebp*2]
jmp 0x45a7b3
mov edi, dword [edx]
mov ebp, dword [edi + 0x48]
mov edi, dword [edi + 0xb8]
lea edi, [edi + ebp*2]
jmp 0x45a823
test edx, edx
jle 0x45a944
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jg 0x45a85a
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
add ecx, eax
jmp 0x45a85a
lea esi, [ecx + eax*2]
mov dword [esp + 0x24], esi
sub ecx, edx
mov edx, ecx
shr edx, 0x1f
add ecx, edx
sar ecx, 1
add ecx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
jmp 0x45a742
or eax, 1
mov dword [ebx + 0x84], eax
mov dword [esp + 4], ebx
mov dword [esp], 0x45b46c
mov eax, dword [0x68bb7c]
call dword [eax + 0x1d8]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea ecx, [esi + eax*2]
jmp 0x45a85a
sub esi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
add edx, esi
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jg 0x45a85a
jmp 0x45a91c
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
lea edx, [esi + ecx*2]
mov ecx, dword [ebx + 0x34]
test ecx, ecx
jg 0x45a85a
jmp 0x45a8c3
mov eax, dword [esp + 0x38]
mov esi, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
jmp 0x45a83c