Function at 0x406f40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56d2a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x14]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_Shell_GetImageLists]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x780]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
push esi
push 0x1003
push eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x780]
push ecx
push 1
push 0x1003
push edx
call edi
mov eax, dword [ebp + 0x780]
push esi
push esi
push 0x1009
push eax
call edi
mov ecx, dword [ebp + 0x780]
push esi
push esi
push 0x101c
push ecx
call edi
cmp eax, esi
je 0x406fe9
mov edx, dword [ebp + 0x780]
push esi
push esi
push 0x101c
push edx
call edi
cmp eax, esi
jne 0x406fd5
push 0xffffffffffffffff
push 0xc8
lea edi, [ebp + 0x764]
push esi
push 0x5c0ea4
push esi
mov ecx, edi
call fcn.0054bfda
push 0xffffffffffffffff
push 0x64
push esi
push 0x5c0e9c
push 1
mov ecx, edi
call fcn.0054bfda
push 0xffffffffffffffff
push 0x64
push esi
push 0x5c0e94
push 2
mov ecx, edi
call fcn.0054bfda
push 0xffffffffffffffff
push 0x73
push esi
push 0x5c0e88
push 3
mov ecx, edi
call fcn.0054bfda
mov al, byte [ebp + 0x248]
lea ebx, [ebp + 0x248]
test al, al
je 0x4071de
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x41
je 0x40708f
cmp cl, 0x42
je 0x40708f
movsx ecx, byte [esi + ebx + 1]
add ecx, 0xfffffffe
cmp ecx, 3
ja case.0x40706c.3
jmp dword [ecx*4 + 0x40722c]
mov ebp, 7
jmp 0x407094
mov ebp, 9
jmp 0x407094
mov ebp, 0xb
jmp 0x407094
mov ebp, 8
jmp 0x407094
mov ebp, 6
mov ecx, dword [0x5d2724]
mov dword [esp + 0x10], ecx
movsx edx, byte [eax]
push edx
lea eax, [esp + 0x14]
push str._c:_
push eax
mov dword [esp + 0x4c], 0
call fcn.0054b3fa
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0
push ebp
push 0
push 0
push ecx
push esi
push 3
mov ecx, edi
call fcn.0054c02d
push 1
push 0
push 0
push 0
push 0
mov ebp, eax
push 4
push 0
push ebp
mov ecx, edi
call fcn.0054c0af
mov eax, dword [ebx + esi + 2]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov edx, dword [ebx + esi + 6]
fild qword [esp + 0x28]
sub esp, 8
lea eax, [esp + 0x18]
mov dword [esp + 0x24], edx
fmul dword [0x5815cc]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.0054b3fa
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 2
push ebp
mov ecx, edi
call fcn.0054c128
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], edx
sub esp, 8
fild qword [esp + 0x38]
lea eax, [esp + 0x18]
fmul dword [0x5815cc]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.0054b3fa
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 3
push ebp
mov ecx, edi
call fcn.0054c128
add esi, 0xa
lea eax, [esi + ebx]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov dword [esp + 0x20], esi
add esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4071a1
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4071a2
push esi
push 1
push ebp
mov ecx, edi
call fcn.0054c128
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], 0xffffffff
lea esi, [ecx + eax + 1]
lea ecx, [esp + 0x10]
call fcn.00552728
mov cl, byte [esi + ebx]
lea eax, [esi + ebx]
test cl, cl
jne 0x407053
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 0x244]
push 0x5d7050
mov ecx, esi
call fcn.005528b1
mov edx, dword [ebp + 0x708]
push 0
push 0
push 0x14b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
push eax
push 0x5c0ee4
push ebp
call fcn.00407b00
mov ecx, dword [esp + 0x44]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret