Function at 0x5143d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x14670ec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x514acf
sub esp, 0x78
mov eax, dword [esp + 0x7c]
movzx ecx, byte [eax + 5]
test cl, cl
je 0x5143f8
mov ecx, dword [eax + 0x14]
jmp 0x5143ff
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x40], ecx
lea edx, [eax + 0x18]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], 0x44
movsd xmm0, qword [esp + 0x80]
movsd qword [esp + 0xc], xmm0
mov edx, dword [esp + 0x8c]
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x1c], ebx
call fcn.004be9e0
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jbe 0x514ac4
mov edx, dword [esp + 0x20]
movzx ebx, byte [edx + 1]
mov ebp, dword [esp + 0x28]
cmp bl, 0x2d
je 0x51446a
cmp bl, 0x2b
jne 0x51446f
dec ebp
inc edx
dec ecx
jmp 0x514472
mov byte [edx], 0x2b
mov ebx, dword [esp + 0x7c]
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
je 0x51449a
test ecx, ecx
jbe 0x514abb
cmp byte [edx], 0x2b
jne 0x51449a
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x51449a
mov byte [edx], 0x20
cmp ecx, 1
jbe 0x514ab1
movzx esi, byte [edx + 1]
xchg esi, eax
cmp al, 0x49
xchg esi, eax
je 0x514555
xchg esi, eax
cmp al, 0x4e
xchg esi, eax
je 0x514555
movzx esi, byte [ebx + 8]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5145a2
mov esi, dword [esp + 0x8c]
cmp esi, 0x62
je 0x5145a2
cmp esi, 0x67
jg 0x5144ec
cmp esi, 0x47
je 0x5144f6
cmp esi, 0x67
je 0x5144f6
jmp 0x514506
cmp esi, 0x76
je 0x5144f6
cmp esi, 0x78
jne 0x514506
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
jne 0x514508
mov eax, 6
jmp 0x514508
xor eax, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2e], 0
mov word [esp + 0x32], 0
mov edi, 1
xor edi, edi
xchg edi, eax
mov byte [esp + 0x34], al
xchg edi, eax
xor edi, edi
xchg edi, eax
mov byte [esp + 0x36], al
xchg edi, eax
xor edi, edi
mov dword [esp + 0x38], edi
mov edi, 6
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x2e]
mov dword [esp + 0x60], edi
mov edi, 1
jmp 0x5147be
movzx eax, byte [ebx + 0xa]
mov byte [esp + 0x35], al
mov byte [ebx + 0xa], 0
cmp byte [edx + 1], 0x4e
jne 0x51457e
movzx esi, byte [ebx + 9]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x51457e
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x51457e
dec ebp
inc edx
dec ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.00512af0
movzx eax, byte [esp + 0x35]
mov ecx, dword [esp + 0x7c]
mov byte [ecx + 0xa], al
add esp, 0x78
ret
movzx esi, byte [ebx + 7]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5145bd
test ecx, ecx
jbe 0x5147ac
cmp byte [edx], 0x2b
je 0x514779
movzx esi, byte [ebx + 0xa]
xchg esi, eax
test al, al
xchg esi, eax
je 0x514761
movzx esi, byte [ebx + 6]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x514761
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x514761
cmp dword [ebx + 0x10], ecx
jle 0x514761
test ecx, ecx
jbe 0x5147a3
mov dword [esp + 0x68], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebp
mov eax, dword [ebx]
mov esi, dword [eax + 8]
mov edi, dword [eax + 4]
inc edi
movzx edx, byte [edx]
mov ebp, dword [eax]
cmp esi, edi
jae 0x51467e
mov dword [esp + 0x70], eax
mov byte [esp + 0x37], dl
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0xc62fa0]
mov dword [esp + 0x10], eax
call fcn.00471cb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [ebx + 8], eax
mov eax, dword [0x14674f0]
test eax, eax
je 0x514669
call fcn.00476e80
mov dword [edi], ecx
mov eax, dword [ebx]
mov dword [edi + 4], eax
mov dword [ebx], ecx
mov eax, ebx
mov ebx, dword [esp + 0x7c]
mov edi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x48]
movzx edx, byte [esp + 0x37]
mov dword [eax + 4], edi
mov byte [edi + ebp - 1], dl
mov eax, dword [ebx + 0x10]
mov dword [esp], ebx
sub eax, ecx
mov dword [esp + 4], eax
call fcn.005129b0
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x4c]
dec ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [esp + 0x48]
lea esi, [ebp + ebx - 1]
mov edi, dword [esp + 0x68]
add ecx, edi
dec ebp
mov edi, dword [eax]
cmp edx, esi
jae 0x51470a
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x64], ecx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea eax, [0xc62fa0]
mov dword [esp + 0x10], eax
call fcn.00471cb0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x74], edi
lea eax, [edi + ebx]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00477810
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 8], eax
mov eax, dword [0x14674f0]
test eax, eax
jne 0x51474b
mov eax, dword [esp + 0x74]
jmp 0x51475b
call fcn.00476e80
mov eax, dword [esp + 0x74]
mov dword [edi], eax
mov edx, dword [ecx]
mov dword [edi + 4], edx
mov dword [ecx], eax
add esp, 0x78
ret
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.00512af0
add esp, 0x78
ret
mov dword [esp], ebx
lea eax, [ebp - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, edx
mov dword [esp + 4], eax
lea eax, [ecx - 1]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.00512af0
add esp, 0x78
ret
xor eax, eax
mov ecx, eax
call fcn.00476ef0
xor eax, eax
mov ecx, eax
call fcn.00476ef0
inc edi
mov byte [esp + 0x34], bl
mov ebx, dword [esp + 0x7c]
cmp ecx, edi
jle 0x514991
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
movzx ebx, byte [edx + edi]
cmp bl, 0x45
ja 0x5147fb
cmp bl, 0x2e
jne 0x5147f1
movzx ebx, byte [esp + 0x34]
mov ebx, 1
mov byte [esp + 0x36], bl
movzx ebx, byte [esp + 0x34]
jmp 0x5147b5
cmp bl, 0x45
je 0x51480d
jmp 0x5148cd
cmp bl, 0x50
je 0x5148e8
cmp bl, 0x65
jne 0x5148c8
cmp esi, 0x78
je 0x5148cd
cmp esi, 0x58
je 0x5148cd
sub ebp, edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
sub ecx, edi
mov ebx, dword [esp + 0x38]
lea esi, [ebx + ecx]
add ebp, edx
mov edx, dword [esp + 0x3c]
cmp edx, esi
jae 0x514887
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0xc62fa0]
mov dword [esp + 0x10], eax
call fcn.00471cb0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov edx, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x60]
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00477810
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x50]
mov ecx, edi
movzx ebx, byte [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x5147b5
cmp bl, 0x70
je 0x5148e8
cmp bl, 0x30
setne bl
movzx ebp, byte [esp + 0x34]
or ebx, ebp
test bl, bl
je 0x5148df
dec eax
mov ebp, dword [esp + 0x4c]
jmp 0x5147b5
sub ebp, edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edi
sub ecx, edi
mov ebx, dword [esp + 0x38]
lea esi, [ebx + ecx]
add ebp, edx
mov edx, dword [esp + 0x3c]
cmp edx, esi
jae 0x514950
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [0xc62fa0]
mov dword [esp + 0x10], eax
call fcn.00471cb0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x60], eax
mov edx, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x60]
add ebx, eax
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00477810
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x50]
mov ecx, edi
movzx ebx, byte [esp + 0x34]
mov eax, dword [esp + 0x54]
jmp 0x5147b5
movzx esi, byte [esp + 0x36]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5149f4
cmp ecx, 2
jne 0x5149a8
cmp byte [edx + 1], 0x30
jne 0x5149a8
dec eax
inc ecx
cmp ebp, ecx
jae 0x5149e7
mov dword [esp + 0x58], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0xc62fa0]
mov dword [esp + 0x10], eax
call fcn.00471cb0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
mov byte [ecx + edx - 1], 0x2e
jmp 0x5149f4
mov byte [ecx + edx - 1], 0x30
dec eax
test eax, eax
jle 0x514a39
inc ecx
cmp ebp, ecx
jae 0x5149ee
mov dword [esp + 0x54], eax
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0xc62fa0]
mov dword [esp + 0x10], eax
call fcn.00471cb0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x7c]
jmp 0x5149ee
mov eax, dword [esp + 0x38]
lea esi, [eax + ecx]
cmp ebp, esi
jae 0x514a7a
mov dword [esp + 0x48], ecx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0xc62fa0]
mov dword [esp + 0x10], ecx
call fcn.00471cb0
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x4c], ebp
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00477810
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x4c]
jmp 0x5145a2
mov eax, 1
call fcn.00476ef0
xor eax, eax
mov ecx, eax
call fcn.00476ef0
mov eax, 1
call fcn.00476ef0
nop
call fcn.00475a70
jmp fcn.005143d0