Function at 0x10095040
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, 0x10103106
push edi
mov edi, edx
call fcn.100d96c4
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 0x100950a0
mov edx, dword [ebp + 0xc]
sub edx, eax
jmp 0x100950ad
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 + 0x10]
test eax, eax
je 0x100950be
inc eax
jmp 0x100950c4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
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.10078240
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 0x10095122
push 0
push ecx
push dword [edi + 8]
mov edx, 0x78
mov ecx, esi
call fcn.1005e520
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
cmp dword [ebp + 0x18], ebx
jne 0x10095149
mov edx, dword [ebp + 0x14]
test edx, edx
jle 0x10095149
push edx
add eax, ecx
mov edx, 0x4d
push eax
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
mov ecx, dword [eax + 8]
call fcn.1005e520
add esp, 0xc
cmp dword [esp + 0x14], ebx
jle 0x1009538e
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, edi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.10094fc0
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 0x100951a2
mov ecx, dword [edi + 8]
push ecx
test eax, eax
mov ecx, 0x73
mov edx, 0x14
cmove edx, ecx
mov ecx, esi
call fcn.1005e610
add esp, 4
mov dword [esp + 0x34], eax
mov edx, 0x57
mov ecx, esi
push dword [edi + 4]
push dword [esp + 0x14]
push dword [esp + 0x38]
call fcn.1005e520
mov ecx, dword [edi + 0x14]
add esp, 0xc
test ecx, ecx
jns 0x100951e5
mov ecx, dword [esi + 0x6c]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x51], bl
je 0x100951f3
mov ecx, 0x10101774
jmp 0x100951fc
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 0x100954c2
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 0x10095250
push dword [esp + 0x18]
mov edx, 0xfffffff7
call fcn.1005eee0
mov eax, dword [esp + 0x1c]
add esp, 4
jmp 0x10095286
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 0x1009527b
push 0xfffffffffffffff7
push dword [esp + 0x1c]
lea edx, [ecx - 0x14]
mov ecx, esi
call fcn.1005f0a0
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x10095286
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.10096220
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.1005e520
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.1005e520
add esp, 0xc
mov edx, 0x8a
mov ecx, esi
push dword [edi + 8]
call fcn.1005e610
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x1009531e
push 0
push dword [edi + 0x18]
mov edx, 0x14
mov ecx, esi
push eax
call fcn.1005e520
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x6c]
test ecx, ecx
jns 0x1009532c
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x51], bl
je 0x1009533a
mov eax, 0x10101774
jmp 0x10095343
mov eax, dword [esi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, 0x4d
push dword [edi + 4]
mov eax, dword [esp + 0x10]
push dword [esp + 0x34]
push dword [esp + 0x18]
mov ecx, dword [eax + 8]
call fcn.1005e520
mov eax, dword [esi]
add esp, 0xc
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x51], bl
je 0x10095376
mov eax, 0x10101774
jmp 0x1009538b
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 0x1009541d
mov eax, dword [esi + 0x6c]
mov edx, 0x30
mov ebx, dword [edi + 8]
add eax, 4
push 0
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.1005e520
add esp, 0xc
mov edx, 0x20
mov ecx, esi
push 0
push 0
push ebx
call fcn.1005e520
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, dword [esp + 0x14]
mov edx, 0x25
mov ecx, esi
push eax
push 0
push ebx
call fcn.1005e520
mov ecx, dword [esi]
add esp, 0xc
mov ebx, eax
cmp byte [ecx + 0x51], 0
jne 0x1009540a
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, 0x7b
mov ecx, esi
call fcn.1005e610
add esp, 4
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x10095444
push dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, edi
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.10094fc0
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, 0x83
call fcn.1005e520
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x51], 0
jne 0x10095488
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 0x100954c2
mov edx, dword [edi + 0x1c]
test edx, edx
jne 0x10095496
mov edx, dword [esi + 0x6c]
test ebx, ebx
jns 0x1009549e
mov ebx, dword [esi + 0x6c]
dec ebx
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x100954b5
mov eax, 0x10101774
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