Function at 0x418fd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x458550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x14]
mov ecx, dword [0x472c58]
mov edi, eax
mov dword [esp + 0x10], ecx
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x90], 0
call fcn.0044abc1
mov ebx, dword [esp + 0x94]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0044ab99
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0xc]
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x1c]
lea edx, [esp + 0x30]
push 2
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x9c]
mov eax, dword [0x475d08]
cmp edx, eax
jne 0x4190b8
mov eax, dword [esp + 0xa0]
mov ecx, dword [0x475d0c]
cmp eax, ecx
jne 0x4190b8
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, edx
mov eax, 0x51eb851f
mov edx, ecx
mov ebp, dword [esp + 0x30]
imul edx, dword [esp + 0x94]
imul ecx, dword [esp + 0x9c]
imul edx
sar edx, 5
mov edi, dword [esp + 0x2c]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
sub ebp, edx
mov edx, dword [esp + 0x24]
sub edi, edx
mov ebx, dword [esp + 0x34]
mov edx, edi
imul edi, dword [esp + 0xa0]
imul edx, dword [esp + 0x98]
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
sub ebx, edx
imul ecx
mov eax, dword [esp + 0x38]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push ecx
sub eax, edx
mov ecx, esp
mov dword [esp + 0x1c], eax
mov eax, 0x51eb851f
imul edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], esp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub edi, edx
lea edx, [esp + 0x14]
push edx
call fcn.0044a503
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push edi
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push eax
push ecx
push ebp
lea ecx, [esp + 0x68]
call fcn.004192c0
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov byte [esp + 0x8c], 1
call dword [edx]
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x28]
test eax, eax
jne 0x4191e4
mov ecx, dword [esi + 0x38]
push 0x48
lea edx, [esi + 0x34]
push ecx
push edx
call fcn.00446efe
mov ecx, dword [esi + 0x38]
lea edx, [ecx + ecx*8]
dec ecx
test ecx, ecx
lea eax, [eax + edx*8 - 0x44]
jl 0x4191e4
inc ecx
mov edx, dword [esi + 0x30]
mov dword [eax], edx
mov dword [esi + 0x30], eax
sub eax, 0x48
dec ecx
jne 0x4191d6
mov edi, dword [esi + 0x30]
push 1
mov eax, dword [edi]
mov dword [esi + 0x30], eax
mov dword [edi + 4], ebx
mov dword [edi], 0
mov edx, dword [esi + 0x2c]
lea ebx, [edi + 8]
inc edx
push ebx
mov dword [esi + 0x2c], edx
call fcn.004183b0
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.00419740
mov eax, dword [esi + 0x28]
test eax, eax
je 0x41921e
mov dword [eax], edi
jmp 0x419221
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov ecx, dword [esi + 0xc]
add esi, 4
mov eax, ebp
shr eax, 4
xor edx, edx
div ecx
mov ecx, dword [esi + 4]
test ecx, ecx
mov ebx, edx
je 0x419258
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x419254
cmp dword [eax + 8], ebp
je 0x419250
mov eax, dword [eax]
test eax, eax
jne 0x419243
jmp 0x419254
test eax, eax
jne 0x419280
test ecx, ecx
jne 0x419265
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
call fcn.0041a170
mov ecx, esi
call fcn.0041a1e0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov edx, dword [esi + 4]
mov ecx, dword [edx + ebx*4]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [edx + ebx*4], eax
lea ecx, [esp + 0x48]
mov dword [eax + 0xc], edi
mov byte [esp + 0x88], 0
call fcn.0044a78e
lea ecx, [esp + 0x10]
mov dword [esp + 0x88], 0xffffffff
call fcn.0044a78e
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret 0x14