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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x529318
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4cb46b
mov eax, dword [eax + 4]
lea edx, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.00467260
push 0xf
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.00469ec0
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
call fcn.00512e11
mov ecx, esi
call fcn.005001a9
mov edi, eax
and edi, 4
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.0046ad30
xor edx, edx
test edi, edi
setne dl
lea ecx, [esp + 0x30]
push ecx
push 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], eax
inc edx
push edx
push ecx
mov ecx, eax
call fcn.00445a50
test edi, edi
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
je 0x4cb500
push 0xfffffffffffffffc
push 0xfffffffffffffffd
lea eax, [esp + 0x28]
push eax
jmp 0x4cb509
push 0xfffffffffffffffd
push 0xfffffffffffffffc
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x18]
push edx
push 0
push 0x407
push eax
call ebx
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
push 0
push 0
push 0x408
push ecx
call ebx
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cb561
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x38]
jmp 0x4cb578
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
sub edx, eax
shl edx, 1
mov eax, 0x55555556
imul edx
mov eax, dword [esp + 0x80]
sub edi, ebp
push edi
mov esi, edx
sub ebx, ebp
push ebx
sub ecx, eax
shr esi, 0x1f
push ecx
add esi, edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebp, dword [esp + 0x14]
push esi
push 0x96b
push 0
push 0
mov ecx, ebp
mov edi, eax
call fcn.00446ce0
push 2
push 0x96c
push 0
push 0
mov ecx, ebp
mov esi, eax
call fcn.00446ce0
test esi, esi
mov ebx, eax
jne 0x4cb5d6
mov esi, 1
lea ecx, [ebx + edi]
lea eax, [ecx + esi - 1]
cdq
lea ecx, [ebx + esi]
idiv ecx
mov dword [esp + 0x80], 0
test eax, eax
mov dword [esp + 0x14], eax
jle 0x4cb699
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4cb625
mov edx, dword [esp + 0x34]
mov ecx, eax
sub ecx, esi
cmp eax, edx
mov dword [esp + 0x24], ecx
jle 0x4cb699
cmp ecx, edx
jg 0x4cb63d
inc edx
mov dword [esp + 0x24], edx
jmp 0x4cb63d
mov eax, dword [esp + 0x38]
cmp ecx, eax
lea edx, [esi + ecx]
mov dword [esp + 0x28], edx
jge 0x4cb699
cmp edx, eax
jl 0x4cb63d
dec eax
mov dword [esp + 0x28], eax
xor eax, eax
test edi, edi
setne al
lea edx, [esp + 0x20]
push edx
push 0
lea ecx, [esp + 0x48]
add eax, 3
push eax
push ecx
mov ecx, ebp
call fcn.00445a50
test edi, edi
je 0x4cb66f
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
sub eax, ebx
mov dword [esp + 0x2c], eax
jmp 0x4cb67e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [edx + ebx]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x14]
inc edx
cmp edx, edi
mov dword [esp + 0x80], edx
jl 0x4cb602
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], 0xffffffff
call fcn.00467460
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4