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

Disassembly:
push 0xffffffffffffffff
push 0x59f358
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x6c]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x9c]
push edx
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.0055b9c1
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov dword [esp + 0x68], 0
call fcn.0055b905
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
mov edi, eax
call fcn.0055b26f
mov edx, dword [esp + 0x44]
add edx, 0xffffffff
push edx
push 0
mov ecx, ebp
call fcn.0055af51
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add eax, 0xffffffff
add ecx, 0xffffffff
push eax
push ecx
mov ecx, ebp
call fcn.0055af51
mov edx, dword [esp + 0x40]
push 0
add edx, 0xffffffff
push edx
mov ecx, ebp
call fcn.0055af51
push 0
push 0
mov ecx, ebp
call fcn.0055af51
push edi
mov ecx, ebp
call fcn.0055b905
lea ecx, [esp + 0x18]
call fcn.0055b880
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
push 0xffffffffffffffff
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_InflateRect]
test ebp, ebp
jne 0x535a3f
xor eax, eax
jmp 0x535a42
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
push eax
lea ebx, [esp + 0x4c]
call fcn.00537150
mov eax, dword [esi + 0x78]
xor edi, edi
add esp, 4
cmp eax, edi
mov dword [esp + 0x6c], esi
je 0x535a7b
jmp 0x535a70
mov dword [esp + 0x6c], eax
mov eax, dword [eax + 0x78]
cmp eax, edi
jne 0x535a70
push 1
mov ecx, ebp
call fcn.0055aeb6
call fcn.00534650
mov eax, dword [0x63680c]
cmp eax, edi
jne 0x535a9e
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp eax, edi
je 0x535aaf
mov edx, dword [ebp + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
jmp 0x535ab3
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0xf0]
mov ebx, dword [esi + 0x6c]
mov edx, 2
add eax, edx
test ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jle 0x535bdf
test edi, edi
jl 0x535c20
cmp edi, dword [esi + 0x6c]
jge 0x535c20
mov eax, dword [esi + 0x68]
lea ecx, [edi*4]
add eax, ecx
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
mov ecx, 3
jne 0x535b0b
mov ecx, dword [esi + 0xec]
add edx, ecx
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
jle 0x535b3c
mov eax, dword [esi + 0xf0]
mov edx, dword [esp + 0x28]
add edx, eax
add eax, edx
add ecx, 2
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x6c]
xor ecx, ecx
cmp dword [edx + 0x10c], ecx
je 0x535b84
cmp esi, dword [edx + 0x114]
jne 0x535b5a
cmp edi, dword [edx + 0x110]
je 0x535b84
cmp esi, dword [edx + 0x120]
jne 0x535b84
cmp edi, dword [edx + 0x118]
jne 0x535b6f
mov ecx, 1
add ebx, 0xffffffff
cmp edi, ebx
jne 0x535b84
cmp dword [edx + 0x11c], 0
je 0x535b84
mov ecx, 2
cmp edi, dword [esi + 0x6c]
jge 0x535c20
mov eax, dword [esi + 0x68]
lea ebx, [edi*4]
add eax, ebx
mov eax, dword [eax]
cmp dword [eax + 0x18], 0
push ecx
je 0x535bb0
push esi
lea ecx, [esp + 0x30]
mov edx, ebp
call fcn.00535f50
jmp 0x535bc9
xor ecx, ecx
cmp edi, dword [esi + 0x84]
sete cl
push ecx
push edi
push ebp
push edx
push esi
lea ecx, [esp + 0x40]
call fcn.00535cd0
mov ebx, dword [esi + 0x6c]
mov edx, dword [esp + 0x34]
add edi, 1
cmp edi, ebx
mov dword [esp + 0x2c], edx
jl 0x535adb
mov eax, dword [esp + 0x14]
test eax, eax
je 0x535bf2
mov edx, dword [ebp + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CGdiObject.0
call fcn.0055b880
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x58
ret 4
call fcn.00555520
int3