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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100424e2
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x10051018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
mov dword [0x10053078], eax
test esi, esi
je 0x10016dac
cmp dword [ebp + 0xc], 1
jne 0x10016dac
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 4], 0
mov eax, 0x1005329c
cmp dword [0x100532b0], 0x10
mov dword [ebp - 0x138], 0
cmovae eax, dword [0x1005329c]
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 0x148], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x124], 0x42
mov al, 0xd
xor al, byte [ebp - 0x124]
mov cl, 0x32
xor cl, byte [ebp - 0x124]
mov ch, 0x2c
mov byte [ebp - 0x123], al
mov bl, 0x2b
mov byte [ebp - 0x15d], ch
mov ah, 0x2d
mov al, byte [ebp - 0x15d]
mov dl, 0x36
mov byte [ebp - 0x122], cl
mov dh, 0x6c
mov cl, byte [ebp - 0x124]
mov bh, 0xb
xor al, cl
mov byte [ebp - 0x15e], bl
mov byte [ebp - 0x11b], al
xor ah, cl
mov al, byte [ebp - 0x15e]
xor dl, cl
xor al, cl
mov byte [ebp - 0x11f], ah
mov byte [ebp - 0x11a], al
xor bl, cl
lea eax, [ebp - 0x123]
mov byte [ebp - 0x119], 0
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 0x121], dl
xor ch, cl
mov byte [ebp - 0x120], bl
xor dh, cl
mov byte [ebp - 0x11e], ch
xor bh, cl
mov byte [ebp - 0x11d], dh
push eax
mov byte [ebp - 0x11c], bh
mov byte [ebp - 0x119], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi]
test eax, eax
je 0x1001682d
cmp esi, eax
jne 0x1001682d
mov ecx, edi
call fcn.10017050
mov al, 1
jmp 0x10016dae
mov eax, dword [edi + 4]
test eax, eax
je 0x10016ae6
cmp esi, eax
jne 0x10016ae6
cmp dword [0x100532ec], 1
jne 0x10016da8
mov ecx, dword [edi + 0x18]
mov byte [0x10052fdb], 1
call fcn.1000e980
push eax
lea ecx, [ebp - 0x130]
call fcn.10007e80
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x120], esi
jbe 0x100168af
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
nop dword [eax]
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
movsx eax, byte [eax + esi]
push eax
call ebx
add esp, 4
test eax, eax
je 0x100169dd
inc esi
cmp esi, dword [ebp - 0x120]
jb 0x10016880
mov ecx, dword [edi + 0x18]
call fcn.1000e980
cmp dword [eax + 0x14], 0x10
jb 0x100168bf
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [edi + 0x1c], eax
cmp eax, 0x64
jle 0x100169cb
movaps xmm0, xmmword [0x1004ac40]
xor ecx, ecx
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0x6b76
mov byte [ebp - 0x14a], 0
nop word [eax + eax]
mov al, byte [ebp - 0x15c]
xor byte [ebp + ecx - 0x15b], al
inc ecx
cmp ecx, 0x11
jb 0x10016900
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14a], 0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10003b20
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x1004a810]
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x164], 0x363972
movaps xmm0, xmmword [0x1004acf0]
movups xmmword [ebp - 0x174], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x184]
xor byte [ebp + ecx - 0x183], al
inc ecx
cmp ecx, 0x22
jb 0x10016960
lea eax, [ebp - 0x183]
mov byte [ebp - 0x161], 0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10003b20
push 0
push ecx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1a0]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x1004a074]
lea ecx, [ebp - 0x1b8]
call fcn.10003a60
lea ecx, [ebp - 0x1a0]
call fcn.10003a60
lea ecx, [ebp - 0x130]
call fcn.10003a60
mov al, 1
jmp 0x10016dae
movaps xmm0, xmmword [0x1004ad30]
xor ecx, ecx
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0x706d
mov byte [ebp - 0x14a], 0
nop dword [eax]
mov al, byte [ebp - 0x15c]
xor byte [ebp + ecx - 0x15b], al
inc ecx
cmp ecx, 0x11
jb 0x10016a00
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14a], 0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10003b20
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x1004a950]
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x168], 0xc0b041c
movaps xmm0, xmmword [0x1004a4f0]
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0x48471b
mov al, byte [ebp - 0x188]
xor byte [ebp + ecx - 0x187], al
inc ecx
cmp ecx, 0x26
jb 0x10016a62
lea eax, [ebp - 0x187]
mov byte [ebp - 0x161], 0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10003b20
push 0
push ecx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1a0]
mov dword [esp], 0
push 0
push 0
push 0
push eax
lea eax, [ebp - 0x1b8]
push eax
push eax
call dword [0x1004a074]
lea ecx, [ebp - 0x1b8]
call fcn.10003a60
lea ecx, [ebp - 0x1a0]
call fcn.10003a60
lea ecx, [ebp - 0x130]
mov dword [edi + 0x1c], 0
call fcn.10003a60
mov al, 1
jmp 0x10016dae
mov eax, dword [edi + 8]
test eax, eax
je 0x10016af5
cmp esi, eax
je 0x10016da8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10016bb9
cmp esi, eax
jne 0x10016bb9
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100532ec], 1
setne dl
mov dword [0x100532ec], edx
call fcn.1000ce50
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10016b2f
mov esi, dword [esi]
mov ah, 0x53
mov byte [ebp - 0x11b], 0
mov al, 0x12
mov byte [ebp - 0x120], ah
mov cl, 0x26
mov byte [ebp - 0x11b], 0
xor cl, ah
mov dword [ebp - 0x158], 0x15192070
mov dl, 0x27
mov byte [ebp - 0x11e], cl
mov bl, 0x3c
mov dword [ebp - 0x154], 0x8351513
xor al, ah
mov dword [ebp - 0x150], 0x1e111813
xor dl, ah
mov byte [ebp - 0x11f], al
xor bl, ah
mov byte [ebp - 0x11d], dl
mov byte [ebp - 0x11c], bl
mov cl, 0x70
mov word [ebp - 0x14c], 0x1517
xor eax, eax
mov byte [ebp - 0x14a], 0
nop
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10016d7a
mov cl, byte [ebp - 0x158]
jmp 0x10016ba0
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10016cbb
cmp esi, eax
jne 0x10016cbb
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100532f0], 1
setne dl
mov dword [0x100532f0], edx
call fcn.1000ce50
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10016bf3
mov esi, dword [esi]
mov al, 0x78
mov byte [ebp - 0x124], 0x2b
xor al, byte [ebp - 0x124]
mov dh, 0x45
mov byte [ebp - 0x123], al
mov ah, 0x40
mov al, byte [ebp - 0x124]
mov cl, 0x5f
mov bh, dh
mov byte [ebp - 0x11b], 0
xor cl, al
mov byte [ebp - 0x11b], 0
mov dl, 0x44
mov byte [ebp - 0x122], cl
mov bl, 0x48
mov dword [ebp - 0x158], 0x79754c1c
mov ch, 0x62
mov dword [ebp - 0x154], 0x6459797f
xor ah, al
mov dword [ebp - 0x150], 0x727d747f
xor dl, al
mov byte [ebp - 0x11f], ah
xor bl, al
mov byte [ebp - 0x121], dl
xor ch, al
mov byte [ebp - 0x120], bl
xor dh, al
mov byte [ebp - 0x11e], ch
xor bh, al
mov byte [ebp - 0x11d], dh
mov byte [ebp - 0x11c], bh
mov cl, 0x1c
mov word [ebp - 0x14c], 0x797b
xor eax, eax
mov byte [ebp - 0x14a], 0
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10016ca9
mov cl, byte [ebp - 0x158]
jmp 0x10016c94
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x123]
jmp 0x10016d87
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10016da8
cmp esi, eax
jne 0x10016da8
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100532f4], 1
setne dl
mov dword [0x100532f4], edx
call fcn.1000ce50
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10016cf5
mov esi, dword [esi]
mov ah, 0x71
mov byte [ebp - 0x11b], 0
mov dl, 0x1d
mov byte [ebp - 0x120], ah
mov al, 0x22
mov byte [ebp - 0x11b], 0
mov cl, 0x14
mov dword [ebp - 0x158], 0x474b7222
mov bl, dl
mov dword [ebp - 0x154], 0x5a674741
xor cl, ah
mov dword [ebp - 0x150], 0x4c434a41
xor al, ah
mov byte [ebp - 0x11e], cl
xor dl, ah
mov byte [ebp - 0x11f], al
xor bl, ah
mov byte [ebp - 0x11d], dl
mov byte [ebp - 0x11c], bl
mov cl, 0x22
mov word [ebp - 0x14c], 0x4745
xor eax, eax
mov byte [ebp - 0x14a], 0
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10016d7a
mov cl, byte [ebp - 0x158]
jmp 0x10016d65
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11f]
push esi
push eax
lea eax, [ebp - 0x157]
mov byte [ebp - 0x14a], 0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x1a0]
call fcn.10003a60
mov al, 1
jmp 0x10016dae
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003fc80
mov esp, ebp
pop ebp
ret 8