Function at 0x100599f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb0f0
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push esi
push edi
mov eax, dword [0x100f2040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
mov dword [0x100f6244], eax
test ecx, ecx
jne 0x10059a3f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10059a5c
cmp ecx, dword [edi + 4]
jne 0x10059ee2
mov ecx, edi
call fcn.1005a3a0
jmp 0x10059ee2
and eax, 0xf0000
cmp eax, 0x10000
je 0x10059eb3
cmp eax, 0x40000
je 0x10059aab
cmp eax, 0x80000
jne 0x10059ee2
mov esi, dword [edi]
test esi, esi
je 0x10059ee2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10059ee2
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.1001e280
jmp 0x10059ee2
mov esi, dword [edi]
test esi, esi
je 0x10059acb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10059acb
lea ecx, [esi + 0xd0]
xor dl, dl
call fcn.1001e280
mov ecx, dword [edi + 0x2c]
mov eax, ecx
mov edx, dword [edi + 0x28]
sub eax, edx
sar eax, 3
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x10059c44
mov esi, ecx
nop dword [eax]
sub esi, edx
sar esi, 3
cmp dword [ebp - 0x1c], esi
jb 0x10059b41
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10059b20
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
mov ecx, dword [edi + 0x2c]
add esp, 0x14
mov edx, dword [edi + 0x28]
mov esi, dword [ebp - 0x1c]
cmp dword [edx + esi*8 + 4], 0
je 0x10059c28
mov eax, ecx
sub eax, edx
sar eax, 3
cmp esi, eax
jb 0x10059ba4
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10059b83
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
mov ecx, dword [edi + 0x2c]
add esp, 0x14
mov edx, dword [edi + 0x28]
mov eax, dword [edx + esi*8 + 4]
cmp dword [eax], 0
je 0x10059c28
sub ecx, edx
sar ecx, 3
cmp esi, ecx
jb 0x10059bfd
push str.vector_subscript_out_of_range
push 0x100e0bf8
push 0
push 0x761
push 0x100e16e8
push 2
call fcn.10090860
add esp, 0x18
cmp eax, 1
jne 0x10059bdf
int3
push 0
push 0x761
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100e0d34
push str._vector_subscript_out_of_range_
call fcn.1008fb80
add esp, 0x14
mov eax, dword [edi + 0x28]
mov eax, dword [eax + esi*8 + 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10059c28
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10059c28
mov ecx, dword [ebp - 0x1c]
push pe_nt_image_headers32
call dword [0x100e6d60]
mov ecx, dword [edi + 0x2c]
inc esi
mov edx, dword [edi + 0x28]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x1c], esi
sar eax, 3
mov esi, ecx
cmp dword [ebp - 0x1c], eax
jb 0x10059af0
cmp edx, ecx
je 0x10059ee2
nop dword [eax]
mov esi, dword [edx + 4]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10059c61
mov eax, dword [ebp + 8]
cmp dword [esi], eax
je 0x10059c6d
add edx, 8
cmp edx, ecx
jne 0x10059c50
jmp 0x10059ee2
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10059ee2
cmp dword [esi + 0x54], 0
je 0x10059ee2
mov ecx, dword [eax]
test ecx, ecx
je 0x10059ee2
mov esi, dword [0x100e6d00]
mov eax, 0x10624dd3
mul ecx
mov ecx, 0xd78ae8
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.1001e350
mov ecx, eax
call esi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10059ee2
mov esi, dword [ebp - 0x14]
mov ecx, edi
push esi
call fcn.1005a000
cmp dword [edi + 0x18], eax
jne 0x10059ee2
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
add eax, dword [ecx]
mov dword [edi + 0x14], eax
mov edi, dword [esi]
test edi, edi
je 0x10059cfd
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10059cfd
push 0x4000
mov ecx, edi
call dword [0x100e6d60]
mov ecx, 0xd78d38
call fcn.1001e350
test eax, eax
je 0x10059d23
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10059d23
push 0xffffffffffffffff
call dword [0x100e6df0]
add esp, 4
mov edi, dword [ebp - 0x1c]
mov dl, 0x22
mov dword [ebp - 0x18], 0x415a6722
xor ecx, ecx
mov dword [ebp - 0x14], 0x454c434a
mov word [ebp - 0x10], 0x47
nop
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 8
jae 0x10059d4f
mov dl, byte [ebp - 0x18]
jmp 0x10059d40
xorps xmm0, xmm0
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x17]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x24], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10059d75
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10003370
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x98]
push dword [esi + 0x54]
mov edx, edi
call fcn.1000fe40
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x10059db4
mov ecx, dword [ecx]
movaps xmm0, xmmword [0x100e8ea0]
lea edi, [ebp - 0x3c]
push 0x64
push 4
movups xmmword [ebp - 0x60], xmm0
push ecx
movaps xmm0, xmmword [0x100e99c0]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov byte [ebp - 0x40], 0
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x60]
mov byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x1f
jb 0x10059de0
sub esp, 0x1c
mov byte [ebp - 0x40], 0
mov esi, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea edx, [ecx + 1]
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10059e20
sub ecx, edx
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, esi
call fcn.10003370
lea eax, [ebp - 0x7c]
push eax
call fcn.1000d650
add esp, 0x24
mov edx, edi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.1002afd0
add esp, 8
lea ecx, [ebp - 0x7c]
call fcn.10002f50
mov eax, dword [ebp - 0x7c]
push 8
push eax
mov dword [ebp - 0x7c], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.10002f50
mov eax, dword [ebp - 0x98]
push 8
push eax
mov dword [ebp - 0x98], 0
call fcn.100891b0
add esp, 8
lea ecx, [ebp - 0x3c]
call fcn.10002f50
mov eax, dword [ebp - 0x3c]
push 8
push eax
mov dword [ebp - 0x3c], 0
call fcn.100891b0
add esp, 8
jmp 0x10059ee2
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x2c]
cmp ecx, esi
je 0x10059ee2
nop dword [eax]
mov edx, dword [ecx + 4]
test edx, edx
je 0x10059ece
mov eax, dword [ebp + 8]
cmp dword [edx], eax
je 0x10059ed7
add ecx, 8
cmp ecx, esi
jne 0x10059ec0
jmp 0x10059ee2
push edx
mov ecx, edi
call fcn.1005a000
mov dword [edi + 0x18], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8