Function at 0x409140
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x868
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
mov edi, 0x4136f8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov eax, ecx
mov esi, edi
mov edi, edx
mov ebx, dword [esp + 0x87c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, eax
mov al, byte [ebx + 0x18]
and ecx, 3
cmp al, 1
rep movsb byte es:[edi], byte [esi]
jne 0x4091ae
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + 0x24]
mov dl, byte [ebx + 0xb]
xor eax, eax
push ecx
mov al, byte [ebx + 0xc]
push 0
push edx
push eax
lea ecx, [esp + 0x88]
push 0x412c38
push ecx
jmp 0x4092ae
cmp al, 3
jne 0x4092b3
mov al, byte [ebx + 0x20]
cmp al, 1
jne 0x409230
cmp byte [ebx + 0x21], al
jne 0x4091d6
lea edx, [esp + 0x78]
push 0x412c2c
push edx
call ebp
add esp, 8
jmp 0x4092b3
cmp al, 1
jne 0x409230
cmp byte [ebx + 0x21], 3
jne 0x4091f4
lea eax, [esp + 0x78]
push 0x412c20
push eax
call ebp
add esp, 8
jmp 0x4092b3
cmp al, 1
jne 0x409230
cmp byte [ebx + 0x21], 2
jne 0x409212
lea ecx, [esp + 0x78]
push 0x412c10
push ecx
call ebp
add esp, 8
jmp 0x4092b3
cmp al, 1
jne 0x409230
cmp byte [ebx + 0x21], 0x82
jne 0x409230
lea edx, [esp + 0x78]
push 0x412c00
push edx
call ebp
add esp, 8
jmp 0x4092b3
cmp al, 2
jne 0x409245
lea eax, [esp + 0x78]
push 0x412bf4
push eax
call ebp
add esp, 8
jmp 0x4092b3
cmp al, 3
jne 0x40925a
lea ecx, [esp + 0x78]
push 0x412be8
push ecx
call ebp
add esp, 8
jmp 0x4092b3
cmp al, 4
jne 0x409285
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 0x24]
mov al, byte [ebx + 0x23]
push edx
xor ecx, ecx
mov cl, byte [ebx + 0xb]
xor edx, edx
mov dl, byte [ebx + 0xc]
push eax
push ecx
push edx
lea eax, [esp + 0x88]
push 0x412bc8
push eax
jmp 0x4092ae
cmp al, 5
jne 0x4092b3
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + 0x24]
mov dl, byte [ebx + 0x23]
push ecx
xor eax, eax
mov al, byte [ebx + 0xb]
xor ecx, ecx
mov cl, byte [ebx + 0xc]
push edx
push eax
push ecx
lea edx, [esp + 0x88]
push 0x412ba8
push edx
call ebp
add esp, 0x18
xor eax, eax
xor ecx, ecx
mov al, byte [ebx + 0xc]
mov cl, byte [ebx + 0xb]
push eax
xor edx, edx
mov dl, byte [ebx + 7]
xor eax, eax
mov al, byte [ebx + 8]
push ecx
push edx
xor ecx, ecx
mov cl, byte [ebx + 9]
push eax
xor edx, edx
xor eax, eax
mov dl, byte [ebx + 0xa]
mov al, byte [ebx + 6]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push 0x412b74
push ecx
call ebp
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x9c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x15]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor edx, edx
mov cl, byte [ebx + 0x14]
mov dl, byte [ebx + 0x10]
xor eax, eax
push ecx
mov al, byte [ebx + 0x11]
push edx
xor ecx, ecx
push eax
mov cl, byte [ebx + 0x12]
xor edx, edx
mov dl, byte [ebx + 0x13]
xor eax, eax
mov al, byte [ebx + 0xf]
push ecx
push edx
push eax
lea ecx, [esp + 0x54]
push 0x412b44
push ecx
call ebp
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x48
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, byte [ebx + 0x1c]
and ecx, 3
xor edx, edx
mov dl, byte [ebx + 0x1a]
push eax
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
xor eax, eax
mov cl, byte [ebx + 0x1b]
mov al, byte [ebx + 0x19]
shl ecx, 8
add ecx, edx
lea edx, [esp + 0x18]
push ecx
xor ecx, ecx
mov cl, byte [ebx + 0x18]
push eax
push ecx
push str.CLASS_d
push edx
call ebp
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x78]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
call fcn.004011b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x868
ret 8