Function at 0x40b980
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e2f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x1c], ebp
mov dword [0x6675f0], 0
call fcn.0040ae10
mov eax, dword [ebp + 0x72c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ebp + 0x6cc]
push 0
push 0x1003
push eax
call esi
mov eax, dword [ebp + 0x734]
mov ecx, dword [ebp + 0x6cc]
push eax
push 1
push 0x1003
push ecx
call esi
mov edx, dword [ebp + 0x6cc]
push 0
push 0
push 0x1009
push edx
call esi
mov eax, dword [ebp + 0x6cc]
push 0
push 0
push 0x101c
push eax
call esi
test eax, eax
je 0x40ba29
mov ecx, dword [ebp + 0x6cc]
push 0
push 0
push 0x101c
push ecx
call esi
test eax, eax
jne 0x40ba13
push 0xffffffffffffffff
push 0xc8
lea edi, [ebp + 0x6b0]
push 0
push 0x64abfc
push 0
mov ecx, edi
call fcn.005be245
push 0xffffffffffffffff
push 0x64
push 0
push 0x64abf4
push 1
mov ecx, edi
call fcn.005be245
push 0xffffffffffffffff
push 0x64
push 0
push 0x64abec
push 2
mov ecx, edi
call fcn.005be245
push 0xffffffffffffffff
push 0x73
push 0
push 0x64abe0
push 3
mov ecx, edi
call fcn.005be245
mov al, byte [ebp + 0x19c]
lea ebx, [ebp + 0x19c]
xor esi, esi
test al, al
je 0x40bc39
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x41
je 0x40baed
cmp cl, 0x42
je 0x40baed
movsx ecx, byte [esi + ebx + 1]
add ecx, 0xfffffffe
cmp ecx, 3
ja case.default.0x40bab3
jmp dword [ecx*4 + 0x40bc8c]
mov ebp, 3
jmp 0x40baef
mov ecx, dword [0x6675f0]
test ecx, ecx
jne case.default.0x40bab3
mov ebp, 1
mov dword [0x6675f0], ebp
jmp 0x40baef
mov ebp, 4
jmp 0x40baef
mov ebp, 5
jmp 0x40baef
mov ebp, 2
jmp 0x40baef
xor ebp, ebp
mov edx, dword [0x65290c]
mov dword [esp + 0x10], edx
movsx eax, byte [eax]
push eax
lea ecx, [esp + 0x14]
push str._c:_
push ecx
mov dword [esp + 0x44], 0
call fcn.005bd692
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, edi
push 0
push ebp
push 0
push 0
push edx
push esi
push 3
call fcn.005be298
push 1
push 0
push 0
push 0
push 0
mov ebp, eax
push 4
push 0
push ebp
mov ecx, edi
call fcn.005be31a
mov eax, dword [ebx + esi + 2]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov ecx, dword [ebx + esi + 6]
fild qword [esp + 0x20]
sub esp, 8
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
fmul dword [0x5fcbe4]
fstp qword [esp]
push str._10.1f_GB
push edx
call fcn.005bd692
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, edi
push eax
push 2
push ebp
call fcn.005be393
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
sub esp, 8
fild qword [esp + 0x30]
lea edx, [esp + 0x18]
fmul dword [0x5fcbe4]
fstp qword [esp]
push str._10.1f_GB
push edx
call fcn.005bd692
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, edi
push eax
push 3
push ebp
call fcn.005be393
add esi, 0xa
lea eax, [esi + ebx]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov dword [esp + 0x18], esi
add esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40bbfc
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x40bbfd
push esi
push 1
push ebp
mov ecx, edi
call fcn.005be393
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
lea esi, [edx + eax + 1]
call fcn.005c4b60
mov cl, byte [esi + ebx]
lea eax, [esi + ebx]
test cl, cl
jne 0x40ba9a
mov ebp, dword [esp + 0x1c]
push 0x6669b4
lea ecx, [ebp + 0x198]
call fcn.005c4ce9
mov eax, dword [ebp + 0x654]
push 0
push 0
push 0x14b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x64abb4
push ebp
mov dword [0x6675f4], 0
call fcn.0040c5b0
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret