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

Disassembly:
push 0xffffffffffffffff
push 0x4cf518
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov al, byte [esp + 0x70]
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov byte [esp + 0x30], al
call fcn.00406ad6
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov cl, byte [esp + 0x80]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], esi
call fcn.00406ad6
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
and edx, 0xffff
mov byte [esp + 0x64], 1
and edx, 0x8000001f
jns 0x45df9f
dec edx
or edx, 0xffffffe0
inc edx
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x2c]
shl edx, 3
and edx, 0xffff
and eax, 0xffff
or edx, eax
push edx
push str._2.2x
push ecx
call fcn.00430ae0
mov edx, dword [esp + 0x88]
add esp, 0xc
and edx, 0xffff00
cmp edx, 0x60000
jne 0x45e05f
mov al, byte [esp + 0x80]
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], al
call fcn.00406ad6
mov edi, 0x503a34
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x64], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x54], esi
push ecx
push 0x503a34
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], esi
call fcn.0040695a
mov ecx, dword [0x4d68ec]
lea edx, [esp + 0x44]
push ecx
push esi
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 3
call fcn.0040b3b2
mov eax, dword [esp + 0x54]
mov byte [esp + 0x64], 1
cmp eax, esi
je 0x45e054
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x54], esi
push 1
lea ecx, [esp + 0x48]
call fcn.00406ad6
mov eax, dword [0x4d68ec]
lea ecx, [esp + 0x2c]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x8c]
call fcn.0040b3b2
xor edi, edi
cmp bp, 0xffff
je 0x45e146
jmp 0x45e088
xor esi, esi
cmp bp, si
jne 0x45e0a6
lea edx, [esp + 0x14]
push 0x4f6ce4
push edx
call fcn.00430ae0
add esp, 8
mov esi, 0xffff
jmp 0x45e0d1
mov eax, ebp
xor ecx, ecx
and eax, 0xffff
lea edx, [esp + 0x14]
lea eax, [eax + eax*2]
mov cl, byte [ebx + eax*8 + 0x70]
lea esi, [ebx + eax*8]
push ecx
push str._02x
push edx
call fcn.00430ae0
movzx si, byte [esi + 0x62]
add esp, 0xc
mov eax, dword [0x4d68ec]
lea ecx, [esp + 0x14]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x8c]
call fcn.00430660
test di, di
jne 0x45e137
mov eax, ebp
and eax, 0xffff
lea edx, [eax + eax*2 + 0xc]
cmp byte [ebx + edx*8], 0
jne 0x45e121
lea eax, [eax + eax*2]
xor ecx, ecx
lea edx, [esp + 0x14]
mov cl, byte [ebx + eax*8 + 0x63]
push ecx
push str._02x
push edx
call fcn.00430ae0
add esp, 0xc
mov edi, 1
mov eax, dword [0x4d68ec]
lea ecx, [esp + 0x14]
push eax
push 0
push ecx
lea ecx, [esp + 0x38]
call fcn.00430660
cmp si, 0xffff
mov ebp, esi
jne 0x45e086
xor esi, esi
mov edi, dword [esp + 0x6c]
mov dl, byte [esp + 0x80]
push esi
mov ecx, edi
mov byte [edi], dl
call fcn.00406ad6
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov eax, dword [0x4d68ec]
lea ecx, [esp + 0x2c]
push eax
push esi
push ecx
mov ecx, edi
mov byte [esp + 0x70], 4
call fcn.0040b3b2
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x45e18e
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x18]
cmp ecx, esi
je 0x45e1b2
mov al, byte [ecx - 1]
test al, al
je 0x45e1a8
cmp al, 0xff
je 0x45e1a8
dec al
mov byte [ecx - 1], al
jmp 0x45e1b2
dec ecx
push ecx
call fcn.004be17b
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], esi
cmp eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x45e1d3
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x30]
cmp ecx, esi
je 0x45e1f7
mov al, byte [ecx - 1]
test al, al
je 0x45e1ed
cmp al, 0xff
je 0x45e1ed
dec al
mov byte [ecx - 1], al
jmp 0x45e1f7
dec ecx
push ecx
call fcn.004be17b
add esp, 4
mov ecx, dword [esp + 0x5c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x18