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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f51f0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52b360]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x52b360]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.004b2bb0
mov edi, eax
test edi, edi
je 0x4b2fc7
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
test eax, eax
je 0x4b2ee2
mov al, byte [eax]
test al, al
je 0x4b2eff
cmp al, 3
je 0x4b2eff
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
test eax, eax
je 0x4b2fc7
movzx eax, byte [eax]
cmp eax, 1
jne 0x4b2fc7
cmp dword [ebx + 0xc4], 0
je 0x4b3217
lea eax, [esp + 0x24]
test eax, eax
je 0x4b2f7c
mov ecx, dword [ebx + 0x34]
sub ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x30]
sub edx, dword [ebx + 0x28]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push ecx
push edx
push 0
push 0
lea eax, [esp + 0x20]
push eax
call esi
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
sub eax, 0x2c0
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
sar ecx, 1
sub eax, 0xac
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + 0x7a]
push edx
lea edx, [ecx + 0x2c0]
push edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
call esi
push 0xffffffffffffffd8
push 0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [ebx + 0xc4]
sub edx, eax
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
call fcn.00410b30
mov edi, dword [ebx + 0xc4]
push 0x5dc
push 0
mov eax, 0x5112dc
call fcn.004a4fb0
mov eax, dword [ebx + 0xc4]
push 1
push eax
call fcn.00410a60
jmp 0x4b3217
mov eax, ebx
call fcn.004b2bb0
test eax, eax
je 0x4b3217
push 0
push 0x52decc
push 0x52dea0
push 0
push eax
call fcn.004eb16a
mov esi, eax
xor eax, eax
add esp, 0x14
cmp esi, eax
je 0x4b3217
xor ecx, ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], eax
mov word [esp + 0x58], cx
mov byte [esp + 0x20], cl
lea edi, [esp + 0x50]
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], eax
call fcn.00473d30
test al, al
je 0x4b306b
mov edx, dword [esi + 0x12c]
mov edx, dword [edx + 0x28]
lea ecx, [esi + 0x12c]
lea eax, [esp + 0x34]
push eax
call edx
mov ecx, eax
lea eax, [esp + 0x54]
mov byte [esp + 0x80], 1
call fcn.00409660
test eax, eax
sete al
lea ecx, [esp + 0x34]
mov byte [esp + 0x20], al
mov byte [esp + 0x80], 0
call fcn.004016f0
cmp byte [esi + 0x14c], 0
mov ecx, dword [esp + 0x20]
push ecx
push ecx
je 0x4b3136
call fcn.00418d60
add esp, 4
push eax
mov eax, esi
call fcn.0041adc0
cmp dword [ebx + 0xc4], 0
je 0x4b3207
lea edx, [esp + 0x24]
test edx, edx
je 0x4b310b
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
sub ecx, dword [ebx + 0x28]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x20]
push edx
call esi
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
sub eax, 0x2c0
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
sar ecx, 1
sub eax, 0xac
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + 0x7a]
push edx
lea edx, [ecx + 0x2c0]
push edx
push eax
push ecx
lea eax, [esp + 0x34]
push eax
call esi
push 0xffffffffffffffd8
push 0
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, dword [ebx + 0xc4]
sub edx, eax
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
call fcn.00410b30
mov eax, 0x50d014
jmp 0x4b31e7
call fcn.00418d60
add esp, 4
push eax
call fcn.0041ad20
cmp dword [ebx + 0xc4], 0
je 0x4b3207
lea edx, [esp + 0x10]
test edx, edx
je 0x4b31c1
mov eax, dword [ebx + 0x34]
sub eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x30]
sub ecx, dword [ebx + 0x28]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x44]
push edx
call esi
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
sub eax, 0x2c0
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
sar ecx, 1
sub eax, 0xac
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + 0x7a]
push edx
lea edx, [ecx + 0x2c0]
push edx
push eax
push ecx
lea eax, [esp + 0x20]
push eax
call esi
push 0xffffffffffffffd8
push 0
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebx + 0xc4]
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
sub edx, ecx
push edx
call fcn.00410b30
mov eax, 0x5112d0
mov edi, dword [ebx + 0xc4]
push 0x5dc
push 0
call fcn.004a4fb0
mov eax, dword [ebx + 0xc4]
push 1
push eax
call fcn.00410a60
mov esi, ebx
call fcn.004b3240
lea ecx, [esp + 0x54]
call fcn.004016f0
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004c8f08
mov esp, ebp
pop ebp
ret 4