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

Disassembly:
push 0xffffffffffffffff
push 0x4a3f98
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
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 + 0x34], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], 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 + 0x30], edi
je 0x42621f
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
je 0x42621f
cmp eax, ebp
jne 0x4261f5
xor ecx, ecx
jmp 0x4261fd
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
mov edx, eax
cmp edx, ebp
jne 0x426207
xor eax, eax
jmp 0x42620f
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 0x426270
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426270
mov ecx, dword [esi + 0x5c]
push ecx
mov ecx, esi
call fcn.00422840
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x426270
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
call fcn.00413ef0
test al, al
je 0x426270
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0x10
mov eax, dword [esi + 0x60]
cmp eax, ebp
mov ecx, 0xc8
mov edi, 0x14
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edi
je 0x4263d3
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4263cf
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 + 0x64], 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 0x426307
mov ecx, dword [esi + 0x28]
jmp 0x42630a
lea ecx, [esi + 0x28]
mov ebp, dword [sym.imp.USER32.dll_DrawTextA]
push 0x420
lea edx, [esp + 0x70]
push edx
push eax
push ecx
push edi
call ebp
push 0x4accdc
lea eax, [esi + 0x40]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00418fe0
mov eax, dword [esp + 0x8c]
add esp, 0xc
cmp dword [esp + 0x94], 0x10
jae 0x426350
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 0x426382
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
push edx
push edi
call ebx
cmp dword [esp + 0x94], 0x10
jb 0x4263a4
mov eax, dword [esp + 0x80]
push eax
call fcn.0047964d
add esp, 4
test edi, edi
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
je 0x4263cd
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
xor ebp, ebp
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
add eax, edx
mov edx, dword [esp + 0x28]
cmp edx, eax
jbe 0x4263f1
mov eax, edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x34]
add edx, dword [esp + 0x44]
lea edi, [eax + edx + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
cmp eax, edx
ja 0x426413
mov eax, edx
mov edx, dword [esp + 0x40]
sub edx, dword [esp + 0x38]
sub ecx, dword [esp + 0x6c]
sub edx, dword [esp + 0x50]
add edx, dword [esp + 0x48]
lea edx, [edx + eax + 0x3d]
lea eax, [ecx + 0x38]
cmp edi, eax
jae 0x426434
mov edi, eax
cmp edi, 0xfa
jae 0x426441
mov edi, 0xfa
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push 1
push edx
push edi
push ebp
push ebp
push eax
call ebx
mov eax, dword [esi + 0x64]
cmp eax, ebp
je 0x426491
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426491
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jb 0x426477
xor eax, eax
jmp 0x42647b
sub eax, ecx
shr eax, 1
mov edx, dword [esp + 0x24]
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 ebx
mov eax, dword [esi + 0x60]
cmp eax, ebp
je 0x4264d7
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4264d7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jbe 0x4264b8
sub eax, ecx
shr eax, 1
jmp 0x4264ba
xor eax, eax
mov edx, dword [esp + 0x14]
push 1
push ecx
mov ecx, dword [esp + 0x34]
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 ebx
mov esi, dword [esp + 0x4c]
sub esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
sub esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
sub esi, dword [esp + 0x28]
mov dword [esp + 0x18], eax
add esi, dword [esp + 0x34]
add esi, edi
shr esi, 1
cmp eax, ecx
ja 0x426503
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x30]
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x426514
call fcn.0047b240
mov ebp, dword [ebx + 8]
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 4], ebp
jbe 0x426525
call fcn.0047b240
cmp ebx, ebx
je 0x42652e
call fcn.0047b240
cmp edi, ebp
je 0x42659b
cmp edi, dword [ebx + 8]
jb 0x42653c
call fcn.0047b240
cmp dword [edi + 4], 0
je 0x426589
cmp edi, dword [ebx + 8]
jb 0x42654c
call fcn.0047b240
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 0x426589
cmp edi, dword [ebx + 8]
jb 0x42656a
call fcn.0047b240
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
push 1
push 0x1c
push 0x3c
add eax, 0x16
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
add esi, 0x46
cmp edi, dword [ebx + 8]
jb 0x426593
call fcn.0047b240
add edi, 8
jmp 0x426514
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.0047a194
add esp, 0x94
ret