Function at 0x10040760
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f0bad
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10144008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x1014814b
call fcn.100e5245
push 0x40
lea eax, [esi + 0x34]
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
push 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push eax
movups xmmword [esi + 0x24], xmm0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi + 0x74], xmm0
mov byte [esi + 0x9c], 0
push eax
call fcn.10040680
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
jne 0x1004081a
mov byte [ebp - 0x65], 0
jmp 0x10040c12
push 0x34
call fcn.100e2b35
mov edi, eax
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 5
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
call fcn.100b31b0
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x10040855
lea edi, [eax + 8]
jmp 0x10040857
xor edi, edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x34], edi
test edi, edi
je 0x1004086b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 6
push ecx
push 3
push 1
push 0x80000000
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [eax + 0x18]
call fcn.100c3ba0
test al, al
jne 0x10040891
mov byte [ebp - 0x65], al
jmp 0x10040c03
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x65]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x65], 0
push ecx
push 0x84
call fcn.1003f3e0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
mov eax, dword [edi]
push ecx
push 0x84
push dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
mov ecx, edi
call eax
test eax, eax
jne 0x10040bf3
cmp dword [ebp - 0x30], 0x84
jne 0x10040bf3
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
sub eax, edx
push ecx
add eax, 0xfffffff0
lea ecx, [ebp - 0x64]
push eax
call fcn.100b2070
add esp, 8
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x54], 0
je 0x10040bd9
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
add ecx, 0xfffffff0
mov dword [ebp - 0x6c], 0xc
add ecx, eax
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10040bd9
add edx, 4
add ecx, 4
sub dword [ebp - 0x6c], 4
jae 0x10040940
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 1]
cdq
or edi, eax
or ecx, edx
mov eax, dword [ebp - 0x2c]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 2]
cdq
or edi, eax
or ecx, edx
shld ecx, edi, 8
mov ecx, dword [ebp - 0x2c]
shl edi, 8
movzx eax, byte [ecx + 3]
cdq
or edi, eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], edi
movzx eax, byte [ecx + 5]
cdq
mov ecx, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x2c]
mov edi, edx
movzx eax, byte [eax + 4]
cdq
shld edx, eax, 8
shl eax, 8
or edi, edx
or ecx, eax
mov eax, dword [ebp - 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 6]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 7]
cdq
or ecx, eax
or edi, edx
or edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ecx
movzx eax, byte [eax + 9]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 8]
cdq
shld edx, eax, 8
shl eax, 8
or ecx, edx
or edi, eax
mov eax, dword [ebp - 0x2c]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 0xa]
cdq
or edi, eax
or ecx, edx
shld ecx, edi, 8
mov ecx, dword [ebp - 0x2c]
shl edi, 8
movzx eax, byte [ecx + 0xb]
cdq
or edi, eax
mov dword [esi + 4], edi
mov dword [esi], 0
movzx eax, byte [ecx + 0xd]
cdq
mov ecx, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x2c]
mov edi, edx
movzx eax, byte [eax + 0xc]
cdq
shld edx, eax, 8
shl eax, 8
or edi, edx
or ecx, eax
mov eax, dword [ebp - 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xe]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xf]
cdq
or ecx, eax
or edi, edx
or edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x2c]
mov dword [esi], ecx
mov dword [esi + 4], edi
movzx eax, byte [eax + 0x11]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x10]
cdq
shld edx, eax, 8
shl eax, 8
or ecx, edx
or edi, eax
mov eax, dword [ebp - 0x2c]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 0x12]
cdq
or edi, eax
or ecx, edx
shld ecx, edi, 8
mov ecx, dword [ebp - 0x2c]
shl edi, 8
movzx eax, byte [ecx + 0x13]
cdq
or edi, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], edi
movzx eax, byte [ecx + 0x15]
cdq
mov ecx, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x2c]
mov edi, edx
movzx eax, byte [eax + 0x14]
cdq
shld edx, eax, 8
shl eax, 8
or edi, edx
or ecx, eax
mov eax, dword [ebp - 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x16]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x2c]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x17]
cdq
or ecx, eax
mov byte [ebp - 0x65], 1
mov dword [esi + 0x10], ecx
or edi, edx
or edi, dword [ebp - 0x6c]
mov dword [esi + 0x14], edi
mov edi, dword [ebp - 0x2c]
movzx eax, byte [edi + 0x18]
shl eax, 0x18
mov dword [esi + 0x18], eax
movzx edx, byte [edi + 0x19]
shl edx, 0x10
or edx, eax
mov dword [esi + 0x18], edx
movzx ecx, byte [edi + 0x1a]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x18], ecx
movzx eax, byte [edi + 0x1b]
or eax, ecx
mov dword [esi + 0x18], eax
movzx eax, byte [edi + 0x1c]
shl eax, 0x18
mov dword [esi + 0x1c], eax
movzx edx, byte [edi + 0x1d]
shl edx, 0x10
or edx, eax
mov dword [esi + 0x1c], edx
movzx ecx, byte [edi + 0x1e]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x1c], ecx
movzx eax, byte [edi + 0x1f]
or eax, ecx
mov dword [esi + 0x1c], eax
movzx eax, byte [edi + 0x20]
shl eax, 0x18
mov dword [esi + 0x20], eax
movzx edx, byte [edi + 0x21]
shl edx, 0x10
or edx, eax
mov dword [esi + 0x20], edx
movzx ecx, byte [edi + 0x22]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x20], ecx
movzx eax, byte [edi + 0x23]
or eax, ecx
mov dword [esi + 0x20], eax
movups xmm0, xmmword [edi + 0x24]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [edi + 0x34]
movups xmmword [esi + 0x34], xmm0
movups xmm0, xmmword [edi + 0x44]
movups xmmword [esi + 0x44], xmm0
movups xmm0, xmmword [edi + 0x54]
movups xmmword [esi + 0x54], xmm0
movups xmm0, xmmword [edi + 0x64]
mov edi, dword [ebp - 0x70]
movups xmmword [esi + 0x64], xmm0
jmp 0x10040bdd
mov byte [ebp - 0x65], 0
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x64]
call fcn.10003460
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xb
jmp 0x10040bf7
mov byte [ebp - 0x65], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.1003ef00
mov byte [ebp - 4], 0
test edi, edi
je 0x10040c12
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [ebp - 4], 0x29
lea ecx, [ebp - 0x4c]
call fcn.10003460
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e2b24
mov esp, ebp
pop ebp
ret