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

Disassembly:
push 0xffffffffffffffff
push 0x48ab3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
mov edi, ecx
mov eax, 0xfffffffe
xor ebx, ebx
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], eax
or ecx, 0xffffffff
lea eax, [edi + 0x134]
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax]
push 8
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, dword [esp + 0x1c]
neg eax
lea edx, [ecx + eax*2]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
jne 0x435e5b
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea ebp, [edi + 0x144]
push eax
push ecx
push ebp
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
jne 0x435e5b
mov eax, dword [esi + 4]
mov ebx, dword [edi + 0x148]
mov ecx, dword [esi + 8]
xor edx, edx
cmp eax, ebx
setge dl
dec edx
and edx, 0x100
or ecx, edx
xor edx, edx
mov dword [esi + 8], ecx
mov ebx, dword [edi + 0x150]
cmp eax, ebx
setle dl
dec edx
and edx, 0x200
mov eax, edx
mov edx, dword [esi]
or eax, ecx
xor ecx, ecx
mov dword [esi + 8], eax
mov ebx, dword [ebp]
cmp edx, ebx
setge cl
dec ecx
and ecx, 0x800
or ecx, eax
xor eax, eax
mov dword [esi + 8], ecx
mov ebp, dword [edi + 0x14c]
cmp edx, ebp
setle al
dec eax
and eax, 0x400
or eax, ecx
mov dword [esi + 8], eax
jmp 0x43634f
push ebx
push ebx
mov ecx, edi
call fcn.00439170
push ebx
push 1
mov ecx, edi
mov ebp, eax
call fcn.00439170
mov ecx, dword [edi + 0x15c]
mov edx, dword [esi + 4]
mov dword [esp + 0x20], eax
mov eax, ebp
neg eax
add ecx, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
je 0x435ebd
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
or al, 0x40
mov dword [esi + 8], eax
jmp 0x43607e
lea edx, [esp + 0x28]
push ebx
lea eax, [esp + 0x24]
push edx
push eax
push ebx
mov ecx, edi
call fcn.00438c60
test eax, eax
je 0x436348
lea ecx, [esp + 0x2c]
call fcn.00432b10
or eax, 0xffffffff
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov ecx, dword [edi + 0x15c]
mov eax, dword [edi + 0x144]
mov edx, dword [edi + 0x148]
sub ecx, ebp
add ecx, eax
push edx
sub eax, ebp
push ecx
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0xd8], ebx
call dword [sym.imp.USER32.DLL_SetRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x43605f
lea edx, [esp + 0x2c]
mov ecx, edi
push edx
push eax
call fcn.00437fe0
mov eax, dword [edi + 0x80]
mov ecx, dword [esp + 0x34]
mov edx, dword [edi + 0x158]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esi]
add ecx, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
jne 0x435f9d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jle 0x435f3a
jmp 0x43605f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jg 0x43605f
push eax
mov ecx, edi
call fcn.00437fb0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edx
mov ecx, dword [edi + 0x78]
test ch, 0xc0
je 0x435fe1
cmp eax, ebx
jl 0x435fe1
mov edx, dword [edi + 0x17c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*4 + 0x18]
mov dword [esi + 0xc], eax
cmp dword [edi + 0x80], ebx
je 0x436057
cmp dword [esp + 0x34], ebx
je 0x436057
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], edx
mov edx, dword [edi + 0x158]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
add edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi]
mov dword [esp + 0x50], edx
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.USER32.DLL_PtInRect]
test eax, eax
je 0x436057
mov eax, dword [esi + 8]
lea ecx, [esp + 0x2c]
or al, 0x10
mov dword [esp + 0xc4], 0xffffffff
mov dword [esi + 8], eax
mov esi, dword [esi + 0x10]
call fcn.00432b20
mov eax, esi
jmp 0x436352
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc4], 0xffffffff
call fcn.00432b20
cmp dword [esp + 0x24], 1
jne 0x436348
mov eax, dword [edi + 0x78]
test ah, 0xc0
je 0x4360f7
mov eax, dword [esi + 0x10]
mov edx, dword [edi + 0x17c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + ecx*4 + 0x18]
mov eax, dword [eax + 0x10]
cmp eax, ebx
jl 0x4360f7
push ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], ebx
call dword [sym.imp.USER32.DLL_OffsetRect]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x20]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0xc], ecx
mov edx, dword [edi + 0x15c]
mov ecx, dword [eax]
add edx, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x158]
add eax, ecx
mov dword [esi + 0x2c], eax
jmp 0x43619c
mov eax, dword [edi + 0x11f4]
mov ecx, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x98], 9
mov dword [esp + 0x18], ecx
jle 0x43615e
mov eax, dword [edi + 0x1288]
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x1207
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
add eax, ebp
cmp eax, ecx
jl 0x43614b
mov edx, dword [esp + 0x34]
cmp eax, edx
jl 0x436156
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x436118
jmp 0x43615e
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov eax, dword [edi + 0x1288]
lea edx, [esp + 0x98]
push edx
push ebx
push 0x1203
push eax
call dword [sym.imp.USER32.DLL_SendMessageA]
mov eax, dword [esp + 0xb0]
mov ecx, edi
push eax
mov dword [esi + 0x14], eax
call fcn.00438290
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x24]
cmp ebx, eax
jge 0x436348
xor ebx, ebx
mov ecx, dword [esp + 0x20]
or eax, 0xffffffff
push ecx
mov ecx, edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0xfffffffe
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.00437fb0
mov edx, dword [esi + 0x14]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
mov dword [esp + 0x68], edx
call fcn.004341c0
cmp dword [esi + 0x1c], ebx
jne 0x4362ac
mov eax, dword [esp + 0x5c]
test ah, 1
je 0x4362ac
mov ecx, dword [esp + 0x84]
cmp ecx, ebx
jl 0x4362ac
mov eax, dword [edi + 0x158]
mov edx, eax
imul edx, ecx
mov ecx, dword [esp + 0x10]
add ecx, edx
mov dl, byte [esp + 0x88]
test dl, 0x60
mov dword [esp + 0x10], ecx
je 0x4362ac
mov edx, ecx
sub edx, eax
mov eax, dword [esi]
cmp eax, edx
jl 0x4362ac
cmp eax, ecx
jge 0x4362ac
lea eax, [esi + 0x20]
mov ebx, dword [esp + 0x18]
mov edx, eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 4], ecx
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [edx + 0xc], ebx
mov edx, dword [edi + 0x158]
mov ebx, dword [esi + 0x28]
add edx, ebp
mov ebp, dword [eax]
sub ebp, edx
mov dword [eax], ebp
mov eax, ebp
sub ebx, eax
mov dword [esi + 0x28], ebx
mov eax, dword [edi + 0x158]
add eax, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 8]
or al, 0x20
mov dword [esi + 8], eax
jmp 0x43634f
mov ecx, dword [esp + 0x48]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.DLL_OffsetRect]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x20]
mov ebx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [edx + 0xc], ebx
mov edx, dword [edi + 0x158]
add edx, eax
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x70]
mov dl, byte [esp + 0x5c]
add ecx, eax
test dl, 4
je 0x436310
mov ebx, dword [edi + 0xa0]
add ebx, eax
add ecx, ebx
mov ebx, dword [esi]
cmp ebx, ecx
jge 0x436310
mov eax, dword [esi + 8]
or al, 2
mov dword [esi + 8], eax
jmp 0x43634f
test dl, 8
je 0x43632f
mov edx, dword [edi + 0xa8]
add edx, eax
add ecx, edx
mov edx, dword [esi]
cmp edx, ecx
jge 0x43632f
mov eax, dword [esi + 8]
or al, 4
mov dword [esi + 8], eax
jmp 0x43634f
mov edx, dword [esi]
cmp edx, ecx
jl 0x436348
mov ecx, dword [esi + 0x28]
sub ecx, eax
cmp edx, ecx
jge 0x436348
mov eax, dword [esi + 8]
or al, 8
mov dword [esi + 8], eax
jmp 0x43634f
mov dword [esi + 8], 1
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 4