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

Disassembly:
push 0xffffffffffffffff
push 0x507cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x540a54]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea ecx, [esp + 0x48]
call fcn.00439410
xor edi, edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x74]
movzx edx, word [ecx]
lea eax, [esp + 0x48]
push eax
push edx
call fcn.00457ba0
mov ecx, dword [esp + 0x54]
mov ebp, dword [ecx]
mov ebx, dword [esp + 0x90]
add esp, 8
or eax, 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ecx
cmp ebp, dword [esp + 0x3c]
sete al
test al, al
sete al
test al, al
je 0x45dafd
cmp ebp, ecx
je 0x45dacc
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x74]
push esi
push eax
call fcn.0045bc00
mov edi, eax
add esp, 8
test edi, edi
je 0x45dab4
mov ecx, dword [esp + 0x7c]
cmp dword [esi], ecx
je 0x45dab4
mov ebp, dword [ebx + 4]
push esi
lea edx, [esp + 0x44]
push edx
mov ecx, ebx
call fcn.00458780
mov ecx, dword [eax]
test ecx, ecx
je 0x45daf8
cmp ecx, ebx
jne 0x45daf8
cmp dword [eax + 4], ebp
sete al
test al, al
sete al
test al, al
jne 0x45dab0
mov ax, word [esp + 0x78]
cmp word [edi], ax
je 0x45dad1
mov cl, byte [edi + 0xa]
mov ebp, dword [esp + 0x70]
cmp cl, byte [ebp + 0xa]
je 0x45dab0
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
add eax, 1
mov dword [esp + 0x24], eax
movzx ecx, byte [edi + 0xa]
push ecx
call fcn.00442c10
mov edx, dword [esp + 0x88]
add eax, dword [edx]
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
call fcn.00458400
mov edx, dword [esi]
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push edi
push ebp
call fcn.0045d910
add esp, 0x1c
test eax, eax
je 0x45dab0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jae 0x45da98
mov ecx, dword [esp + 0x14]
jmp 0x45daa4
jne 0x45dab0
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x1c]
jae 0x45dab0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
cmp ebp, ecx
je 0x45dacc
mov edx, dword [ebp]
mov dword [esp + 0x2c], edx
mov ebp, edx
xor edi, edi
jmp 0x45d987
jmp fcn.0043ad80
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0043a2f0
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
jmp fcn.0044f020
mov dword [esp + 0x68], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
mov dword [esp + 0x50], edi
je 0x45db35
mov esi, dword [eax]
push eax
call fcn.004dc98b
mov ecx, dword [esp + 0x50]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x45db20
push ecx
call fcn.004dc98b
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x4c], edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret