Function at 0x403370
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x534
push ebx
mov ebx, dword [esp + 0x53c]
push ebp
push esi
mov al, byte [ebx]
push edi
cmp al, 0xe5
mov ebp, ecx
jne 0x4033a4
lea eax, [esp + 0x144]
push 0x41227c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
jmp 0x4035c8
cmp al, 0x10
jne 0x403435
xor eax, eax
mov al, byte [ebx + 1]
mov esi, eax
mov ecx, eax
shr esi, 6
and esi, 1
jne 0x4033d2
shr ecx, 4
shr eax, 5
and ecx, 1
and eax, 1
push ecx
push eax
push 0x412264
jmp 0x4033e5
shr ecx, 4
shr eax, 5
and ecx, 1
and eax, 1
push ecx
push eax
push 0x41224c
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x150]
push edx
call edi
mov al, byte [ebx + 1]
add esp, 0x10
and eax, 0xf
lea ecx, [esp + 0x18]
push esi
push eax
push ecx
mov ecx, ebp
call fcn.00403620
mov al, byte [ebx + 1]
lea edx, [esp + 0x18]
xor ecx, ecx
and eax, 0xf
mov cl, byte [ebx + 2]
push edx
push eax
push ecx
lea edx, [esp + 0x88]
push 0x41222c
push edx
call edi
add esp, 0x14
jmp 0x403598
cmp al, 0x68
jne 0x4035c8
xor eax, eax
mov al, byte [ebx + 4]
mov esi, eax
mov ecx, eax
shr esi, 6
and esi, 1
jne 0x403463
shr ecx, 4
shr eax, 5
and ecx, 1
and eax, 1
push ecx
push eax
push 0x412214
jmp 0x403476
shr ecx, 4
shr eax, 5
and ecx, 1
and eax, 1
push ecx
push eax
push 0x4121fc
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov al, byte [ebx + 4]
add esp, 0x10
and eax, 0xf
lea ecx, [esp + 0x18]
push esi
push eax
push ecx
mov ecx, ebp
call fcn.00403620
mov al, byte [ebx + 4]
lea edx, [esp + 0x18]
xor ecx, ecx
and eax, 0xf
mov cl, byte [ebx + 5]
push edx
push eax
push ecx
lea edx, [esp + 0x88]
push 0x41222c
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x90]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x144]
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 eax, dword [ebp + 0x64098]
mov ecx, edx
and ecx, 3
cmp eax, 2
rep movsb byte es:[edi], byte [esi]
jne 0x40350a
mov cl, byte [ebx + 8]
mov byte [esp + 0x10], cl
jmp 0x403516
cmp eax, 1
jne 0x403516
mov dl, byte [ebx + 8]
mov byte [esp + 0x10], dl
mov ecx, dword [ebp + 0x64094]
cmp ecx, 2
jne 0x40352b
mov al, byte [eax + ebx + 8]
mov byte [esp + 0x14], al
jmp 0x403538
cmp ecx, 1
jne 0x403538
mov cl, byte [eax + ebx + 8]
mov byte [esp + 0x14], cl
xor edx, edx
lea eax, [esp + 0x18]
mov dl, byte [ebx + 6]
mov ecx, ebp
push edx
push eax
call fcn.004073f0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xe0]
and ecx, 0xff
push ecx
push edx
mov ecx, ebp
call fcn.00407720
mov eax, dword [esp + 0x14]
mov dl, byte [ebx + 7]
and eax, 0xff
lea ecx, [esp + 0xe0]
push eax
and edx, 0x7f
push ecx
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x8c]
push 0x4121c8
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea edi, [esp + 0x7c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x144]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x144]
mov ecx, ebp
push eax
call fcn.004011b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret 8