Function at 0x10097b90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
mov dword [esp + 8], ecx
mov ecx, 0x101080ea
push edi
mov edi, edx
call fcn.100de193
mov eax, dword [edi]
xor ebx, ebx
movzx edx, byte [edi + 0x20]
mov ecx, dword [esp + 0xc]
not edx
and edx, 1
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
add eax, edx
add eax, dword [ebp + 0x14]
mov esi, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], edx
test eax, eax
je 0x10097bf0
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x10097bfd
mov eax, dword [ecx + 0x2c]
lea edx, [eax + 1]
add eax, dword [esp + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10097c0e
inc eax
jmp 0x10097c14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
dec dword [ecx + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov dword [edi + 0x18], eax
setne al
lea eax, [eax*4 + 1]
push eax
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [edi]
call fcn.10079a50
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x10097c72
push 0
push ecx
push dword [edi + 8]
mov edx, 0x77
mov ecx, esi
call fcn.1005f370
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
cmp dword [ebp + 0x18], ebx
jne 0x10097c99
mov edx, dword [ebp + 0x14]
test edx, edx
jle 0x10097c99
push edx
add eax, ecx
mov edx, 0x4c
push eax
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call fcn.1005f370
add esp, 0xc
cmp dword [esp + 0x14], ebx
jle 0x10097ede
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, edi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.10097b10
mov dword [esp + 0x28], eax
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x2c]
lea ecx, [edx + 1]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 4]
add ecx, edx
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [edi + 4]
mov eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x10097cf2
mov ecx, dword [edi + 8]
push ecx
test eax, eax
mov ecx, 0x71
mov edx, 0x14
cmove edx, ecx
mov ecx, esi
call fcn.1005f460
add esp, 4
mov dword [esp + 0x34], eax
mov edx, 0x56
mov ecx, esi
push dword [edi + 4]
push dword [esp + 0x14]
push dword [esp + 0x38]
call fcn.1005f370
mov ecx, dword [edi + 0x14]
add esp, 0xc
test ecx, ecx
jns 0x10097d35
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], bl
je 0x10097d43
mov ecx, 0x1010644c
jmp 0x10097d4c
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax]
cmp byte [eax + 0x51], bl
jne 0x10098012
mov eax, dword [esp + 0x18]
add eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x18], ecx
movzx eax, word [ecx + 6]
push eax
push 0
push dword [ecx + 0x10]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], bl
je 0x10097da0
push dword [esp + 0x18]
mov edx, 0xfffffff7
call fcn.1005fdf0
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x10097dd6
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], bl
lea ecx, [eax + ecx*4]
je 0x10097dcb
push 0xfffffffffffffff7
push dword [esp + 0x1c]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.1005ff10
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x10097dd6
mov eax, dword [esp + 0x18]
mov dword [ecx - 4], eax
mov byte [ecx - 0x13], 0xf7
movzx ecx, word [eax + 8]
movzx eax, word [eax + 6]
mov edx, dword [edi]
sub ecx, eax
dec ecx
push ecx
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.10098d70
mov ecx, dword [esp + 0x34]
mov edx, 0x10
mov dword [ecx + 0x10], eax
mov ecx, esi
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x34], eax
inc eax
push eax
push 0
push eax
call fcn.1005f370
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov edx, 0xc
dec dword [ecx + 0x38]
mov eax, dword [ecx + 0x38]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, esi
push 0
push dword [edi + 0x10]
mov dword [edi + 0xc], eax
push eax
call fcn.1005f370
add esp, 0xc
mov edx, 0x8a
mov ecx, esi
push dword [edi + 8]
call fcn.1005f460
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x10097e6e
push 0
push dword [edi + 0x18]
mov edx, 0x14
mov ecx, esi
push eax
call fcn.1005f370
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x10097e7c
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], bl
je 0x10097e8a
mov eax, 0x1010644c
jmp 0x10097e93
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, 0x4c
push dword [edi + 4]
mov eax, dword [esp + 0x10]
push dword [esp + 0x34]
push dword [esp + 0x18]
mov ecx, dword [eax + 8]
call fcn.1005f370
mov eax, dword [esi]
add esp, 0xc
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], bl
je 0x10097ec6
mov eax, 0x1010644c
jmp 0x10097edb
mov ecx, dword [esp + 0x2c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10097f6d
mov eax, dword [esi + 0x6c]
mov edx, 0x31
mov ebx, dword [edi + 8]
add eax, 4
push 0
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.1005f370
add esp, 0xc
mov edx, 0x21
mov ecx, esi
push 0
push 0
push ebx
call fcn.1005f370
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, dword [esp + 0x14]
mov edx, 0x26
mov ecx, esi
push eax
push 0
push ebx
call fcn.1005f370
mov ecx, dword [esi]
add esp, 0xc
mov ebx, eax
cmp byte [ecx + 0x51], 0
jne 0x10097f5a
mov ecx, dword [esi + 0x68]
lea edx, [ebx + ebx*4]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x14]
mov byte [ecx + edx*4 + 1], 0xfd
mov dword [ecx + edx*4 + 0x10], eax
push dword [esp + 0x34]
mov edx, 0x7a
mov ecx, esi
call fcn.1005f460
add esp, 4
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10097f94
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, edi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.10097b10
add esp, 0xc
mov dword [esp + 0x1c], eax
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, esi
add eax, dword [esp + 0x14]
push eax
push edx
mov dl, byte [edi + 0x20]
push dword [edi + 8]
not dl
and edx, 1
add edx, 0x82
call fcn.1005f370
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x10097fd8
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
sub edx, dword [esp + 0x14]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
test ebx, ebx
je 0x10098012
mov edx, dword [edi + 0x1c]
test edx, edx
jne 0x10097fe6
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x10097fee
mov ebx, dword [esi + 0x6c]
dec ebx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x10098005
mov eax, 0x1010644c
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret