Function at 0x10012d20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.10012c60
mov ecx, eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x100133cb
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi + 8]
jge 0x100133cb
mov edi, dword [ebp + 0x14]
cmp edi, dword [esi + 0xc]
jge 0x100133cb
mov edx, dword [ecx + 4]
add eax, edx
mov ecx, dword [esi]
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], ecx
cmp eax, ecx
jle 0x100133cb
mov ecx, dword [ebp - 0xc]
mov esi, dword [esi + 4]
mov dword [ebp - 0x14], esi
mov ecx, dword [ecx + 8]
mov dword [ebp - 8], ecx
lea eax, [ecx + edi]
cmp eax, esi
jle 0x100133cb
cmp dword [ebx + 0xa40], 0
je 0x10012d9e
mov esi, dword [ebx + 0xa38]
jmp 0x10012da0
xor esi, esi
mov eax, dword [ebp - 0xc]
mov ebx, edx
mov eax, dword [eax]
dec eax
add esi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x10012dc5
sub eax, dword [ebp + 0xc]
add ebx, eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
add esi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
cmp edi, eax
jge 0x10012de0
sub eax, edi
imul eax, edx
add esi, eax
mov eax, dword [ebp - 0x14]
sub edi, eax
mov dword [ebp + 0x14], eax
add ecx, edi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edi, eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
call edx
test al, al
je 0x10012e26
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
dec eax
imul eax, edi
neg edi
mov dword [ebp + 0xc], edi
lea ecx, [ecx + eax*4]
mov dword [ebp - 0xc], ecx
mov eax, edi
mov edx, dword [ebp - 8]
imul eax, dword [ebp + 0x14]
mov edi, dword [ebp - 0xc]
add eax, dword [ebp + 0x10]
lea edi, [edi + eax*4]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 8]
sub eax, dword [ebp + 0x10]
cmp ebx, eax
cmovge ebx, eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp + 0x14]
cmp edx, eax
cmovge edx, eax
mov dword [ebp - 8], edx
cmp ebx, 1
jl 0x100133cb
cmp edx, 1
jl 0x100133cb
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x14]
movss xmm0, dword [ecx + 0x18]
and eax, 0xfffeffff
cmp dword [ecx + 0x10], 2
mov dword [ebp + 0x18], eax
movss dword [ebp - 0x14], xmm0
jne 0x10012eac
push eax
push ecx
movss dword [esp], xmm0
push dword [ecx + 8]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x10]
push ebx
push dword [ebp + 0x14]
call fcn.10010140
movss xmm0, dword [ebp - 0x14]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + 6]
movzx ecx, byte [ecx + 5]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0x14], eax
mov ecx, dword [ecx + 4]
movzx edx, cl
mov dword [ebp + 0x10], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [edx + 0x1c]
test dl, 0x40
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
je 0x10013071
ucomiss xmm0, dword [0x10052438]
lahf
test ah, 0x44
mov eax, dword [ebp + 0x18]
jp 0x10012f32
test al, al
jne 0x10012f32
test edx, edx
jle case.default.0x100132b9
mov eax, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp + 0x10], eax
xor eax, eax
test ebx, ebx
jle 0x10012f1e
lea esp, [esp]
cmp byte [eax + esi], 0
je 0x10012f19
mov dword [edi + eax*4], ecx
inc eax
cmp eax, ebx
jl 0x10012f10
add esi, dword [ebp - 4]
add edi, dword [ebp + 0x10]
dec edx
jne 0x10012f03
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100524c0]
cvttsd2si ecx, xmm0
cmp ecx, 0x100
jle 0x10012f50
mov ecx, pe_nt_image_headers32
jmp 0x10012f58
test ecx, ecx
je case.default.0x100132b9
and eax, 0xff
cmp eax, 5
ja case.default.0x100132b9
jmp dword [eax*4 + 0x100133d8]
test ecx, ecx
jle case.default.0x100132b9
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100144c0
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100149c0
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10014f70
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100154f0
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015990
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015f70
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test dword [ebp - 0x14], 0x180
je 0x1001328d
ucomiss xmm0, dword [0x10052438]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
lahf
test ah, 0x44
mov eax, dword [ebp + 0x18]
jp 0x100130eb
test al, al
jne 0x100130eb
test edx, edx
jle case.default.0x100132b9
mov eax, dword [ebp + 0xc]
shl eax, 2
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
nop
xor ecx, ecx
test ebx, ebx
jle 0x100130d5
mov dl, byte [ecx + esi]
test dl, dl
je 0x100130ca
mov eax, dword [ebp - 0x14]
cmp dl, 0xff
cmove eax, dword [ebp - 0xc]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, ebx
jl 0x100130b6
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add edi, dword [ebp + 0x10]
add esi, eax
dec edx
mov dword [ebp - 8], edx
jne 0x100130b0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cvtps2pd xmm0, xmm0
mov dword [ebp + 0x18], pe_nt_image_headers32
mulsd xmm0, qword [0x100524c0]
cvttsd2si edx, xmm0
cmp edx, 0x100
cmovg edx, dword [ebp + 0x18]
mov dword [ebp - 0x14], edx
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov dword [ebp - 0x10], edx
mov edx, ecx
shr edx, 8
movzx ecx, cl
and edx, 0xff
mov dword [ebp + 0x18], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 8]
test ecx, ecx
je case.default.0x100132b9
and eax, 0xff
cmp eax, 5
ja case.default.0x100132b9
jmp dword [eax*4 + 0x100133f0]
test ecx, ecx
jle case.default.0x100132b9
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100145a0
add esp, 0x2c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10014b20
add esp, 0x2c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015130
add esp, 0x2c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100155e0
add esp, 0x2c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015b60
add esp, 0x2c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push dword [ebp + 0x14]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100160e0
add esp, 0x2c
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100524c0]
cvttsd2si ecx, xmm0
mov dword [ebp + 0x14], ecx
test ecx, ecx
je case.default.0x100132b9
mov ecx, dword [ebp + 0x18]
and ecx, 0xff
cmp ecx, 5
ja case.default.0x100132b9
jmp dword [ecx*4 + 0x10013408]
cvttsd2si ecx, xmm0
test ecx, ecx
jle case.default.0x100132b9
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100142c0
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.100146f0
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10014d10
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015330
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015710
add esp, 0x20
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push ebx
push eax
push dword [ebp - 4]
mov edx, edi
call fcn.10015d60
add esp, 0x20
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14