Function at 0x40fd40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a8c8
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 0x40fde9
mov edx, dword [ebp + 0x780]
push esi
push esi
push 0x101c
push edx
call edi
cmp eax, esi
jne 0x40fdd5
push 0xffffffffffffffff
push 0xc8
lea edi, [ebp + 0x764]
push esi
push 0x48752c
push esi
mov ecx, edi
call fcn.0044d9ea
push 0xffffffffffffffff
push 0x64
push esi
push 0x487124
push 1
mov ecx, edi
call fcn.0044d9ea
push 0xffffffffffffffff
push 0x64
push esi
push 0x487524
push 2
mov ecx, edi
call fcn.0044d9ea
push 0xffffffffffffffff
push 0x73
push esi
push 0x487518
push 3
mov ecx, edi
call fcn.0044d9ea
mov al, byte [ebp + 0x248]
lea ebx, [ebp + 0x248]
test al, al
je 0x40ffde
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x41
je 0x40fe8f
cmp cl, 0x42
je 0x40fe8f
movsx ecx, byte [esi + ebx + 1]
add ecx, 0xfffffffe
cmp ecx, 3
ja case.0x40fe6c.3
jmp dword [ecx*4 + 0x41002c]
mov ebp, 7
jmp 0x40fe94
mov ebp, 9
jmp 0x40fe94
mov ebp, 0xb
jmp 0x40fe94
mov ebp, 8
jmp 0x40fe94
mov ebp, 6
mov ecx, dword [0x48adc4]
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.0044cfab
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.0044da3d
push 1
push 0
push 0
push 0
push 0
mov ebp, eax
push 4
push 0
push ebp
mov ecx, edi
call fcn.0044dabf
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 [0x470c3c]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.0044cfab
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 2
push ebp
mov ecx, edi
call fcn.0044db38
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 [0x470c3c]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.0044cfab
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
push 3
push ebp
mov ecx, edi
call fcn.0044db38
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 0x40ffa1
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40ffa2
push esi
push 1
push ebp
mov ecx, edi
call fcn.0044db38
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.0045413b
mov cl, byte [esi + ebx]
lea eax, [esi + ebx]
test cl, cl
jne 0x40fe53
mov ebp, dword [esp + 0x24]
lea esi, [ebp + 0x244]
push 0x48f098
mov ecx, esi
call fcn.004542c4
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 0x487570
push ebp
call fcn.00410910
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