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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c479b
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push esi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor esi, esi
cmp edi, esi
je 0x42681c
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x60]
sub ebx, dword [esp + 0x58]
push fcn.004773d0
sub ebx, 2
mov eax, ebx
cdq
push fcn.004773a0
sub eax, edx
push 5
sar eax, 1
push 4
lea edx, [esp + 0x48]
sub eax, 0x32
push edx
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], esi
call fcn.004e6769
push esi
push 0x5f510f
lea ecx, [esp + 0x40]
mov dword [esp + 0xa8], esi
call fcn.00405130
push 0x185
lea eax, [esp + 0x38]
push eax
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 1
call fcn.00404e20
mov byte [esp + 0xa0], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426676
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
push 2
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
mov dword [esp + 0x30], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + esi*4 + 0x38], 0
je 0x42673c
mov eax, dword [esp + esi*4 + 0x38]
lea ecx, [esp + esi*4 + 0x38]
sub eax, 0x10
mov dword [esp + 0x10], 0x1f
mov dword [esp + 0x14], 0
cmp dword [eax + 0xc], 1
jle 0x4266e5
mov edx, dword [eax + 4]
push edx
call fcn.004053f0
cmp dword [esp + esi*4 + 0x3c], 0
mov eax, dword [esp + esi*4 + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
jne 0x426705
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0xc]
sub eax, 2
jmp 0x426717
mov eax, dword [esp + esi*4 + 0x4c]
imul eax, dword [esp + 0x30]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
mov edx, dword [edi + 0x20]
add dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
push esi
push 0x101b
push edx
mov dword [esp + 0x28], eax
call ebx
add esi, 1
cmp esi, 2
jl 0x4266b0
xor eax, eax
xor esi, esi
cmp dword [esp + 0x38], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
je 0x426795
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x10]
push eax
push esi
push 0x101a
push ecx
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], esi
call ebx
add esi, 1
cmp dword [esp + esi*4 + 0x38], 0
jne 0x426766
mov edx, dword [edi + 0x74]
xor esi, esi
push esi
push esi
push 0x1200
push edx
call ebx
test eax, eax
jle 0x4267fe
mov ecx, dword [edi + 0x74]
lea eax, [esp + 0x68]
push eax
push esi
push 0x1203
push ecx
mov dword [esp + 0x78], 0x24
call ebx
or dword [esp + 0x7c], 0x800
mov ecx, dword [edi + 0x74]
xor edx, edx
test esi, esi
lea eax, [esp + 0x68]
push eax
sete dl
push esi
push 0x1204
push ecx
mov dword [esp + 0x94], edx
call ebx
mov edx, dword [edi + 0x74]
push 0
push 0
push 0x1200
push edx
add esi, 1
call ebx
cmp esi, eax
jl 0x4267a8
push fcn.004773d0
push 5
push 4
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0xb0], 0xffffffff
call fcn.004e6706
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret