Function at 0x40de70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46f084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov byte [ebp - 0x11], 0
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x1c], esi
cmp eax, 0xe600
je 0x40ded1
cmp eax, 0xe700
jne 0x40e0d5
movzx eax, byte [esi]
shr eax, 4
sub eax, 2
jne 0x40e0d5
movzx eax, byte [ebx + 9]
push esi
push eax
call fcn.0040c230
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042df20
mov esp, ebp
pop ebp
ret
mov cl, byte [esi]
movzx eax, cl
shr eax, 4
push edi
sub eax, 2
je 0x40e092
sub eax, 0xd
jne 0x40e0d4
and cl, 0xf
cmp cl, 0xe
jne 0x40e0d4
movzx eax, byte [ebx + 9]
push eax
call fcn.00411e70
add esp, 4
mov byte [ebp - 0x18], al
cmp al, 0xff
jne 0x40df28
movzx eax, byte [ebx + 9]
push eax
call fcn.00411ea0
add esp, 4
mov byte [ebp - 0x18], al
cmp al, 0xff
je 0x40e0d4
mov byte [ebp - 0x11], 1
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00411d80
push ebx
mov al, byte [eax + 8]
mov byte [ebp - 0x12], al
call fcn.00411d80
push ebx
movzx eax, word [eax + 0xa]
mov dword [ebp - 0x20], eax
call fcn.00411d80
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x24], eax
call fcn.004072c0
mov dword [ebp - 0x10], eax
mov al, byte [esi + 1]
mov byte [ebp - 0xc], al
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl cx, 8
or cx, ax
mov word [ebp - 0xa], cx
movzx ecx, byte [esi + 5]
movzx eax, byte [esi + 4]
shl cx, 8
or cx, ax
mov word [ebp - 8], cx
mov al, byte [esi + 6]
mov byte [ebp - 6], al
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.00411fc0
add esp, 0x14
mov edi, 0x47fdc0
cmp byte [ebp - 0x11], 0
je 0x40dfcf
xor esi, esi
lea ebx, [esi + 4]
push dword [ebp - 0x18]
push edi
push esi
call fcn.0040fb70
add esp, 0xc
inc esi
add edi, 0x1c
sub ebx, 1
jne 0x40dfa8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042df20
mov esp, ebp
pop ebp
ret
mov esi, 4
xor ebx, ebx
mov dword [ebp - 0x1c], esi
nop dword [eax]
mov eax, dword [edi]
cmp eax, 7
ja case.0x40dfee.5
movzx eax, byte [eax + 0x40e0f0]
jmp dword [eax*4 + 0x40e0e8]
mov al, byte [ebp - 0x18]
cmp byte [edi + 4], al
jne case.0x40dfee.0
push dword [ebp - 0x18]
push edi
push ebx
call fcn.0040f880
add esp, 0xc
cmp dword [edi], 6
jne case.0x40dfee.0
push ebx
call fcn.00416370
add esp, 4
cmp byte [ebp - 0x12], al
je 0x40e02f
push ebx
call fcn.00416370
mov cl, byte [ebp - 0xc]
add esp, 4
cmp cl, al
jne case.0x40dfee.0
jmp 0x40e032
mov cl, byte [ebp - 0xc]
cmp cl, byte [ebp - 0x12]
jne 0x40e049
mov eax, dword [ebp - 0x20]
cmp word [ebp - 0xa], ax
jne 0x40e049
mov eax, dword [ebp - 0x24]
cmp word [ebp - 8], ax
je case.0x40dfee.0
push dword [ebp - 8]
mov esi, dword [edi + 0x14]
push dword [ebp - 0xa]
push ebx
call fcn.00416370
add esp, 4
cmp byte [ebp - 0xc], al
sete al
movzx eax, al
push eax
mov eax, dword [esi + 0x18]
push ebx
call eax
mov esi, dword [ebp - 0x1c]
add esp, 0x10
inc ebx
add edi, 0x1c
sub esi, 1
mov dword [ebp - 0x1c], esi
jne 0x40dfe0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042df20
mov esp, ebp
pop ebp
ret
mov eax, 4
xor esi, esi
mov edi, 0x47fdc0
mov dword [ebp - 0x18], eax
cmp dword [edi], 6
jne 0x40e0c8
push dword [ebp - 0x1c]
movzx eax, byte [ebx + 9]
push eax
push esi
call fcn.0040bc80
push dword [ebp - 0x1c]
movzx eax, byte [ebx + 9]
push eax
push esi
call fcn.0040c250
mov eax, dword [ebp - 0x18]
add esp, 0x18
inc esi
add edi, 0x1c
sub eax, 1
mov dword [ebp - 0x18], eax
jne 0x40e0a1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042df20
mov esp, ebp
pop ebp
ret