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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 4]
mov eax, dword [edi + 0x78]
mov dword [esi + 0x9c], eax
lea ecx, [edi + 0xb0]
lea ebx, [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.004931a0
mov eax, dword [esp + 0xc]
xor ebx, ebx
cmp eax, dword [edi + 0xb4]
je 0x4b70d3
mov edi, dword [eax + 0x10]
jmp 0x4b70d5
xor edi, edi
mov dword [esi + 0xa0], edi
cmp edi, ebx
je 0x4b711a
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov edx, dword [edx + 8]
push eax
mov ecx, edi
call edx
mov eax, dword [edi + 0x10]
mov edi, dword [esi + 0xa0]
mov dword [esi + 0xa8], eax
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov edx, dword [edx + 8]
push eax
mov ecx, edi
call edx
mov eax, dword [edi + 0xc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esi + 0xa4], eax
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x30]
push 0xfffffffffffffffe
mov dword [esp + 0x2c], edx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x3c]
push 0xfffffffffffffffe
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esi]
mov eax, dword [eax + 0x8c]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x20], 0x50200200
mov dword [esp + 0x1c], ebx
call eax
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4b71a2
lea ebx, [ebx]
mov ecx, dword [eax + 0x60]
cmp ecx, ebx
jne 0x4b729f
mov eax, dword [eax + 0x18]
cmp eax, ebx
jne 0x4b7190
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x98], bl
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], ecx
cmp dword [0x558038], ebx
jne 0x4b71d8
mov dword [0x558038], 0x52a9cc
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esi + 0x94]
push eax
mov ebx, 0x558008
call fcn.004635e0
add esp, 8
cmp dword [esp + 0xc], 0
movzx ebx, ax
jne 0x4b7203
mov dword [esp + 0xc], 0x56000000
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x18]
push eax
push 0
lea ecx, [esp + 0x54]
push ecx
push edx
lea eax, [esi + 0x74]
call fcn.004b7fe0
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4b728d
mov eax, dword [esi + 4]
mov eax, dword [eax + 0xa0]
cmp eax, ebx
jne 0x4b7240
mov eax, dword [0x55aec0]
mov ecx, dword [esi + 0x78]
push 1
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x34]
push edx
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
lea edx, [eax + ecx + 4]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], edx
mov edx, dword [eax + 0x60]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], ecx
jmp 0x4b71a6