Function at 0x1015cda0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x30
mov eax, dword [0x101df584]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, ecx
mov ecx, 4
mov eax, ebx
mov dword [esp + 8], ebx
push ebp
push esi
sub eax, dword [ebx]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], edi
cmp cx, word [eax]
jae 0x1015ce77
movzx eax, word [eax + 4]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015ce77
mov eax, dword [ecx]
add eax, ecx
je 0x1015ce77
push dword [eax]
add eax, 4
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
push eax
lea ecx, [esp + 0x2c]
movups xmmword [esp + 0x2c], xmm0
call fcn.10001380
lea eax, [esp + 0x24]
cmp edi, eax
je 0x1015ce41
mov ecx, edi
call fcn.10001690
movups xmm0, xmmword [esp + 0x24]
mov ecx, 0xf
mov byte [esp + 0x24], 0
movups xmmword [edi], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [edi + 0x10], xmm0
jmp 0x1015ce45
mov ecx, dword [esp + 0x38]
cmp ecx, 0x10
jb 0x1015ce77
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015ce6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015d0e2
push ecx
push edx
call fcn.10196271
add esp, 8
mov eax, ebx
mov ecx, 6
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015cf31
movzx eax, word [eax + 6]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015cf31
mov eax, dword [ecx]
add eax, ecx
je 0x1015cf31
push dword [eax]
add eax, 4
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
push eax
lea ecx, [esp + 0x2c]
movups xmmword [esp + 0x2c], xmm0
call fcn.10001380
lea esi, [edi + 0x18]
lea eax, [esp + 0x24]
cmp esi, eax
je 0x1015cefb
mov ecx, esi
call fcn.10001690
movups xmm0, xmmword [esp + 0x24]
mov ecx, 0xf
mov byte [esp + 0x24], 0
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x10], xmm0
jmp 0x1015ceff
mov ecx, dword [esp + 0x38]
cmp ecx, 0x10
jb 0x1015cf31
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015cf27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015d0e2
push ecx
push edx
call fcn.10196271
add esp, 8
mov eax, ebx
mov ecx, 8
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015cfce
movzx eax, word [eax + 8]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015cfce
mov esi, dword [ecx]
add esi, ecx
mov dword [esp + 0x1c], esi
je 0x1015cfce
push dword [esi]
lea ecx, [edi + 0x30]
call fcn.101622f0
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x1015cfce
mov edi, 0xfffffffc
lea ebx, [esi + 4]
sub edi, esi
mov dword [esp + 0x10], edi
mov ecx, dword [ebx]
push dword [esp + 0x48]
add ecx, ebx
call fcn.10156410
mov ecx, dword [esp + 0x18]
mov esi, eax
lea eax, [edi + ebx]
add eax, dword [ecx + 0x30]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x1015d077
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x1015cfb6
mov ecx, edi
call fcn.10010c60
push 0xc
push edi
call fcn.10196271
add esp, 8
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc ebp
add ebx, 4
cmp ebp, dword [eax]
jb 0x1015cf77
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, ebx
mov ecx, 0xa
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015d0e8
movzx eax, word [eax + 0xa]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015d0e8
mov ebp, dword [ecx]
add ebp, ecx
mov dword [esp + 0x14], ebp
je 0x1015d0e8
push dword [ebp]
lea esi, [edi + 0x3c]
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.10162160
xor edi, edi
cmp dword [ebp], edi
jbe 0x1015d0e8
mov dword [esp + 0x10], edi
add ebp, 4
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
add eax, ebp
mov dword [esp + 0x34], 0
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x24], xmm0
push dword [eax]
add eax, 4
push eax
call fcn.10001380
mov esi, dword [esi]
lea eax, [esp + 0x24]
add esi, dword [esp + 0x10]
cmp esi, eax
je 0x1015d096
mov ecx, esi
call fcn.10001690
movups xmm0, xmmword [esp + 0x24]
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [esi + 0x10], xmm0
jmp 0x1015d0c8
test esi, esi
je 0x1015cfba
mov ecx, esi
call fcn.10010c60
push 0xc
push esi
call fcn.10196271
add esp, 8
jmp 0x1015cfba
mov ecx, dword [esp + 0x38]
cmp ecx, 0x10
jb 0x1015d0c8
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015d0be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015d0e2
push ecx
push edx
call fcn.10196271
add esp, 8
mov eax, dword [esp + 0x14]
inc edi
add dword [esp + 0x10], 0x18
add ebp, 4
cmp edi, dword [eax]
jae 0x1015d0e8
mov esi, dword [esp + 0x1c]
jmp 0x1015d021
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, ebx
mov ecx, 0xc
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015d17e
movzx eax, word [eax + 0xc]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015d17e
mov esi, dword [ecx]
add esi, ecx
mov dword [esp + 0x14], esi
je 0x1015d17e
mov ecx, dword [esp + 0x18]
push dword [esi]
add ecx, 0x48
call fcn.101622f0
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x1015d17e
mov ebx, 0xfffffffc
lea edi, [esi + 4]
sub ebx, esi
mov dword [esp + 0x10], ebx
mov ecx, dword [edi]
push dword [esp + 0x48]
add ecx, edi
call fcn.10156410
mov esi, eax
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x48]
add eax, ebx
add eax, edi
cmp eax, ecx
je 0x1015d193
mov ebx, dword [eax]
mov dword [eax], esi
test ebx, ebx
je 0x1015d16e
mov ecx, ebx
call fcn.10010c60
push 0xc
push ebx
call fcn.10196271
add esp, 8
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebp
add edi, 4
cmp ebp, dword [eax]
jb 0x1015d132
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1019627f
add esp, 0x30
ret 8
test esi, esi
je 0x1015d172
mov ecx, esi
call fcn.10010c60
push 0xc
push esi
call fcn.10196271
add esp, 8
jmp 0x1015d172