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

Disassembly:
push 0xffffffffffffffff
push 0x49f918
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 4]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x6c]
cmp eax, ebp
lea edi, [esi + 0x68]
mov dword [esp + 0x24], edi
je 0x4189df
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
je 0x4189df
cmp eax, ebp
jne 0x4189b5
xor ecx, ecx
jmp 0x4189bd
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
mov edx, eax
cmp edx, ebp
jne 0x4189c7
xor eax, eax
jmp 0x4189cf
mov eax, dword [edi + 8]
sub eax, edx
sar eax, 3
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2 - 1]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x418a30
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418a30
mov ecx, dword [esi + 0x5c]
push ecx
mov ecx, esi
call fcn.00414ab0
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x418a30
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x18]
call fcn.00405290
test al, al
je 0x418a30
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], 0x10
mov eax, dword [esi + 0x60]
cmp eax, ebp
mov ecx, 0xc8
mov edi, 0x14
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edi
je 0x418b93
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418b8f
mov eax, dword [esi + 0x60]
add eax, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0xf0
mov dword [esp + 0x60], edi
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x74], edi
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 4]
push ebp
push ebp
add eax, 4
push 0x31
push ecx
mov dword [esp + 0xb4], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebx
cmp dword [esi + 0x3c], 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x38]
jb 0x418ac7
mov ecx, dword [esi + 0x28]
jmp 0x418aca
lea ecx, [esi + 0x28]
mov ebp, dword [sym.imp.USER32.dll_DrawTextA]
push 0x420
lea edx, [esp + 0x68]
push edx
push eax
push ecx
push edi
call ebp
push 0x4a8300
lea eax, [esi + 0x40]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.0040b1f0
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], 0x10
jae 0x418b10
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x90]
push 0x410
lea edx, [esp + 0x58]
push edx
push ecx
push eax
push edi
call ebp
test eax, eax
je 0x418b42
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
push edx
push edi
call ebx
cmp dword [esp + 0x94], 0x10
jb 0x418b64
mov eax, dword [esp + 0x80]
push eax
call fcn.00474c07
add esp, 4
test edi, edi
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
je 0x418b8d
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor ebp, ebp
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
add eax, edx
mov edx, dword [esp + 0x28]
cmp edx, eax
jbe 0x418bb1
mov eax, edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x34]
add edx, dword [esp + 0x44]
lea ebx, [eax + edx + 0x28]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp eax, edx
ja 0x418bd3
mov eax, edx
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
sub ecx, dword [esp + 0x64]
sub edx, dword [esp + 0x50]
add edx, dword [esp + 0x48]
lea edx, [edx + eax + 0x38]
lea eax, [ecx + 0x38]
cmp ebx, eax
jae 0x418bf4
mov ebx, eax
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push edx
push ebx
push ebp
push ebp
push eax
call edi
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x418c44
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418c44
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jb 0x418c2a
xor eax, eax
jmp 0x418c2e
sub eax, ecx
shr eax, 1
mov edx, dword [esp + 0x2c]
push 1
push ecx
push edx
add eax, 0xa
push eax
mov eax, dword [esi + 0x64]
mov ecx, dword [eax]
push 0x14
push ecx
call edi
mov eax, dword [esi + 0x60]
cmp eax, ebp
je 0x418c8a
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418c8a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x418c6b
sub eax, ecx
shr eax, 1
jmp 0x418c6d
xor eax, eax
mov edx, dword [esp + 0x14]
push 1
push ecx
mov ecx, dword [esp + 0x28]
push ecx
add eax, 0xa
push eax
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 4]
add edx, 0x14
push edx
push ecx
call edi
mov esi, dword [esp + 0x4c]
sub esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
sub esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
sub esi, dword [esp + 0x28]
add esi, dword [esp + 0x34]
add esi, ebx
shr esi, 1
cmp eax, ecx
ja 0x418cb0
mov eax, ecx
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx + 4]
add eax, 0x1a
cmp edi, dword [ebx + 8]
mov dword [esp + 0x14], eax
jbe 0x418cd0
call fcn.00475a50
jmp 0x418cd0
mov ebp, dword [ebx + 8]
mov ebx, dword [esp + 0x24]
cmp dword [ebx + 4], ebp
jbe 0x418ce1
call fcn.00475a50
cmp ebx, ebx
je 0x418cea
call fcn.00475a50
cmp edi, ebp
je 0x418d54
cmp edi, dword [ebx + 8]
jb 0x418cf8
call fcn.00475a50
cmp dword [edi + 4], 0
je 0x418d42
cmp edi, dword [ebx + 8]
jb 0x418d08
call fcn.00475a50
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
add eax, 4
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418d42
cmp edi, dword [ebx + 8]
jb 0x418d26
call fcn.00475a50
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
push 1
push 0x17
push 0x3c
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
add esi, 0x46
cmp edi, dword [ebx + 8]
jb 0x418d4c
call fcn.00475a50
add edi, 8
jmp 0x418cd0
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00475ec4
add esp, 0x94
ret