Function at 0x406460
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5752e8
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 0x406509
mov edx, dword [ebp + 0x780]
push esi
push esi
push 0x101c
push edx
call edi
cmp eax, esi
jne 0x4064f5
push 0xffffffffffffffff
push 0xc8
lea edi, [ebp + 0x764]
push esi
push 0x5c79dc
push esi
mov ecx, edi
call fcn.00553394
push 0xffffffffffffffff
push 0x64
push esi
push 0x5c79d4
push 1
mov ecx, edi
call fcn.00553394
push 0xffffffffffffffff
push 0x64
push esi
push 0x5c79cc
push 2
mov ecx, edi
call fcn.00553394
push 0xffffffffffffffff
push 0x73
push esi
push 0x5c79c0
push 3
mov ecx, edi
call fcn.00553394
mov al, byte [ebp + 0x248]
lea ebx, [ebp + 0x248]
test al, al
je 0x4066fe
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x41
je 0x4065af
cmp cl, 0x42
je 0x4065af
movsx ecx, byte [esi + ebx + 1]
add ecx, 0xfffffffe
cmp ecx, 3
ja case.0x40658c.3
jmp dword [ecx*4 + 0x40674c]
mov ebp, 7
jmp 0x4065b4
mov ebp, 9
jmp 0x4065b4
mov ebp, 0xb
jmp 0x4065b4
mov ebp, 8
jmp 0x4065b4
mov ebp, 6
mov ecx, dword [0x5c9d6c]
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.00552423
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.005533e7
push 1
push 0
push 0
push 0
push 0
mov ebp, eax
push 4
push 0
push ebp
mov ecx, edi
call fcn.00553469
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 [0x5894ac]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.00552423
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 2
push ebp
mov ecx, edi
call fcn.005534e2
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 [0x5894ac]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.00552423
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 3
push ebp
mov ecx, edi
call fcn.005534e2
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 0x4066c1
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4066c2
push esi
push 1
push ebp
mov ecx, edi
call fcn.005534e2
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.00559aed
mov cl, byte [esi + ebx]
lea eax, [esi + ebx]
test cl, cl
jne 0x406573
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 0x244]
push 0x5dd3c0
mov ecx, esi
call fcn.00559c76
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 0x5c7a20
push ebp
call fcn.00407020
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