Function at 0x48521b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x4963dc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 6
mov dword [esp + 0x1c], ecx
call esi
mov edi, eax
push 4
mov dword [esp + 0x10], edi
call esi
mov esi, eax
mov edx, 0x200
mov ecx, 0x2d0
sub esi, edi
call fcn.0048331a
lea ecx, [esp + 0x24]
mov dword [0x49ab60], eax
mov dword [0x49a26c], eax
call fcn.0040de30
test eax, eax
jne 0x485294
push 0x20
lea eax, [esp + 0x28]
push eax
push 0x140005
push dword [0x49b110]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_1115]
mov dword [esp + 0x44], 0xffffff60
xor ecx, ecx
mov dword [esp + 0x48], 0x190
mov word [esp + 0x4c], cx
mov byte [esp + 0x50], cl
cmp dword [0x49b160], ecx
je 0x4852bd
mov eax, dword [0x4992a0]
mov al, byte [eax + 6]
mov byte [esp + 0x4e], al
jmp 0x4852c1
mov byte [esp + 0x4e], cl
mov eax, dword [0x49a26c]
mov byte [esp + 0x4f], 0x32
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea ecx, [esp + 0x24]
call fcn.0048180a
mov ecx, eax
mov eax, dword [0x49a26c]
push ecx
push dword [0x49b11c]
mov dword [eax + 8], ecx
call fcn.004819a4
push 3
pop ecx
mov dword [esp + 0x10], eax
mov edx, dword [eax]
mov ebx, dword [edx + 0x18]
cmp ebx, ecx
cmovg ecx, ebx
add edi, 4
add ecx, dword [edx + 0x20]
sub ecx, ebx
add ecx, edi
mov edi, dword [edx + 0x14]
mov edx, dword [esp + 0xc]
cmp esi, ecx
cmovg ecx, esi
mov esi, dword [0x49a26c]
sub edi, ebx
mov dword [esp + 0x14], ecx
mov eax, edi
shr ecx, 1
shr eax, 1
sub ecx, eax
mov eax, ecx
sub eax, ebx
add edx, eax
mov dword [esi + 0x58], edx
lea eax, [edx - 1]
add eax, edi
add eax, ebx
xor ebx, ebx
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffffe
add eax, ecx
mov dword [esi + 0x60], eax
add eax, 3
add eax, edi
mov edi, dword [esp + 0x14]
push edi
push ebx
push edx
mov dword [esi + 0x64], eax
lea eax, [esi + 0x28]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push 0xa
push eax
call esi
mov edx, dword [0x49a26c]
mov eax, dword [esp + 0xc]
push 0xc
pop ecx
or dword [edx + 0x7c], 0xffffffff
mov dword [edx + 0x68], eax
lea eax, [edx + 0x80]
mov dword [edx + 0xc], ebx
mov dword [edx + 0x10], ebx
mov dword [edx + 0x240], 7
mov dword [edx + 0x23c], 0x49b020
mov dword [eax], 1
lea eax, [eax + 0x25]
sub ecx, 1
jne 0x48539f
push edi
push ebx
push 1
push ebx
lea eax, [edx + 0x38]
push eax
call esi
mov eax, dword [0x49a26c]
push edi
push ebx
push 1
push ebx
add eax, 0x48
push eax
call esi
cmp dword [0x49b340], ebx
je 0x4853d5
push 0x10
pop eax
jmp 0x4853dc
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push ebx
push 0x22
push eax
push dword [0x49b2dc]
mov edx, 0x484744
push ebx
push ebx
push 0x29
pop ecx
call fcn.004138ee
push ebx
push ebx
push dword [0x4999c0]
xor edx, edx
push edi
push edi
push ebx
push ebx
push 0x44000000
push 0x29
pop ecx
call fcn.0041309a
mov ecx, dword [0x49a26c]
push eax
mov dword [ecx], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
jne 0x48542f
xor ecx, ecx
inc ecx
call fcn.00483127
jmp 0x485436
mov ecx, esi
call fcn.0048301f
mov eax, dword [0x49a26c]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xe
push esi
mov dword [eax + 4], esi
call edi
cmp eax, 1
jne 0x48545d
push 0xc
push esi
call edi
cmp eax, 1
jne 0x48545d
xor ecx, ecx
inc ecx
jmp 0x48545f
mov ecx, ebx
mov eax, dword [0x49a26c]
push ebx
mov dword [eax + 0x14], ecx
call fcn.004846ad
mov edx, dword [esp + 0x10]
mov ecx, esi
push 1
push 3
mov edx, dword [edx]
mov edx, dword [edx]
call fcn.00482ca0
xor edx, edx
mov ecx, esi
inc edx
call fcn.0048326e
mov eax, dword [0x49a26c]
lea edi, [eax + 0x244]
cmp dword [eax + 0x240], ebx
jbe 0x4854e6
mov eax, dword [esp + 0x18]
mov edx, dword [eax + ebx*4]
mov ecx, edx
mov dword [edi], edx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4854af
sub ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push ecx
push edx
push esi
mov dword [edi + 4], ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [esp + 0x1c]
add eax, 2
inc ebx
mov dword [edi + 0x10], eax
add edi, 0x14
mov eax, dword [0x49a26c]
cmp ebx, dword [eax + 0x240]
jb 0x48549d
push 7
xor edx, edx
mov dword [0x49ab64], 1
pop ecx
call fcn.0041284d
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 4