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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57cc70
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi + 0x1c], ecx
je 0x4b2e09
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x58]
add edx, eax
cmp edx, 0x10000
jbe 0x4b2acc
mov word [esi + 0x50], 8
movsx eax, word [esi + 0x54]
push ebx
push ebp
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x628ec8
push ecx
push 0x31
movsx eax, word [esi + 0x56]
push ecx
push ecx
push ecx
push 1
push ecx
push ecx
push ecx
push 0x190
push ecx
push ecx
push ecx
push eax
mov dword [esp + 0x70], ecx
call dword [0x73634c]
push eax
lea ecx, [esp + 0x2c]
call fcn.005622b5
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00561886
mov edi, eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x28]
push 0x6fb104
lea ecx, [esp + 0x18]
mov ebp, eax
call fcn.0055ae5f
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [edi + 8]
push eax
call dword [0x736360]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ebx, [esi + 0x80]
mov dword [ebx], ecx
lea ecx, [esp + 0x14]
mov dword [ebx + 4], edx
call fcn.0055adeb
push ebx
mov ecx, edi
call fcn.00561fa4
mov eax, dword [edi]
push ebp
mov ecx, edi
call dword [eax + 0x28]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0xa8]
push edi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, esi
call fcn.0055f0d3
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, 0x200000
je 0x4b2bbe
push 2
call ebx
add dword [esi + 0xb0], eax
mov ecx, esi
call fcn.0055f0d3
test eax, 0x100000
je 0x4b2bd6
push 3
call ebx
add dword [esi + 0xb4], eax
xor eax, eax
xor ebx, ebx
cmp word [esi + 0x52], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jne 0x4b2bfa
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x4b2bfa
mov ecx, 1
jmp 0x4b2bfc
xor ecx, ecx
mov dword [esi + 0x5c], ecx
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x20], eax
mov eax, ecx
mov dword [esp + 0x1c], ebx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [edi + 8]
sar edx, 1
sub eax, edx
mov edx, dword [edi]
sub eax, edx
cdq
idiv ecx
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
cdq
idiv dword [esi + 0x84]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4b2c4e
movsx eax, word [esi + 0x50]
add eax, 2
mov dword [esi + 0x9c], eax
jmp 0x4b2c58
mov dword [esi + 0x9c], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b2c96
mov eax, dword [esi + 0x5c]
mov ebp, dword [esi + 0x9c]
test eax, eax
mov eax, dword [esi + 0x70]
je 0x4b2c7c
movsx ecx, word [esi + 0x52]
sub eax, ebp
dec eax
add ecx, 2
jmp 0x4b2c84
movsx ecx, word [esi + 0x52]
sub eax, ebp
inc eax
inc ecx
cdq
idiv ecx
test ax, ax
mov word [esi + 0x54], ax
jg 0x4b2c96
mov word [esi + 0x54], 1
movsx ecx, word [esi + 0x52]
mov dx, word [esi + 0x54]
mov ebp, dword [esi + 0x9c]
movsx ebx, dx
lea eax, [ecx + 1]
imul eax, ebx
add eax, ebp
cmp dx, 0x10
mov dword [esi + 0x78], eax
mov dword [esi + 0xa0], eax
jne 0x4b2ccb
lea eax, [eax + ecx + 1]
mov dword [esi + 0xa0], eax
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4b2cf4
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x78]
sar eax, 1
imul eax, ebx
inc eax
add edx, eax
mov eax, dword [esi + 0xa0]
inc eax
mov dword [esi + 0x78], edx
mov dword [esi + 0xa0], eax
jmp 0x4b2cf7
dec dword [esi + 0x78]
mov eax, ecx
mov ebp, dword [esi + 0x44]
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
sar ecx, 1
imul ecx, ebx
cdq
idiv ecx
mov edx, dword [esi + 0x78]
mov ebx, dword [esp + 0x10]
inc eax
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x70]
cmp edx, eax
jle 0x4b2d40
test ebx, ebx
jne 0x4b2d40
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0xb4]
mov ebx, 1
sub ecx, eax
mov dword [esp + 0x10], ebx
mov dword [esi + 0xb4], ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x74]
cmp eax, ecx
mov eax, dword [esp + 0x14]
jle 0x4b2d71
test eax, eax
jne 0x4b2d71
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0xb0]
sub ecx, eax
mov eax, 1
mov dword [esi + 0xb0], ecx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x1c], ebx
jne 0x4b2bff
cmp dword [esp + 0x20], eax
jne 0x4b2bff
mov ax, word [esi + 0x52]
cmp ax, 2
je 0x4b2db1
movsx eax, ax
mov edi, dword [esi + 0x44]
push 0xffffffffffffffff
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
lea eax, [ecx + edi - 1]
cdq
idiv ecx
imul eax, ecx
push eax
lea ecx, [esi + 0x3c]
call fcn.00559e96
mov eax, dword [esi + 0x94]
movsx ecx, word [esi + 0x54]
cdq
idiv ecx
imul eax, ecx
mov ecx, esi
mov dword [esi + 0x94], eax
call fcn.004b3160
mov ecx, esi
call fcn.004b3380
mov ecx, esi
call fcn.0055f0d3
pop edi
pop ebp
test eax, 0x200000
pop ebx
jne 0x4b2df0
mov dword [esi + 0x94], 0
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call fcn.0056230c
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret