Function at 0x40b553
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
xor esi, esi
push edi
cmp ebx, esi
je 0x40b56d
lea edi, [ebx - 0x58]
mov dword [esp + 0x10], edi
jmp 0x40b573
mov dword [esp + 0x10], esi
mov edi, esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x40b5a5
mov eax, dword [ebx + 0x14]
cmp eax, 0xffffffff
je 0x40b5a5
mov ecx, dword [ebx + 0x18]
cmp ecx, 0xffffffff
je 0x40b5a5
cmp dword [ebp + 8], eax
jge 0x40b59d
mov dword [ebp + 8], eax
cmp dword [ebp + 0xc], ecx
jge 0x40b5a5
mov dword [ebp + 0xc], ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x40b5c3
push esi
push esi
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov dword [esp + 0xc], edx
cmp dword [ebx + 4], esi
jg 0x40b5fe
cmp dword [esp + 0x1c], esi
je 0x40b5e2
push esi
push 1
push 0xb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x185
push esi
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0xc]
cmp edx, esi
jl 0x40b787
cmp edx, dword [ebx + 4]
jge 0x40b787
mov eax, edx
imul eax, eax, 0x18
mov dword [esp + 0x14], eax
add eax, dword [ebx]
test dword [eax + 4], 0x1000
je 0x40b733
movzx ecx, byte [eax + 6]
lea esi, [eax + 8]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
mov dword [esp + 0x18], ecx
mov dword [esp + 8], esi
cmp ecx, esi
jle 0x40b69d
lea edi, [edx + 1]
add eax, 0x24
test edi, edi
js 0x40b772
cmp edi, dword [ebx + 4]
jge 0x40b772
mov esi, dword [eax - 4]
cmp dword [esp + 0x20], esi
jl 0x40b669
mov dword [esp + 0x20], esi
mov esi, dword [eax]
cmp dword [esp + 0x24], esi
jl 0x40b675
mov dword [esp + 0x24], esi
mov esi, dword [eax + 4]
cmp dword [esp + 0x28], esi
jg 0x40b682
mov dword [esp + 0x28], esi
mov esi, dword [eax + 8]
cmp dword [esp + 0x2c], esi
jg 0x40b68f
mov dword [esp + 0x2c], esi
inc dword [esp + 8]
add eax, 0x18
inc edi
cmp dword [esp + 8], ecx
jl 0x40b64b
and dword [esp + 8], 0
test ecx, ecx
jle 0x40b725
mov ecx, dword [esp + 0x14]
mov edi, edx
mov dword [esp + 0x14], ecx
jmp 0x40b6b6
mov ecx, dword [esp + 0x14]
xor edx, edx
xor eax, eax
cmp dword [esp + 8], edx
jle 0x40b6da
lea eax, [edi - 1]
cmp eax, edx
jl 0x40b783
cmp eax, dword [ebx + 4]
jge 0x40b783
mov eax, dword [ebx]
lea eax, [ecx + eax - 0x18]
cmp edi, edx
jl 0x40b783
cmp edi, dword [ebx + 4]
jge 0x40b783
mov esi, dword [ebx]
push eax
mov eax, dword [esp + 0x14]
push 1
push dword [ebp + 0xc]
add eax, 0x58
push dword [ebp + 8]
add esi, ecx
push eax
lea eax, [esp + 0x34]
call fcn.0040b78b
inc dword [esp + 8]
add dword [esp + 0x14], 0x18
mov eax, dword [esp + 8]
inc edi
cmp eax, dword [esp + 0x18]
jl 0x40b6b2
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
lea eax, [edx + ecx - 1]
mov dword [esp + 0xc], eax
jmp 0x40b75a
push esi
push esi
push dword [ebp + 0xc]
mov dword [esp + 0x3c], esi
push dword [ebp + 8]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
lea ecx, [edi + 0x58]
mov esi, eax
push ecx
lea eax, [esp + 0x44]
call fcn.0040b78b
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
xor esi, esi
cmp eax, dword [ebx + 4]
jl 0x40b5fa
jmp 0x40b5ce
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push edx
push edx
jmp 0x40b776
push esi
push esi
jmp 0x40b776