Function at 0x49b962
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x49b979
lea esi, [ebx - 0x54]
jmp 0x49b97b
xor esi, esi
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [esp + 0x14], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x49b9bb
cmp dword [ebx + 0x14], 0xffffffff
je 0x49b9bb
cmp dword [ebx + 0x18], 0xffffffff
je 0x49b9bb
mov edi, dword [ebp + 8]
cmp edi, dword [ebx + 0x14]
cmovl edi, dword [ebx + 0x14]
mov dword [esp + 0x1c], edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebx + 0x18]
cmovl edi, dword [ebx + 0x18]
mov dword [esp + 0x18], edi
jmp 0x49b9c9
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [esp + 0x24], eax
test eax, eax
je 0x49b9e9
push 0
push 0
push 0xb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [ebx + 4], edi
jle 0x49bb6f
push edi
mov ecx, ebx
call fcn.004907fd
mov ecx, ebx
test dword [eax + 4], 0x1000
je 0x49bb39
push edi
call fcn.004907fd
push edi
mov ecx, ebx
movzx eax, byte [eax + 6]
mov dword [esp + 0x18], eax
call fcn.004907fd
lea edi, [esp + 0x28]
lea esi, [eax + 8]
mov eax, dword [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp eax, 1
jle 0x49bad3
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
inc esi
dec eax
mov dword [esp + 0x20], eax
push esi
mov ecx, ebx
call fcn.004907fd
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 8]
jl 0x49ba6b
push esi
mov ecx, ebx
call fcn.004907fd
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
push esi
mov ecx, ebx
call fcn.004907fd
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [eax + 0xc]
jl 0x49ba8b
push esi
mov ecx, ebx
call fcn.004907fd
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
push esi
mov ecx, ebx
call fcn.004907fd
mov ecx, dword [esp + 0x30]
cmp ecx, dword [eax + 0x10]
jg 0x49baab
push esi
mov ecx, ebx
call fcn.004907fd
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
push esi
mov ecx, ebx
call fcn.004907fd
cmp edi, dword [eax + 0x14]
jg 0x49bac3
push esi
mov ecx, ebx
call fcn.004907fd
mov edi, dword [eax + 0x14]
inc esi
sub dword [esp + 0x20], 1
jne 0x49ba4b
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], edi
and dword [esp + 0x20], 0
mov edi, dword [esp + 0x10]
test eax, eax
jle 0x49bb30
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
add eax, 0x54
mov dword [esp + 0x10], eax
xor eax, eax
test esi, esi
jle 0x49bb02
lea eax, [edi - 1]
mov ecx, ebx
add eax, esi
push eax
call fcn.004907fd
push eax
push 1
lea eax, [esi + edi]
mov ecx, ebx
push eax
call fcn.004907fd
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x28]
push dword [esp + 0x30]
call fcn.0049bba0
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x49baef
mov esi, dword [esp + 0xc]
dec edi
add edi, eax
jmp 0x49bb61
push 0
push 0
xorps xmm0, xmm0
push edi
movups xmmword [esp + 0x44], xmm0
call fcn.004907fd
push eax
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x28]
lea ecx, [esi + 0x54]
push dword [esp + 0x30]
call fcn.0049bba0
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [ebx + 4]
jl 0x49b9f8
cmp dword [esp + 0x24], 0
je 0x49bb85
push 0
push 1
push 0xb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x185
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8