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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx]
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
push edi
movsx edi, byte [ebx + 0x44]
mov ecx, dword [ebx + edi*4 + 0x78]
movzx eax, word [ebx + edi*2 + 0x50]
mov edx, dword [ecx + 0x40]
mov dword [esp + 0x1c], eax
mov ax, word [edx + eax*2]
mov dh, al
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov dl, ah
movzx eax, dx
movzx edx, word [ecx + 0x14]
and eax, edx
add eax, dword [ecx + 0x38]
cmp byte [ecx + 5], 0
mov dword [esp + 0xc], eax
jne 0x45f6ec
and byte [ebx + 0x40], 0xf1
xor eax, eax
cmp byte [ebx + 0x42], 1
mov dword [esp + 0x10], 0
mov word [ebx + 0x24], ax
jne 0x45f6d5
cmp word [ebx + edi*2 + 0x50], ax
je 0x45f6d5
mov edx, dword [ebx + edi*4 + 0x78]
cmp byte [edx + 5], al
je 0x45f6d5
mov eax, 0xffff
add word [ebx + edi*2 + 0x50], ax
jmp 0x45f6ec
lea edi, [esp + 0x10]
mov eax, ebx
call fcn.0045c0e0
test eax, eax
jne 0x45f8c6
mov ecx, dword [esp + 0x14]
test byte [ebx + 0x40], 0x20
je 0x45f70c
mov ecx, dword [ebx + 0x34]
mov eax, dword [esp + 0x18]
mov edx, ebx
call fcn.004578c0
test eax, eax
jne 0x45f8c6
mov ecx, dword [esp + 0x14]
cmp dword [ebx + 0x48], 0
jne 0x45f75b
cmp byte [esi + 0xb], 0
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
je 0x45f75b
mov edx, dword [esi + 4]
mov byte [esi + 0xb], 0
mov eax, dword [edx + 8]
test eax, eax
je 0x45f75b
test byte [eax + 0x40], 0x10
je 0x45f754
mov byte [esi + 0xb], 1
mov edx, dword [eax + 0x10]
cmp edx, dword [esp + 0x28]
jne 0x45f754
mov edx, dword [eax + 0x14]
cmp edx, dword [esp + 0x2c]
jne 0x45f754
mov byte [eax + 0x42], 0
mov eax, dword [eax + 8]
test eax, eax
jne 0x45f734
mov esi, dword [ecx + 0x48]
call fcn.00453dd0
test eax, eax
jne 0x45f8c6
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
mov ecx, esi
call fcn.0045caa0
movzx edx, word [esp + 0x10]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.0045cf10
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x45f8c6
cmp byte [esi + 5], al
jne 0x45f874
movsx ecx, byte [ebx + 0x44]
mov edi, dword [ebx + ecx*4 + 0x78]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + edx*4 + 0x7c]
mov ecx, dword [eax + 0x54]
movzx edx, word [edi + 0x12]
mov eax, dword [edi + 0x40]
mov esi, dword [edi + 0x38]
mov dword [esp + 0x24], ecx
mov cx, word [eax + edx*2 - 2]
mov dh, cl
mov dl, ch
movzx ecx, word [edi + 0x14]
movzx eax, dx
and eax, ecx
add eax, esi
add esi, 4
mov dword [esp + 0xc], eax
cmp eax, esi
jae 0x45f804
mov eax, 0xf1ca
call fcn.004b7f40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x4c]
push eax
push edi
call edx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x50]
mov esi, dword [edi + 0x48]
movzx eax, ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], edx
call fcn.00453dd0
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esi + 4]
push edx
mov edx, dword [esp + 0x28]
add eax, 0xfffffffc
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
call fcn.0045d050
movzx ecx, word [edi + 0x12]
lea eax, [esp + 0x30]
push eax
push esi
dec ecx
push ecx
mov esi, edi
call fcn.0045cf10
mov eax, dword [esp + 0x3c]
add esp, 0x2c
test eax, eax
jne 0x45f8c6
call fcn.0045f290
mov edi, eax
test edi, edi
jne 0x45f8c4
movsx edx, byte [ebx + 0x44]
mov esi, dword [esp + 0x20]
cmp edx, esi
jle 0x45f8bd
mov al, byte [ebx + 0x44]
movsx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x78]
dec al
mov byte [ebx + 0x44], al
test ecx, ecx
je 0x45f8aa
mov edx, dword [ecx + 0x48]
push edx
call fcn.00453820
add esp, 4
movsx eax, byte [ebx + 0x44]
cmp eax, esi
jg 0x45f88b
call fcn.0045f290
mov edi, eax
test edi, edi
jne 0x45f8c4
mov esi, ebx
call fcn.0045b7e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret