Function at 0x1015ca10
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, 4
mov eax, esi
push edi
mov edi, dword [esp + 0x14]
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015ca5e
movzx eax, word [eax + 4]
lea ecx, [esi + eax]
test ax, ax
je 0x1015ca5e
mov ebx, dword [ecx]
add ebx, ecx
je 0x1015ca5e
push dword [ebx]
mov ecx, edi
call fcn.100418b0
xor edx, edx
cmp dword [ebx], edx
jbe 0x1015ca5e
nop dword [eax]
mov ecx, dword [edi]
mov eax, dword [ebx + edx*4 + 4]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, dword [ebx]
jb 0x1015ca50
mov eax, esi
mov ecx, 6
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015ca7a
movzx eax, word [eax + 6]
test ax, ax
je 0x1015ca7a
mov al, byte [eax + esi]
jmp 0x1015ca7c
xor al, al
mov ebx, dword [esp + 0x18]
test al, al
mov ecx, 8
setne al
mov byte [edi + 0xc], al
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cad2
movzx eax, word [eax + 8]
lea edx, [esi + eax]
test ax, ax
je 0x1015cad2
mov ecx, dword [edx]
add ecx, edx
je 0x1015cad2
push ebx
call fcn.1003d440
lea ecx, [edi + 0x10]
lea edx, [esp + 0x14]
cmp ecx, edx
je 0x1015cac4
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x1015cad2
push edx
jmp 0x1015cacd
test eax, eax
je 0x1015cad2
push eax
lea ecx, [esp + 0x18]
call fcn.1003cf10
mov eax, esi
mov ecx, 0xa
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cb64
movzx eax, word [eax + 0xa]
lea ecx, [esi + eax]
test ax, ax
je 0x1015cb64
mov ebx, dword [ecx]
add ebx, ecx
je 0x1015cb60
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx]
mov dword [esp + 0x14], edx
sub edx, eax
push ebp
cmp ecx, edx
jae 0x1015cb0d
add eax, ecx
jmp 0x1015cb46
jbe 0x1015cb49
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x14]
cmp ecx, eax
jbe 0x1015cb29
lea eax, [esp + 0x18]
push eax
push ecx
lea ecx, [edi + 0x14]
call fcn.1014f7b0
jmp 0x1015cb49
sub ecx, edx
push ecx
push 0
push dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, dword [esp + 0x18]
mov dword [edi + 0x18], eax
xor edx, edx
cmp dword [ebx], edx
jbe 0x1015cb5f
nop
mov ecx, dword [edi + 0x14]
mov al, byte [ebx + edx + 4]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [ebx]
jb 0x1015cb50
pop ebp
mov ebx, dword [esp + 0x18]
mov eax, esi
mov ecx, 0xc
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cb80
movzx eax, word [eax + 0xc]
test ax, ax
je 0x1015cb80
mov al, byte [eax + esi]
jmp 0x1015cb82
xor al, al
movsx eax, al
mov ecx, 0xe
mov dword [edi + 0x20], eax
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cba4
movzx eax, word [eax + 0xe]
test ax, ax
je 0x1015cba4
mov eax, dword [eax + esi]
jmp 0x1015cba6
xor eax, eax
mov dword [edi + 0x24], eax
mov ecx, 0x10
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cbc5
movzx eax, word [eax + 0x10]
test ax, ax
je 0x1015cbc5
mov eax, dword [eax + esi]
jmp 0x1015cbc7
xor eax, eax
mov dword [edi + 0x28], eax
mov ecx, 0x12
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cbe6
movzx eax, word [eax + 0x12]
test ax, ax
je 0x1015cbe6
mov eax, dword [eax + esi]
jmp 0x1015cbe8
xor eax, eax
mov dword [edi + 0x2c], eax
mov ecx, 0x14
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cc07
movzx eax, word [eax + 0x14]
test ax, ax
je 0x1015cc07
mov eax, dword [eax + esi]
jmp 0x1015cc09
xor eax, eax
mov dword [edi + 0x30], eax
mov ecx, 0x16
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cc59
movzx eax, word [eax + 0x16]
lea edx, [esi + eax]
test ax, ax
je 0x1015cc59
mov ecx, dword [edx]
add ecx, edx
je 0x1015cc59
push ebx
call fcn.10155c80
lea ecx, [edi + 0x34]
lea edx, [esp + 0x18]
cmp ecx, edx
je 0x1015cc4a
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x1015cc59
push 8
push edx
jmp 0x1015cc51
test eax, eax
je 0x1015cc59
push 8
push eax
call fcn.10196271
add esp, 8
mov eax, esi
mov ecx, 0x18
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cc75
movzx eax, word [eax + 0x18]
test ax, ax
je 0x1015cc75
mov eax, dword [eax + esi]
jmp 0x1015cc77
xor eax, eax
mov dword [edi + 0x38], eax
mov ecx, 0x1a
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015ccc7
movzx eax, word [eax + 0x1a]
lea edx, [esi + eax]
test ax, ax
je 0x1015ccc7
mov ecx, dword [edx]
add ecx, edx
je 0x1015ccc7
push ebx
call fcn.10155c80
lea ecx, [edi + 0x3c]
lea edx, [esp + 0x18]
cmp ecx, edx
je 0x1015ccb8
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x1015ccc7
push 8
push edx
jmp 0x1015ccbf
test eax, eax
je 0x1015ccc7
push 8
push eax
call fcn.10196271
add esp, 8
mov eax, esi
mov ecx, 0x1c
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cd14
movzx eax, word [eax + 0x1c]
lea edx, [esi + eax]
test ax, ax
je 0x1015cd14
mov ecx, dword [edx]
add ecx, edx
je 0x1015cd14
push ebx
call fcn.10155c80
lea ecx, [edi + 0x40]
lea edx, [esp + 0x18]
cmp ecx, edx
je 0x1015cd05
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x1015cd14
push 8
push edx
jmp 0x1015cd0c
test eax, eax
je 0x1015cd14
push 8
push eax
call fcn.10196271
add esp, 8
mov eax, esi
mov ecx, 0x1e
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cd30
movzx eax, word [eax + 0x1e]
test ax, ax
je 0x1015cd30
mov al, byte [eax + esi]
jmp 0x1015cd32
xor al, al
movsx eax, al
mov ecx, 0x20
mov dword [edi + 0x44], eax
mov eax, esi
sub eax, dword [esi]
cmp cx, word [eax]
jae 0x1015cd92
movzx eax, word [eax + 0x20]
lea edx, [esi + eax]
test ax, ax
je 0x1015cd92
mov ecx, dword [edx]
add ecx, edx
je 0x1015cd92
push ebx
call fcn.10155c80
add edi, 0x48
lea ecx, [esp + 0x18]
cmp edi, ecx
je 0x1015cd83
mov ecx, dword [edi]
mov dword [edi], eax
test ecx, ecx
je 0x1015cd92
push 8
push ecx
call fcn.10196271
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 8
test eax, eax
je 0x1015cd92
push 8
push eax
call fcn.10196271
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 8