Function at 0x475f20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x574
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
push 0
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x24], esi
call fcn.00477020
mov ebx, dword [esp + 0x58c]
mov ebp, dword [esp + 0x588]
mov edx, ebp
mov ecx, dword [esi + 0xc]
push ebx
call fcn.00486c90
mov ecx, dword [esi + 0xc]
push 0x18
push eax
mov dword [ecx + eax*4], ebx
mov ecx, dword [esi + 0x10]
call fcn.00477020
push 0x100
xor edi, edi
lea eax, [esp + 0x180]
push edi
push eax
call fcn.004a5da0
add esp, 0xc
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [esp + 0x6c], xmm0
test ebx, ebx
je 0x475fa1
nop dword [eax]
movzx eax, byte [ecx + ebp]
inc ecx
mov byte [esp + eax + 0x17c], 1
cmp ecx, ebx
jb 0x475f90
xor ecx, ecx
cmp byte [esp + ecx + 0x17c], 0
je 0x475fbc
mov eax, ecx
mov byte [esp + edi + 0x7c], cl
shr eax, 4
inc edi
mov byte [esp + eax + 0x6c], 1
inc ecx
cmp ecx, 0x100
jb 0x475fa3
mov ebx, dword [esp + 0x1c]
xor esi, esi
nop dword [eax + eax]
movzx eax, byte [esp + esi + 0x6c]
mov ecx, dword [ebx + 0x10]
push 1
push eax
call fcn.00477020
inc esi
cmp esi, 0x10
jb 0x475fd0
xor esi, esi
nop dword [eax + eax]
mov eax, esi
shr eax, 4
cmp byte [esp + eax + 0x6c], 0
je 0x47600f
movzx eax, byte [esp + esi + 0x17c]
mov ecx, dword [ebx + 0x10]
push 1
push eax
call fcn.00477020
inc esi
cmp esi, 0x100
jb 0x475ff0
mov edx, dword [esp + 0x1c]
lea eax, [edi + 2]
mov dword [esp + 0x34], eax
lea edi, [esp + 0x17c]
mov eax, dword [ebx + 4]
mov ecx, 0x102
mov dword [esp + 0x30], eax
xor esi, esi
xor eax, eax
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0xc]
xor ebp, ebp
mov dword [esp + 0x3c], eax
nop word [eax + eax]
mov eax, dword [eax + ebp*4]
xor edx, edx
mov ecx, dword [esp + 0x588]
mov ah, byte [eax + ecx - 1]
cmp byte [esp + 0x7c], ah
je 0x47606d
inc edx
cmp byte [esp + edx + 0x7c], ah
jne 0x476066
mov ecx, edx
mov dword [esp + 0x40], ecx
cmp edx, 8
jb 0x4760c0
mov edi, edx
lea ecx, [esp + edx + 0x7a]
shr edi, 3
mov al, byte [ecx + 1]
lea ecx, [ecx - 8]
mov byte [ecx + 0xa], al
sub edx, 8
mov al, byte [ecx + 8]
mov byte [ecx + 9], al
mov al, byte [ecx + 7]
mov byte [ecx + 8], al
mov al, byte [ecx + 6]
mov byte [ecx + 7], al
mov al, byte [ecx + 5]
mov byte [ecx + 6], al
mov al, byte [ecx + 4]
mov byte [ecx + 5], al
mov al, byte [ecx + 3]
mov byte [ecx + 4], al
mov al, byte [ecx + 2]
mov byte [ecx + 3], al
sub edi, 1
jne 0x476081
mov ecx, dword [esp + 0x40]
test edx, edx
je 0x4760d1
mov al, byte [esp + edx + 0x7b]
mov byte [esp + edx + 0x7c], al
sub edx, 1
jne 0x4760c4
mov edi, dword [esp + 0x30]
mov byte [esp + 0x7c], ah
test ecx, ecx
jne 0x4760e0
inc ebx
jmp 0x476121
test ebx, ebx
je 0x4760fd
dec ebx
mov al, bl
and al, 1
mov byte [esi + edi], al
mov eax, ebx
and eax, 1
inc esi
inc dword [esp + eax*4 + 0x17c]
shr ebx, 1
jne 0x4760e4
lea edx, [esi + edi]
mov al, cl
inc esi
cmp ecx, 0xfe
jb 0x476116
add al, 2
mov byte [edx], 0xff
mov byte [esi + edi], al
inc esi
jmp 0x47611a
inc al
mov byte [edx], al
inc dword [esp + ecx*4 + 0x180]
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, dword [esp + 0x58c]
jb 0x476050
test ebx, ebx
je 0x476150
dec ebx
mov al, bl
and al, 1
mov byte [esi + edi], al
mov eax, ebx
and eax, 1
inc esi
inc dword [esp + eax*4 + 0x17c]
shr ebx, 1
jne 0x476137
mov ecx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [esp + 0x38], eax
cmp ecx, 0x100
jae 0x47616c
mov al, cl
dec al
mov byte [esi + edi], al
jmp 0x476178
mov byte [esi + edi], 0xff
mov byte [eax + edi], cl
inc eax
mov dword [esp + 0x38], eax
inc dword [esp + ecx*4 + 0x178]
xorps xmm1, xmm1
xor eax, eax
xorps xmm2, xmm2
nop word [eax + eax]
movups xmm0, xmmword [esp + eax*4 + 0x17c]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + eax*4 + 0x18c]
add eax, 8
paddd xmm2, xmm0
cmp eax, 0x100
jb 0x476190
paddd xmm1, xmm2
xor ecx, ecx
movaps xmm0, xmm1
xor edx, edx
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd edi, xmm1
mov dword [esp + 0x40], edi
cmp eax, 0x102
jae 0x476222
mov esi, 0x102
sub esi, eax
cmp esi, 2
jb 0x476212
nop dword [eax]
add ecx, dword [esp + eax*4 + 0x17c]
add edx, dword [esp + eax*4 + 0x180]
add eax, 2
mov esi, eax
cmp eax, 0x101
jb 0x4761f0
cmp esi, 0x102
jae 0x476219
add edi, dword [esp + eax*4 + 0x17c]
lea eax, [edx + ecx]
add edi, eax
mov dword [esp + 0x40], edi
mov ebp, dword [esp + 0x1c]
lea ecx, [edi + 0x31]
mov dword [esp + 0x3c], 2
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x44], 2
mov esi, dword [ebp + 0x10]
mov bl, byte [ebp + 0x8cd8]
mov eax, dword [esi]
mov bh, byte [esi + 8]
mov byte [esp + 0x2f], bh
lea eax, [eax*8 + 8]
sub eax, dword [esi + 4]
mov dword [esp + 0x58], eax
mov eax, 0x51eb851f
mul ecx
mov ecx, dword [esp + 0x58]
lea eax, [ebp + 0x620]
mov dword [esp + 0x60], eax
lea eax, [ebp + 0x14]
shr edx, 4
mov dword [esp + 0x64], eax
lea eax, [ebp + 0x3680]
mov dword [esp + 0x50], edx
mov edx, 2
mov dword [esp + 0x54], eax
test bl, bl
je 0x4762c5
mov eax, ecx
shr eax, 3
mov dword [esi], eax
mov eax, ecx
and eax, 7
mov ecx, 8
sub ecx, eax
cmp edx, 6
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov byte [eax + 8], bh
mov eax, edx
mov esi, dword [ebp + 0x10]
cmova eax, dword [esp + 0x3c]
jmp 0x476304
cmp edi, 0xc8
jae 0x4762d4
mov eax, 2
jmp 0x476304
cmp edi, 0x258
jae 0x4762e3
mov eax, 3
jmp 0x476304
cmp edi, 0x4b0
jae 0x4762f2
mov eax, 4
jmp 0x476304
mov eax, 5
cmp edi, 0x960
jb 0x476304
mov eax, 6
push 3
push eax
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00477020
mov ecx, dword [ebp + 0x10]
push 0xf
push dword [esp + 0x54]
call fcn.00477020
mov esi, dword [esp + 0x14]
mov ecx, edi
mov ebx, dword [esp + 0x1c]
xor edi, edi
imul eax, esi, 0x102
add ebx, 0xffffff12
mov dword [esp + 0x18], ecx
mov ebp, esi
add ebx, eax
mov dword [esp + 0x20], ebx
xor edx, edx
mov eax, ecx
div ebp
xor edx, edx
mov ecx, edi
test eax, eax
je 0x47635e
add edx, dword [esp + ecx*4 + 0x17c]
inc ecx
cmp edx, eax
jb 0x476352
lea eax, [edi + 1]
cmp ecx, eax
jbe 0x47637e
cmp ebp, esi
je 0x47637e
cmp ebp, 1
je 0x47637e
mov eax, esi
sub eax, ebp
test al, 1
je 0x47637e
dec ecx
sub edx, dword [esp + ecx*4 + 0x17c]
xor eax, eax
mov esi, ebx
cmp eax, edi
jb 0x47638e
cmp eax, ecx
jae 0x47638e
xor bl, bl
jmp 0x476390
mov bl, 1
mov byte [esi], bl
inc eax
inc esi
cmp eax, dword [esp + 0x34]
jb 0x476382
mov ebx, dword [esp + 0x20]
mov edi, ecx
mov ecx, dword [esp + 0x18]
sub ebx, 0x102
mov esi, dword [esp + 0x14]
sub ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
sub ebp, 1
jne 0x476344
mov dword [esp + 0x28], 4
mov edi, dword [esp + 0x60]
xor esi, esi
nop dword [eax + eax]
push 0x408
push 0
push edi
call fcn.004a5da0
inc esi
add esp, 0xc
add edi, 0x408
cmp esi, dword [esp + 0x14]
jb 0x4763d0
mov eax, dword [esp + 0x54]
xor edi, edi
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov eax, dword [esp + 0x30]
xor esi, esi
mov edx, dword [esp + 0x38]
nop word [eax + eax]
movzx ecx, byte [edi + eax]
inc edi
cmp ecx, 0xff
jb 0x476428
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, dword [esp + 0x30]
inc edi
mov dword [esp + esi*4 + 0x7c], ecx
inc esi
cmp esi, 0x32
jae 0x476436
cmp edi, edx
jb 0x476410
mov ebx, dword [esp + 0x64]
or ebp, 0xffffffff
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], 0
nop dword [eax]
xor edx, edx
xor eax, eax
mov ecx, dword [esp + eax*4 + 0x7c]
inc eax
movzx ecx, byte [ecx + ebx]
add edx, ecx
cmp eax, esi
jb 0x476454
mov ecx, dword [esp + 0x20]
cmp edx, ebp
jae 0x476473
mov byte [edi], cl
mov ebp, edx
mov al, cl
jmp 0x476475
mov al, byte [edi]
inc ecx
add ebx, 0x102
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x14]
jb 0x476450
mov ebp, dword [esp + 0x1c]
inc dword [esp + 0x18]
mov edi, dword [esp + 0x24]
movzx eax, al
imul edx, eax, 0x408
add edx, ebp
xor ecx, ecx
nop
mov eax, dword [esp + ecx*4 + 0x7c]
inc ecx
inc dword [edx + eax*4 + 0x620]
cmp ecx, esi
jb 0x4764a0
cmp edi, dword [esp + 0x38]
jb 0x476400
xor edi, edi
lea ebx, [ebp + 0x14]
lea esi, [ebp + 0x620]
mov ecx, dword [esp + 0x34]
xor eax, eax
nop dword [eax + eax]
cmp dword [esi + eax*4], 0
jne 0x4764dd
mov dword [esi + eax*4], 1
inc eax
cmp eax, ecx
jb 0x4764d0
push 0x10
push 0x102
push ebx
lea edx, [esi + 0x1830]
mov ecx, esi
call fcn.00487840
mov ecx, dword [esp + 0x14]
inc edi
add esi, 0x408
add ebx, 0x102
cmp edi, ecx
jb 0x4764c5
sub dword [esp + 0x28], 1
jne 0x4763c5
xor eax, eax
nop dword [eax]
mov byte [esp + eax + 0x48], al
inc eax
cmp eax, ecx
jb 0x476520
mov al, byte [esp + 0x48]
xor edi, edi
nop
mov bl, byte [edi + ebp + 0x3680]
xor esi, esi
cmp al, bl
je 0x476553
nop dword [eax]
mov ecx, dword [ebp + 0x10]
push 1
push 1
call fcn.00477020
inc esi
cmp byte [esp + esi + 0x48], bl
jne 0x476540
mov ecx, dword [ebp + 0x10]
push 1
push 0
call fcn.00477020
test esi, esi
je 0x476570
mov al, byte [esp + esi + 0x47]
mov byte [esp + esi + 0x48], al
sub esi, 1
jne 0x476563
inc edi
mov al, bl
mov byte [esp + 0x48], al
cmp edi, dword [esp + 0x50]
jb 0x476530
lea edi, [ebp + 0x14]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
jmp 0x476594
mov ebp, dword [esp + 0x1c]
movzx esi, byte [edi]
mov ecx, dword [ebp + 0x10]
push 5
push esi
call fcn.00477020
xor ebp, ebp
mov dword [esp + 0x28], ebp
movzx ebx, byte [edi + ebp]
cmp esi, ebx
je 0x4765e7
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
push 1
push 1
call fcn.00477020
mov ecx, dword [ebp + 0x10]
lea eax, [esi - 1]
cmp esi, ebx
lea edi, [esi + 1]
push 1
cmovae edi, eax
sbb eax, eax
inc eax
push eax
call fcn.00477020
mov esi, edi
cmp edi, ebx
jne 0x4765b4
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 1
push 0
mov ecx, dword [eax + 0x10]
call fcn.00477020
inc ebp
mov dword [esp + 0x28], ebp
cmp ebp, dword [esp + 0x34]
jb 0x4765a8
mov ebx, dword [esp + 0x24]
add edi, 0x102
inc ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], ebx
cmp ebx, dword [esp + 0x14]
jb 0x476590
mov eax, dword [esp + 0x54]
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x20], ecx
xor ebp, ebp
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x30]
movzx edx, byte [edi + ebp]
inc ebp
mov dword [esp + 0x28], ebp
cmp edx, 0xff
jb 0x47665b
movzx eax, byte [edi + ebp]
add edx, eax
mov eax, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x28], ebp
mov edi, dword [esp + 0x1c]
test ebx, ebx
jne 0x476691
movzx ecx, byte [eax]
lea esi, [edi + 0x14]
inc eax
mov ebx, 0x32
mov dword [esp + 0x18], eax
imul eax, ecx, 0x102
add esi, eax
imul eax, ecx, 0x408
lea ecx, [edi + 0x1e50]
mov dword [esp + 0x24], esi
add ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + edx*4]
dec ebx
mov edi, dword [edi + 0x10]
mov dword [esp + 0x68], ebx
movzx ebx, byte [edx + esi]
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x476704
mov ebp, eax
nop word [eax + eax]
mov esi, dword [edi + 4]
mov eax, ebp
cmp ebx, esi
mov edx, esi
cmovb edx, ebx
sub ebx, edx
mov ecx, ebx
shr eax, cl
mov ecx, edx
mov ch, byte [edi + 8]
shl ch, cl
or ch, al
mov byte [esp + 0x13], ch
mov byte [edi + 8], ch
mov ecx, ebx
shl eax, cl
sub ebp, eax
sub esi, edx
mov dword [edi + 4], esi
jne 0x4766f4
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dl, byte [esp + 0x13]
mov byte [ecx + eax], dl
inc dword [edi]
mov dword [edi + 4], 8
test ebx, ebx
jne 0x4766b0
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
cmp ebp, dword [esp + 0x38]
jb 0x476637
mov ebp, dword [esp + 0x1c]
mov bl, byte [ebp + 0x8cd8]
test bl, bl
je 0x476766
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov eax, dword [esi]
lea eax, [eax*8 + 8]
sub eax, dword [esi + 4]
sub eax, ecx
cmp eax, dword [esp + 0x5c]
ja 0x476750
cmp edx, 6
je 0x476766
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], edx
mov edi, dword [esp + 0x40]
inc edx
mov bh, byte [esp + 0x2f]
mov dword [esp + 0x44], edx
cmp edx, 7
jbe 0x476293
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x574
ret 8