Function at 0x100589e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b1a9f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10221008]
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
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.10058980
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
jne 0x10058a90
mov byte [ebp - 0x65], 0
jmp 0x10058ec9
push 0x34
call fcn.1018b705
mov edi, eax
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 1
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, edi
call fcn.100add10
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x10058acb
lea edi, [eax + 8]
jmp 0x10058acd
xor edi, edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x34], edi
test edi, edi
je 0x10058ae1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x6c]
mov byte [ebp - 4], 2
push ecx
push 3
push 1
push 0x80000000
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [eax + 0x18]
call fcn.100b67b0
test al, al
jne 0x10058b07
mov byte [ebp - 0x65], al
jmp 0x10058eba
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], 3
lea eax, [ebp - 0x65]
push eax
push 0x84
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x65], 0
call fcn.10048e00
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 0x10058e67
cmp dword [ebp - 0x30], 0x84
jne 0x10058e67
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.100a77f0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x54], 0
je 0x10058e55
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x6c], 0xc
nop
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10058e55
add edx, 4
add ecx, 4
sub dword [ebp - 0x6c], 4
jae 0x10058bb0
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 1]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
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 + 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 + 4]
cdq
mov ecx, eax
mov dword [ebp - 0x6c], edi
mov eax, dword [ebp - 0x2c]
mov edi, edx
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 5]
cdq
or ecx, eax
or edi, edx
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 + 4], edi
mov dword [esi], ecx
movzx eax, byte [eax + 0x10]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [ebp - 0x2c]
shld ecx, edi, 8
shl edi, 8
movzx eax, byte [eax + 0x11]
cdq
or edi, eax
or ecx, edx
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
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.10004a00
jmp 0x10058e6b
mov byte [ebp - 0x65], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.10004a00
jmp 0x10058e6b
mov byte [ebp - 0x65], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10058eba
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x10058e9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10058e9b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1018b735
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0
test edi, edi
je 0x10058ec9
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10004a00
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.1018b6f4
mov esp, ebp
pop ebp
ret