Function at 0x10159a20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
mov eax, dword [0x101df584]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
push ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
mov eax, ebx
mov dword [esp + 0x1c], ebx
push ebp
mov ebp, dword [esp + 0x44]
mov ecx, 4
sub eax, dword [ebx]
push esi
push edi
mov dword [esp + 0x10], ebp
cmp cx, word [eax]
jae 0x10159b00
movzx eax, word [eax + 4]
lea ecx, [ebx + eax]
test ax, ax
je 0x10159b00
mov eax, dword [ecx]
add eax, ecx
je 0x10159b00
push dword [eax]
add eax, 4
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0x34]
movups xmmword [esp + 0x34], xmm0
call fcn.10001380
lea eax, [esp + 0x2c]
cmp ebp, eax
je 0x10159aca
mov ecx, ebp
call fcn.10001690
movups xmm0, xmmword [esp + 0x2c]
mov ecx, 0xf
mov byte [esp + 0x2c], 0
movups xmmword [ebp], xmm0
movq xmm0, qword [esp + 0x3c]
movq qword [ebp + 0x10], xmm0
jmp 0x10159ace
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x10159b00
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10159af6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015a2dc
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 0x10159c12
movzx eax, word [eax + 6]
lea ecx, [ebx + eax]
test ax, ax
je 0x10159c12
mov ebp, dword [ecx]
add ebp, ecx
mov dword [esp + 0x14], ebp
je 0x10159c0e
mov ecx, dword [esp + 0x10]
push dword [ebp]
add ecx, 0x18
call fcn.10162360
cmp dword [ebp], 0
jbe 0x10159c0e
mov eax, 0xfffffffc
lea edi, [ebp + 4]
sub eax, ebp
xor ebx, ebx
mov dword [esp + 0x18], eax
nop dword [eax]
mov ebp, dword [edi]
push 0x30
add ebp, edi
call fcn.10196241
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x10159bbc
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
jmp 0x10159bbe
xor esi, esi
push dword [esp + 0x20]
mov ecx, ebp
push esi
call fcn.1015c500
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add ecx, edi
add ecx, dword [ebp + 0x18]
cmp ecx, eax
je 0x10159bea
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x10159bf8
push eax
jmp 0x10159bf3
test esi, esi
je 0x10159bf8
push esi
lea ecx, [esp + 0x20]
call fcn.1005b5c0
mov eax, dword [esp + 0x14]
inc ebx
add edi, 4
cmp ebx, dword [eax]
jb 0x10159b60
mov ebx, dword [esp + 0x28]
jmp 0x10159c12
mov ebp, dword [esp + 0x10]
mov eax, ebx
mov ecx, 8
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x10159cc9
movzx eax, word [eax + 8]
lea ecx, [ebx + eax]
test ax, ax
je 0x10159cc9
mov edi, dword [ecx]
add edi, ecx
je 0x10159cc9
push 0x3c
call fcn.10196241
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x10159c97
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov byte [esi + 0xc], 0
movups xmmword [esi + 0x24], xmm0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xf
mov byte [esi + 0x24], 0
jmp 0x10159c99
xor esi, esi
push dword [esp + 0x20]
mov ecx, edi
push esi
call fcn.10157fb0
lea ecx, [ebp + 0x24]
lea eax, [esp + 0x14]
cmp ecx, eax
je 0x10159cbb
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x10159cc9
push eax
jmp 0x10159cc4
test esi, esi
je 0x10159cc9
push esi
lea ecx, [esp + 0x18]
call fcn.10151ab0
mov eax, ebx
mov ecx, 0xa
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x10159dea
movzx eax, word [eax + 0xa]
lea ecx, [ebx + eax]
test ax, ax
je 0x10159dea
mov ebp, dword [ecx]
add ebp, ecx
mov dword [esp + 0x18], ebp
je 0x10159dea
mov ecx, dword [esp + 0x10]
push dword [ebp]
add ecx, 0x28
call fcn.10162270
cmp dword [ebp], 0
jbe 0x10159dea
mov eax, 0xfffffffc
lea edi, [ebp + 4]
sub eax, ebp
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ebp, dword [edi]
push 0x40
add ebp, edi
call fcn.10196241
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x10159d9a
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
movups xmmword [esi + 0x14], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xf
mov byte [esi + 0x14], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
jmp 0x10159d9c
xor esi, esi
push dword [esp + 0x20]
mov ecx, ebp
push esi
call fcn.1015a310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add ecx, edi
add ecx, dword [eax + 0x28]
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x10159dc8
mov eax, dword [ecx]
mov dword [ecx], esi
test eax, eax
je 0x10159dd6
push eax
jmp 0x10159dd1
test esi, esi
je 0x10159dd6
push esi
lea ecx, [esp + 0x20]
call fcn.1005b440
mov eax, dword [esp + 0x18]
inc ebx
add edi, 4
cmp ebx, dword [eax]
jb 0x10159d22
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov eax, ebx
sub eax, dword [ebx]
mov ecx, 0xc
cmp cx, word [eax]
jae 0x10159ee9
movzx eax, word [eax + 0xc]
lea ecx, [ebx + eax]
test ax, ax
je 0x10159ee9
mov esi, dword [ecx]
add esi, ecx
mov dword [esp + 0x14], esi
je 0x10159ee9
push dword [esi]
lea ecx, [edi + 0x34]
call fcn.10162160
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x10159ee9
mov dword [esp + 0x18], ebp
lea edi, [esi + 4]
nop dword [eax]
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
add eax, edi
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x2c], xmm0
push dword [eax]
add eax, 4
push eax
call fcn.10001380
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x34]
lea eax, [esp + 0x2c]
add esi, dword [esp + 0x18]
cmp esi, eax
je 0x10159e9a
mov ecx, esi
call fcn.10001690
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
jmp 0x10159ed0
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x10159ed0
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10159ec6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015a2dc
push ecx
push edx
call fcn.10196271
add esp, 8
mov eax, dword [esp + 0x14]
inc ebp
add dword [esp + 0x18], 0x18
add edi, 4
cmp ebp, dword [eax]
jb 0x10159e40
mov edi, dword [esp + 0x10]
mov eax, ebx
mov ecx, 0xe
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x10159f05
movzx eax, word [eax + 0xe]
test ax, ax
je 0x10159f05
mov al, byte [eax + ebx]
jmp 0x10159f07
xor al, al
movsx eax, al
mov ecx, 0x10
mov dword [edi + 0x40], eax
mov eax, ebx
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x10159f29
movzx eax, word [eax + 0x10]
test ax, ax
je 0x10159f29
mov al, byte [eax + ebx]
jmp 0x10159f2b
xor al, al
movsx eax, al
mov ecx, 0x12
mov dword [edi + 0x44], eax
mov eax, ebx
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015a029
movzx eax, word [eax + 0x12]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015a029
mov esi, dword [ecx]
add esi, ecx
mov dword [esp + 0x14], esi
je 0x1015a029
push dword [esi]
lea ecx, [edi + 0x48]
call fcn.10162160
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x1015a029
mov dword [esp + 0x18], ebp
lea edi, [esi + 4]
nop dword [eax]
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
add eax, edi
mov dword [esp + 0x3c], 0
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
movups xmmword [esp + 0x2c], xmm0
push dword [eax]
add eax, 4
push eax
call fcn.10001380
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x48]
lea eax, [esp + 0x2c]
add esi, dword [esp + 0x18]
cmp esi, eax
je 0x10159fda
mov ecx, esi
call fcn.10001690
movups xmm0, xmmword [esp + 0x2c]
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
jmp 0x1015a010
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x1015a010
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015a006
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1015a2dc
push ecx
push edx
call fcn.10196271
add esp, 8
mov eax, dword [esp + 0x14]
inc ebp
add dword [esp + 0x18], 0x18
add edi, 4
cmp ebp, dword [eax]
jb 0x10159f80
mov edi, dword [esp + 0x10]
mov eax, ebx
mov ecx, 0x14
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015a045
movzx eax, word [eax + 0x14]
test ax, ax
je 0x1015a045
mov eax, dword [eax + ebx]
jmp 0x1015a047
xor eax, eax
mov dword [edi + 0x54], eax
mov ecx, 0x16
mov eax, ebx
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015a066
movzx eax, word [eax + 0x16]
test ax, ax
je 0x1015a066
mov al, byte [eax + ebx]
jmp 0x1015a068
xor al, al
movsx eax, al
mov ecx, 0x18
mov dword [edi + 0x58], eax
mov eax, ebx
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015a230
movzx eax, word [eax + 0x18]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015a230
mov esi, dword [ecx]
add esi, ecx
mov dword [esp + 0x18], esi
je 0x1015a230
mov ebp, dword [edi + 0x60]
add edi, 0x5c
mov edx, dword [esi]
mov ecx, ebp
mov dword [esp + 0x14], edi
mov eax, dword [edi]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x1015a0e5
lea eax, [eax + edx*4]
mov dword [esp + 0x14], eax
mov esi, eax
cmp eax, ebp
je 0x1015a0dc
mov ecx, dword [esi]
test ecx, ecx
je 0x1015a0d1
push 1
call fcn.10151c90
add esi, 4
cmp esi, ebp
jne 0x1015a0c4
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [edi + 4], eax
jmp 0x1015a119
jbe 0x1015a119
mov eax, dword [edi + 8]
sub eax, dword [edi]
sar eax, 2
cmp edx, eax
jbe 0x1015a102
lea eax, [esp + 0x27]
mov ecx, edi
push eax
push edx
call fcn.10150010
jmp 0x1015a119
sub edx, ecx
je 0x1015a116
mov edi, ebp
mov ecx, edx
xor eax, eax
lea ebp, [ebp + edx*4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov dword [edi + 4], ebp
cmp dword [esi], 0
jbe 0x1015a22c
mov eax, 0xfffffffc
lea edi, [esi + 4]
sub eax, esi
xor ebx, ebx
mov dword [esp + 0x14], eax
mov ebp, dword [edi]
push 0x54
add ebp, edi
call fcn.10196241
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
test esi, esi
je 0x1015a1de
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
jmp 0x1015a1e0
xor esi, esi
push dword [esp + 0x20]
mov ecx, ebp
push esi
call fcn.1015bf20
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add eax, edi
add eax, dword [ecx + 0x5c]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x1015a20b
mov ecx, dword [eax]
mov dword [eax], esi
test ecx, ecx
je 0x1015a218
jmp 0x1015a211
test esi, esi
je 0x1015a218
mov ecx, esi
push 1
call fcn.10151c90
mov eax, dword [esp + 0x18]
inc ebx
add edi, 4
cmp ebx, dword [eax]
jb 0x1015a132
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov eax, ebx
mov ecx, 0x1a
sub eax, dword [ebx]
cmp cx, word [eax]
jae 0x1015a2ec
movzx eax, word [eax + 0x1a]
lea ecx, [ebx + eax]
test ax, ax
je 0x1015a2ec
mov eax, dword [ecx]
add eax, ecx
je 0x1015a2ec
push dword [eax]
add eax, 4
mov dword [esp + 0x40], 0
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push eax
lea ecx, [esp + 0x34]
movups xmmword [esp + 0x34], xmm0
call fcn.10001380
lea esi, [edi + 0x68]
lea eax, [esp + 0x2c]
cmp esi, eax
je 0x1015a2b4
mov ecx, esi
call fcn.10001690
movups xmm0, xmmword [esp + 0x2c]
mov ecx, 0xf
mov byte [esp + 0x2c], 0
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x3c]
movq qword [esi + 0x10], xmm0
jmp 0x1015a2b8
mov ecx, dword [esp + 0x40]
cmp ecx, 0x10
jb 0x1015a2ec
mov edx, dword [esp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1015a2e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1015a2e2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10196271
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1019627f
add esp, 0x38
ret 8