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

Disassembly:
sub esp, 0x80
mov eax, dword [0x57fd44]
push ebx
push ebp
mov ebp, dword [0x57fea4]
push esi
mov esi, dword [0x57fd9c]
push edi
xor edi, edi
cmp eax, edi
mov ebx, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
je 0x45f847
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x5c6074]
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x30]
xor edx, edx
test eax, eax
setle dl
dec edx
xor ecx, ecx
and edx, eax
mov eax, dword [esp + 0x34]
test eax, eax
setle cl
dec ecx
and ecx, eax
mov eax, dword [esp + 0x38]
cmp eax, esi
mov edi, ecx
jl 0x45f82f
mov eax, esi
mov ecx, dword [esp + 0x3c]
cmp ecx, ebp
jl 0x45f839
mov ecx, ebp
sub eax, edx
sub ecx, edi
mov dword [esp + 0x18], edx
mov ebx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [0x5bb27c]
lea ecx, [esp + 0x14]
push ecx
push 0x15
mov edx, dword [eax]
push ebp
push esi
push eax
call dword [edx + 0x6c]
test eax, eax
jne 0x45f9ee
mov eax, dword [0x5bb27c]
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x78]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x45f9e8
mov ecx, dword [eax]
xor esi, esi
push 0x10
lea edx, [esp + 0x2c]
push esi
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x45f8a8
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
cmp dword [0x5bb2d0], esi
je 0x45f8cf
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edi
push edx
push eax
lea ecx, [esp + 0x34]
push ebx
push ecx
push esi
call fcn.0045fb10
add esp, 0x18
jmp 0x45f9da
mov eax, dword [0x5bb2d4]
lea edx, [esp + 0x40]
inc eax
push eax
push 0x55b548
push edx
mov dword [0x5bb2d4], eax
call fcn.005134a0
add esp, 0xc
lea eax, [esp + 0x40]
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], esi
push 1
push eax
mov dword [esp + 0x38], 0x553aac
mov dword [esp + 0x40], esi
call fcn.0040dac0
test al, al
je 0x45f91f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x9c], edx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], 0x553a90
test eax, eax
setne byte [esp + 0x13]
cmp ecx, esi
je 0x45f952
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0x45f952
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [esp + 0x13]
test al, al
jne 0x45f8cf
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], esi
push ecx
mov dword [esp + 0x24], 0x5541dc
call fcn.00526900
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
call dword [edx + 8]
mov dword [esp + 0x24], eax
mov byte [eax + 4], 1
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push edi
push ecx
push edx
lea eax, [esp + 0x34]
push ebx
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0045fa00
mov ecx, dword [esp + 0x3c]
add esp, 0x18
cmp ecx, esi
mov dword [esp + 0x20], 0x554178
je 0x45f9da
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [esp + 0x24]
cmp ecx, esi
je 0x45f9da
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret