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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
lea eax, [ebx - 1]
cmp eax, 0x83
push edi
mov esi, ecx
ja case.0x4035d2.2
movzx eax, byte [eax + 0x4037ec]
jmp dword [eax*4 + 0x4037d8]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov eax, dword [esp + 0x74]
push edx
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 0x10
mov eax, dword [esi + 0x50]
test eax, eax
jne case.0x4035d2.2
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x2c]
mov eax, dword [esi + 0x40]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 0x10
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x4035d2.2
mov ebp, dword [esi + 0x2c]
test ebp, ebp
je case.0x4035d2.2
mov edx, dword [esi + 0x40]
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x20]
push ecx
push edx
shr edi, 0x10
call dword [sym.imp.USER32.dll_GetWindowRect]
movzx eax, word [esp + 0x80]
mov ecx, dword [ebp]
lea edx, [esp + 0x78]
push edx
push 1
push edi
push eax
lea eax, [esp + 0x30]
push eax
push 1
push ebp
call dword [ecx + 0x30]
test eax, eax
jne case.0x4035d2.2
mov ecx, dword [esp + 0x78]
test ecx, ecx
setne al
pop edi
pop esi
pop ebp
pop ebx
lea eax, [eax + eax - 1]
add esp, 0x60
ret 0x10
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x34]
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x4036e6
mov esi, eax
jmp 0x4036ef
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4036ff
mov esi, eax
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
push esi
call dword [ecx + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret 0x10
mov eax, dword [esi + 0x34]
test eax, eax
mov edi, dword [esp + 0x7c]
je 0x4037b9
cmp ebx, 0x200
je 0x40378f
cmp ebx, 0x201
je 0x40378f
cmp ebx, 0x202
je 0x40378f
cmp ebx, 0x203
je 0x40378f
cmp ebx, 0x204
je 0x40378f
cmp ebx, 0x205
je 0x40378f
cmp ebx, 0x206
je 0x40378f
cmp ebx, 0x207
je 0x40378f
cmp ebx, 0x208
je 0x40378f
cmp ebx, 0x209
je 0x40378f
cmp ebx, 0x20a
je 0x40378f
cmp ebx, 0x100
je 0x40378f
cmp ebx, 0x101
je 0x40378f
cmp ebx, 0x102
je 0x40378f
cmp ebx, 0x20
jne 0x4037b9
mov eax, dword [esp + 0x80]
mov esi, dword [esi + 0x34]
mov ecx, dword [esi]
lea edx, [esp + 0x78]
push edx
push eax
push edi
push ebx
push esi
call dword [ecx + 0x24]
test eax, eax
jne 0x4037b9
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 0x10