Function at 0x10018370
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x60
mov eax, dword [0x10056b88]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [0x1004d194]
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, edx
mov edx, dword [0x1004d18c]
push edi
mov edi, ecx
mov ecx, dword [0x1004d198]
mov dword [esp + 0x30], eax
mov ax, word [0x1004d190]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x34], ecx
mov cl, byte [0x1004d192]
mov word [esp + 0x24], ax
push edx
xor ebx, ebx
xor eax, eax
mov edx, esi
mov dword [esp + 0x14], edi
mov word [esp + 0x1c], 0x3b
mov byte [esp + 0x2a], cl
mov dword [esp + 0x18], ebx
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x1001857a
push 0x1004d188
call fcn.10018260
mov cl, byte [esi + eax]
add esp, 4
cmp cl, 0x3b
mov edi, eax
je 0x10018422
mov edi, edi
cmp cl, 0x28
jne 0x1001840a
add ebx, 1
jmp 0x10018412
cmp cl, 0x29
jne 0x10018412
sub ebx, 1
test ebx, ebx
je 0x10018422
mov cl, byte [esi + edi + 1]
add edi, 1
cmp cl, 0x3b
jne 0x10018400
cmp byte [esi + edi], 0x3b
jne 0x10018440
pop edi
pop esi
pop ebp
mov eax, 0xfffe7961
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
lea ecx, [eax + 1]
xor ebx, ebx
cmp ecx, edi
jge 0x10018460
mov ebx, edi
sub ebx, ecx
lea eax, [esi + eax + 1]
push ebx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100250c0
add esp, 0xc
movzx ecx, byte [esp + 0x78]
movzx edx, byte [ecx + ebp + 3]
lea eax, [ecx + ebp]
movzx ecx, byte [eax + 2]
push edx
movzx edx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push edx
mov byte [esp + ebx + 0x44], 0
push eax
lea ebx, [esp + 0x48]
call fcn.10018030
add esp, 0x10
call fcn.10017c00
call fcn.10026290
cmp eax, 0xfffe7961
mov dword [esp + 0x14], eax
je 0x10018428
push 0x10044564
mov eax, edi
mov edx, esi
call fcn.10018260
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x10018428
mov edi, edi
lea eax, [edi + 1]
xor ebx, ebx
cmp eax, ebp
jge 0x100184e6
lea esp, [esp]
mov cl, byte [esi + eax]
cmp cl, 0x20
je 0x100184df
mov byte [esp + ebx + 0x38], cl
add ebx, 1
add eax, 1
cmp eax, ebp
jl 0x100184d0
lea edi, [esp + 0x38]
mov byte [esp + ebx + 0x38], 0
call fcn.10017ea0
cmp eax, dword [esp + 0x14]
je 0x10018528
cmp ebx, 6
jg 0x10018528
push 0x1004d184
mov eax, ebp
mov edx, esi
call fcn.10018260
push 0x10044564
mov edi, eax
call fcn.10018260
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
jne 0x100184c0
jmp 0x10018428
lea ecx, [esp + 0x18]
push ecx
mov eax, ebp
mov edx, esi
call fcn.10018260
mov edi, eax
lea ecx, [ebp + 1]
add esp, 4
cmp ecx, edi
jge 0x10018562
mov edx, dword [esp + 0x10]
cmp byte [esi + ecx - 1], 0x20
jne 0x10018553
cmp byte [esi + ecx], 0x20
je 0x1001855b
mov al, byte [esi + ecx]
mov byte [edx], al
add edx, 1
add ecx, 1
cmp ecx, edi
jl 0x10018546
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
lea ecx, [esp + 0x30]
push ecx
xor eax, eax
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x100186f9
push 0x1004d188
mov edx, esi
call fcn.10018260
push 0x1004d180
mov edi, eax
call fcn.10018260
add edi, 1
add esp, 8
xor ebx, ebx
cmp edi, eax
jge 0x100185ce
sub eax, edi
mov ebx, eax
lea ecx, [esi + edi]
push ebx
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.100250c0
add esp, 0xc
add edi, ebx
mov al, byte [esi + edi + 2]
mov byte [esp + 0x1c], al
add edi, 3
push 0x1004d17c
mov eax, edi
mov edx, esi
mov byte [esp + ebx + 0x2c], 0
call fcn.10018260
mov ebx, eax
lea eax, [edi + 1]
add esp, 4
xor ebp, ebp
cmp eax, ebx
jge 0x10018613
lea ecx, [esi + edi + 1]
mov edi, ebx
sub edi, eax
push edi
push ecx
lea ecx, [esp + 0x28]
push ecx
call fcn.100250c0
add esp, 0xc
mov ebp, edi
mov edx, dword [esp + 0x1c]
mov cl, byte [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
add ebx, 1
mov byte [esp + ebp + 0x24], 0
mov dword [esp + 0x18], ebx
call fcn.100182d0
add esp, 4
lea edi, [esp + 0x28]
mov bl, al
call fcn.10017ea0
movzx ebx, bl
cmp ebx, eax
jg 0x10018648
jne 0x10018657
lea edi, [esp + 0x20]
call fcn.10017ea0
cmp ebx, eax
jl 0x10018678
je 0x10018678
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x18]
mov edx, esi
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
jne 0x10018592
jmp 0x10018428
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
mov edx, esi
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x100186d9
xor ebp, ebp
cmp edi, eax
mov ecx, edi
jge 0x100186d9
mov edi, dword [esp + 0x10]
mov edi, edi
cmp byte [esi + ecx - 1], 0x20
jne 0x100186ad
cmp byte [esi + ecx], 0x20
je 0x100186b6
mov dl, byte [esi + ecx]
mov byte [edi + ebp], dl
add ebp, 1
add ecx, 1
cmp ecx, eax
jl 0x100186a0
mov byte [edi + ebp], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
mov edi, dword [esp + 0x10]
mov byte [edi + ebp], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
push 0x1004d174
xor eax, eax
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x100187b0
push 0x1004d188
call fcn.10018260
mov ebx, eax
add ebx, 1
push 0x1004d180
mov eax, ebx
xor ebp, ebp
call fcn.10018260
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x10018778
jmp 0x10018740
movzx eax, byte [esi + edi - 1]
mov cl, byte [esp + 0x78]
mov edx, dword [esp + 0x74]
push eax
call fcn.100182d0
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebp], al
lea ebx, [edi + 1]
push 0x1004d180
mov eax, ebx
mov edx, esi
add ebp, 1
call fcn.10018260
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x10018740
movzx edx, byte [esi + ebx + 1]
mov cl, byte [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
call fcn.100182d0
mov ecx, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
mov byte [ecx + ebp], al
mov byte [ecx + ebp + 1], 0
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
push 0x1004d170
xor eax, eax
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x10018b49
push 0x1004d188
call fcn.10018260
mov cl, byte [esi + eax]
add esp, 4
cmp cl, 0x3b
mov edi, eax
je 0x10018806
nop
cmp cl, 0x28
jne 0x100187ea
add ebx, 1
jmp 0x100187f2
cmp cl, 0x29
jne 0x100187f2
sub ebx, 1
test ebx, ebx
je 0x10018802
mov cl, byte [esi + edi + 1]
add edi, 1
cmp cl, 0x3b
jne 0x100187e0
mov dword [esp + 0x14], ebx
cmp byte [esi + edi], 0x3b
je 0x10018428
add eax, 1
xor ecx, ecx
cmp eax, edi
jge 0x1001885c
lea esp, [esp]
mov bl, 0x3d
cmp byte [esi + eax - 1], bl
jne 0x1001884b
mov dl, byte [esi + eax - 2]
cmp dl, 0x21
je 0x1001884b
cmp dl, 0x3e
je 0x1001884b
cmp dl, 0x3c
je 0x1001884b
cmp dl, bl
je 0x1001884b
cmp byte [esi + eax], bl
je 0x1001884b
mov byte [esp + ecx + 0x38], bl
add ecx, 1
mov dl, byte [esi + eax]
mov byte [esp + ecx + 0x38], dl
add eax, 1
add ecx, 1
cmp eax, edi
jl 0x10018820
movzx eax, byte [esp + 0x78]
movzx edx, byte [ebp + eax + 2]
add ebp, eax
movzx eax, byte [ebp + 1]
mov byte [esp + ecx + 0x38], 0
movzx ecx, byte [ebp + 3]
push ecx
movzx ecx, byte [ebp]
push edx
push eax
push ecx
lea ebx, [esp + 0x48]
call fcn.10018030
add esp, 0x10
call fcn.10017c00
call fcn.10026290
cmp eax, 0xfffe7961
je 0x10018428
cmp eax, 1
mov edx, esi
jne 0x100188fa
push 0x1004d184
mov eax, edi
call fcn.10018260
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x100188e2
lea ecx, [edi + 1]
cmp ecx, ebp
jge 0x100188e2
mov edx, dword [esp + 0x10]
cmp byte [esi + ecx - 1], 0x20
jne 0x100188d3
cmp byte [esi + ecx], 0x20
je 0x100188db
mov al, byte [esi + ecx]
mov byte [edx], al
add edx, 1
add ecx, 1
cmp ecx, ebp
jl 0x100188c6
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
lea eax, [edi + 1]
push 0x1004d170
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x10018a19
push 0x1004d188
mov edx, esi
call fcn.10018260
mov cl, byte [esi + eax]
add esp, 4
cmp cl, 0x3b
mov edi, eax
je 0x10018956
mov edx, dword [esp + 0x14]
cmp cl, 0x28
jne 0x1001893a
add edx, 1
jmp 0x10018942
cmp cl, 0x29
jne 0x10018942
sub edx, 1
test edx, edx
je 0x10018952
mov cl, byte [esi + edi + 1]
add edi, 1
cmp cl, 0x3b
jne 0x10018930
mov dword [esp + 0x14], edx
cmp byte [esi + edi], 0x3b
je 0x10018428
add eax, 1
xor ecx, ecx
cmp eax, edi
jge 0x100189ac
lea esp, [esp]
mov bl, 0x3d
cmp byte [esi + eax - 1], bl
jne 0x1001899b
mov dl, byte [esi + eax - 2]
cmp dl, 0x21
je 0x1001899b
cmp dl, 0x3e
je 0x1001899b
cmp dl, 0x3c
je 0x1001899b
cmp dl, bl
je 0x1001899b
cmp byte [esi + eax], bl
je 0x1001899b
mov byte [esp + ecx + 0x38], bl
add ecx, 1
mov dl, byte [esi + eax]
mov byte [esp + ecx + 0x38], dl
add eax, 1
add ecx, 1
cmp eax, edi
jl 0x10018970
movzx eax, byte [ebp + 3]
movzx edx, byte [ebp + 1]
mov byte [esp + ecx + 0x38], 0
movzx ecx, byte [ebp + 2]
push eax
movzx eax, byte [ebp]
push ecx
push edx
push eax
lea ebx, [esp + 0x48]
call fcn.10018030
push 0x10061770
push 0x1004d154
call fcn.10026146
add esp, 0x18
call fcn.10017c00
call fcn.10026290
cmp eax, 0xfffe7961
je 0x10018428
cmp eax, 1
mov edx, esi
je 0x10018a95
lea eax, [edi + 1]
push 0x1004d170
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
jne 0x10018913
lea eax, [edi + 1]
push 0x1004d14c
mov edx, esi
call fcn.10018260
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x10018428
push 0x1004d170
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
jne 0x10018428
push 0x1004d184
mov eax, edi
call fcn.10018260
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x10018afe
lea ecx, [edi + 4]
cmp ecx, ebp
jge 0x10018afe
mov edi, dword [esp + 0x10]
mov edx, edi
cmp byte [esi + ecx - 1], 0x20
jne 0x10018a84
cmp byte [esi + ecx], 0x20
je 0x10018a8c
mov al, byte [esi + ecx]
mov byte [edx], al
add edx, 1
add ecx, 1
cmp ecx, ebp
jl 0x10018a77
jmp 0x10018b02
add edi, 1
push 0x1004d184
mov eax, edi
call fcn.10018260
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x10018ad4
mov ecx, edi
cmp ecx, ebp
jge 0x10018ad4
mov edx, dword [esp + 0x10]
cmp byte [esi + ecx - 1], 0x20
jne 0x10018ac5
cmp byte [esi + ecx], 0x20
je 0x10018acd
mov al, byte [esi + ecx]
mov byte [edx], al
add edx, 1
add ecx, 1
cmp ecx, ebp
jl 0x10018ab8
mov ecx, dword [esp + 0x10]
push ecx
push 0x1004d13c
call fcn.10026146
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
mov edi, dword [esp + 0x10]
movzx ecx, byte [edi + 6]
movzx edx, byte [edi + 5]
movzx eax, byte [edi + 4]
push ecx
movzx ecx, byte [edi + 3]
push edx
movzx edx, byte [edi + 2]
push eax
movzx eax, byte [edi + 1]
push ecx
movzx ecx, byte [edi]
push edx
push eax
push ecx
push 0x1004d124
call fcn.10026146
add esp, 0x20
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
push 0x1004d120
xor eax, eax
call fcn.10018260
add esp, 4
cmp eax, 0xffffffff
je 0x10018c09
push 0x1004d188
call fcn.10018260
mov ebp, eax
add ebp, 1
push 0x1004d180
mov eax, ebp
xor ebx, ebx
call fcn.10018260
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x10018bc9
jmp 0x10018b90
movzx edx, byte [esi + edi - 1]
mov cl, byte [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
call fcn.100182d0
mov ecx, dword [esp + 0x14]
mov byte [ecx + ebx + 1], al
lea ebp, [edi + 1]
push 0x1004d180
mov eax, ebp
mov edx, esi
add ebx, 1
call fcn.10018260
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x10018b90
movzx edx, byte [esi + ebp + 1]
mov cl, byte [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
call fcn.100182d0
mov ecx, dword [esp + 0x14]
add esp, 4
pop edi
mov byte [ecx + ebx + 1], al
mov byte [ecx + ebx + 2], 0
pop esi
add bl, 1
pop ebp
mov byte [ecx], bl
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10024c3b
add esp, 0x60
ret
mov ecx, edi
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
mov byte [ecx + esi], al
add esi, 1
test al, al
jne 0x10018c10
push 0x1004d184
xor eax, eax
mov edx, edi
call fcn.10018260
add esp, 4
mov cl, byte [edi + eax - 1]
sub eax, 1
cmp cl, 0x20
je 0x10018c2d
cmp cl, 9
je 0x10018c2d
cmp cl, 0xa
je 0x10018c2d
mov ecx, dword [esp + 0x6c]
mov byte [edi + eax + 1], bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 2
call fcn.10024c3b
add esp, 0x60
ret