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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d400b
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor esi, esi
cmp ebx, esi
je 0x428452
mov ecx, dword [ebx + 0x20]
mov eax, 0x4b
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x28], 0x41
call dword [sym.imp.USER32.dll_GetWindowRect]
push fcn.00484da0
push fcn.00404ce0
push 3
push 4
lea edx, [esp + 0x24]
push edx
call fcn.004f50c9
push 0x651
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x70], esi
call fcn.00422af0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 1
call fcn.00404f90
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4282b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x616
lea ecx, [esp + 0x14]
push ecx
call fcn.00422af0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 2
call fcn.00404f90
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4282fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x650
lea ecx, [esp + 0x10]
push ecx
call fcn.00422af0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 3
call fcn.00404f90
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42833e
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 + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [esp + esi*4 + 0x20], 0
je 0x4283ca
mov eax, dword [esp + esi*4 + 0x14]
lea edi, [esp + esi*4 + 0x14]
sub eax, 0x10
mov dword [esp + 0x3c], 0x1f
mov dword [esp + 0x40], 2
cmp dword [eax + 0xc], 1
jle 0x42839b
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00405590
mov edx, dword [edi]
mov eax, dword [esp + esi*4 + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push esi
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x20]
push 0x101b
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 1
cmp esi, 3
jl 0x428368
xor eax, eax
xor esi, esi
cmp dword [esp + 0x20], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
je 0x42842f
mov edi, 9
lea esp, [esp]
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x3c]
push eax
push esi
push 0x101a
push ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 2
mov dword [esp + 0x60], esi
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 1
cmp dword [esp + esi*4 + 0x20], 0
jne 0x428400
mov esi, dword [ebp + 8]
call fcn.00428920
push fcn.00484da0
push 3
push 4
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x78], 0xffffffff
call fcn.004f5066
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4