Function at 0x401110
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.0x401132.2
movzx eax, byte [eax + 0x401380]
jmp dword [eax*4 + 0x40136c]
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 + 0x54]
test eax, eax
lea ecx, [esp + 0x30]
push ecx
jne 0x40119f
mov eax, dword [esi + 0x40]
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 edx, dword [esi + 0x40]
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x30]
push eax
push ecx
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.0x401132.2
mov ebp, dword [esi + 0x2c]
test ebp, ebp
je case.0x401132.2
mov eax, dword [esi + 0x40]
mov edi, dword [esp + 0x80]
lea edx, [esp + 0x20]
push edx
push eax
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.0x401132.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 0x40127a
mov esi, eax
jmp 0x401283
mov eax, dword [esi + 0x30]
test eax, eax
je 0x401293
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 0x40134d
cmp ebx, 0x200
je 0x401323
cmp ebx, 0x201
je 0x401323
cmp ebx, 0x202
je 0x401323
cmp ebx, 0x203
je 0x401323
cmp ebx, 0x204
je 0x401323
cmp ebx, 0x205
je 0x401323
cmp ebx, 0x206
je 0x401323
cmp ebx, 0x207
je 0x401323
cmp ebx, 0x208
je 0x401323
cmp ebx, 0x209
je 0x401323
cmp ebx, 0x20a
je 0x401323
cmp ebx, 0x100
je 0x401323
cmp ebx, 0x101
je 0x401323
cmp ebx, 0x102
je 0x401323
cmp ebx, 0x20
jne 0x40134d
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 0x40134d
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