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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f980
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x10083040]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 + 0x10]
mov dword [0x100881a4], eax
test esi, esi
je 0x10018e75
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100183aa
cmp eax, 4
je 0x100183aa
cmp eax, 0x100
jne 0x10018e75
push 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call fcn.1004f640
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0xf
add esp, 0xc
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 4], 0
mov eax, 0x10084ef0
cmp dword [0x10084f04], 0xf
mov dword [ebp - 0x11c], 0
cmova eax, dword [0x10084ef0]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x12c], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor cl, cl
mov byte [ebp - 0x148], 0x70
mov byte [ebp - 0x13d], cl
mov al, 0x3f
xor al, byte [ebp - 0x148]
mov dh, 0x1e
xor cl, byte [ebp - 0x148]
mov ah, 0x19
mov byte [ebp - 0x147], al
mov dl, 4
mov byte [ebp - 0x146], cl
mov ch, 0x1f
mov cl, byte [ebp - 0x148]
mov byte [ebp - 0x152], 0x5e
xor dl, cl
mov al, byte [ebp - 0x152]
xor ch, cl
xor al, cl
mov byte [ebp - 0x151], 0x39
mov byte [ebp - 0x141], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x135], dh
mov byte [ebp - 0x140], al
xor dh, cl
mov al, byte [ebp - 0x135]
xor al, cl
mov byte [ebp - 0x136], ah
mov byte [ebp - 0x13f], al
xor ah, cl
mov al, byte [ebp - 0x136]
xor al, cl
mov byte [ebp - 0x144], ah
mov byte [ebp - 0x13e], al
lea eax, [ebp - 0x147]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x145], dl
push eax
mov byte [ebp - 0x143], ch
mov byte [ebp - 0x142], dh
mov byte [ebp - 0x13d], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [edi]
test eax, eax
je 0x1001864c
cmp esi, eax
jne 0x1001864c
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x10088398], 1
setne dl
mov dword [0x10088398], edx
mov byte [0x100880f2], dl
call fcn.1000f7b0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10018517
mov esi, dword [esi]
mov byte [ebp - 0x148], 0x66
mov al, 0x35
xor al, byte [ebp - 0x148]
mov cl, 0xd
xor cl, byte [ebp - 0x148]
mov ah, 0xa
mov byte [ebp - 0x147], al
mov ch, ah
mov byte [ebp - 0x146], cl
mov dl, 0xf
mov cl, byte [ebp - 0x148]
mov dh, 0x27
mov byte [ebp - 0x136], 0x14
xor ch, cl
mov al, byte [ebp - 0x136]
xor dl, cl
xor al, cl
mov byte [ebp - 0x135], 3
mov byte [ebp - 0x141], al
xor ah, cl
mov al, byte [ebp - 0x135]
xor dh, cl
xor al, cl
mov byte [ebp - 0x151], 7
mov byte [ebp - 0x140], al
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 0x5e
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x145], dl
mov cl, 0x37
mov byte [ebp - 0x144], ah
mov dl, 0x2d
mov byte [ebp - 0x13f], al
mov ah, 0x3d
mov byte [ebp - 0x142], dh
mov al, 0x13
mov byte [ebp - 0x13e], 0
mov byte [ebp - 0x134], ch
xor al, ch
mov byte [ebp - 0x12f], 0
xor cl, ch
mov byte [ebp - 0x133], al
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x12f], 0
lea eax, [ebp - 0x147]
push esi
push eax
lea eax, [ebp - 0x133]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x10018e3b
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018e31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018e94
jmp 0x10018e31
mov eax, dword [edi + 4]
test eax, eax
je 0x10018741
cmp esi, eax
jne 0x10018741
mov esi, dword [0x10088038]
xor eax, eax
cmp dword [0x1008839c], 1
setne al
mov dword [0x1008839c], eax
test esi, esi
je 0x100186c0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100186c0
test eax, eax
mov eax, dword [esi]
je 0x100186a4
test eax, eax
je 0x100186c0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100186c0
mov ecx, dword [esi]
push 1
call dword [0x1007ace0]
jmp 0x100186c0
test eax, eax
je 0x100186c0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100186c0
mov ecx, dword [esi]
push eax
push eax
push eax
call dword [0x1007ace4]
mov edx, dword [0x1008839c]
lea ecx, [ebp - 0x16c]
call fcn.1000f7b0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x100186db
mov esi, dword [esi]
mov cl, 0x3b
mov dword [ebp - 0x148], 0x555e7c3b
mov dword [ebp - 0x144], 0x526d5e52
xor eax, eax
mov dword [ebp - 0x140], 0x57595248
mov word [ebp - 0x13c], 0x5e
nop word [eax + eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xc
jae 0x10018725
mov cl, byte [ebp - 0x148]
jmp 0x10018710
mov ch, 0xa
mov byte [ebp - 0x13b], 0
mov byte [ebp - 0x134], ch
mov al, 0x47
mov cl, 0x63
mov dl, 0x79
mov ah, 0x69
jmp 0x100185c5
mov eax, dword [edi + 8]
test eax, eax
je 0x10018842
cmp esi, eax
jne 0x10018842
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x100883a4], 1
setne dl
mov dword [0x100883a4], edx
call fcn.1000f7b0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001877b
mov esi, dword [esi]
mov cl, 0xc
mov byte [ebp - 0x148], 0x69
mov ch, cl
mov byte [ebp - 0x136], 0x2a
xor cl, byte [ebp - 0x148]
mov al, 0x3b
xor al, byte [ebp - 0x148]
mov dl, 7
mov byte [ebp - 0x147], al
mov ah, 0xd
mov al, byte [ebp - 0x136]
mov dh, 0x1b
mov byte [ebp - 0x146], cl
mov cl, byte [ebp - 0x148]
xor al, cl
mov byte [ebp - 0x135], 8
mov byte [ebp - 0x141], al
xor dl, cl
mov al, byte [ebp - 0x135]
xor ah, cl
xor al, cl
mov byte [ebp - 0x151], 0x19
mov byte [ebp - 0x140], al
xor dh, cl
mov al, byte [ebp - 0x151]
xor al, cl
mov byte [ebp - 0x152], ch
xor ch, cl
mov byte [ebp - 0x13f], al
mov al, byte [ebp - 0x152]
xor al, cl
mov byte [ebp - 0x143], ch
mov ch, 0x4b
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x145], dl
mov cl, 0x22
mov byte [ebp - 0x144], ah
mov dl, 0x38
mov byte [ebp - 0x13e], al
mov ah, 0x28
mov byte [ebp - 0x142], dh
mov al, 6
mov byte [ebp - 0x13d], 0
mov byte [ebp - 0x134], ch
jmp 0x100185c5
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1001891d
cmp esi, eax
jne 0x1001891d
xor edx, edx
lea ecx, [ebp - 0x16c]
cmp dword [0x100883a8], 1
setne dl
mov dword [0x100883a8], edx
call fcn.1000f7b0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1001887c
mov esi, dword [esi]
mov cl, 0x5f
mov dword [ebp - 0x14c], 0x313e0d5f
mov dword [ebp - 0x148], 0x38313634
xor eax, eax
mov dword [ebp - 0x144], 0x3a39391a
mov word [ebp - 0x140], 0x2b3c
mov byte [ebp - 0x13e], 0
nop
xor byte [ebp + eax - 0x14b], cl
inc eax
cmp eax, 0xd
jae 0x100188c5
mov cl, byte [ebp - 0x14c]
jmp 0x100188b0
mov ch, 0x27
mov byte [ebp - 0x12f], 0
mov al, 0x6a
mov byte [ebp - 0x13e], 0
xor al, ch
mov byte [ebp - 0x134], ch
mov cl, 0x4e
mov byte [ebp - 0x133], al
mov dl, 0x54
mov byte [ebp - 0x12f], 0
mov ah, 0x44
xor cl, ch
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
push esi
lea eax, [ebp - 0x14b]
jmp 0x10018601
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018c94
cmp esi, eax
jne 0x10018c94
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x10018991
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018991
push 4
push eax
call esi
test eax, eax
jne 0x10018991
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x10018991
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x17
ja 0x10018e3b
jmp 0x10018993
xor esi, esi
cmp esi, dword [0x100883a0]
je 0x10018e3b
mov dword [0x100883a0], esi
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x100189cc
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100189cc
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1007acb4]
xor ecx, ecx
push esi
cmp esi, 0xa
jge 0x10018c1f
movaps xmm0, xmmword [0x1007c4f0]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x404a141c
mov word [ebp - 0x13c], 0x40
nop dword [eax]
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x14
jb 0x10018a00
sub esp, 0x18
mov byte [ebp - 0x13b], 0
mov edx, esp
lea ecx, [ebp - 0x14f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018a42
sub ecx, dword [ebp - 0x134]
push ecx
lea eax, [ebp - 0x14f]
mov ecx, edx
push eax
call fcn.10002130
lea eax, [ebp - 0x16c]
push eax
call fcn.1000bae0
add esp, 0x20
lea ecx, [ebp - 0x12c]
push eax
call fcn.10007470
mov ecx, dword [ebp - 0x158]
cmp ecx, 0xf
jbe 0x10018ab3
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018aa9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018e94
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [edi + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018ae2
push 4
push eax
call edi
test eax, eax
jne 0x10018ae2
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x12c]
push eax
call dword [0x1007acbc]
mov ecx, 0x10b8130
call fcn.100113d0
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018b2c
push 4
push eax
call edi
test eax, eax
jne 0x10018b2c
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018b2c
push 4
push eax
call edi
test eax, eax
jne 0x10018b2c
mov ecx, dword [ebp - 0x134]
push eax
push esi
push eax
push eax
push eax
call dword [0x1007acf8]
mov edx, dword [0x100883a0]
lea ecx, [ebp - 0x16c]
call fcn.1000f7b0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10018b47
mov esi, dword [esi]
mov byte [ebp - 0x144], 0x26
mov al, 0x61
xor al, byte [ebp - 0x144]
mov cl, 0x47
xor cl, byte [ebp - 0x144]
mov dl, 0x4b
mov byte [ebp - 0x143], al
mov ah, 0x43
mov byte [ebp - 0x136], dl
mov ch, 0x72
mov al, byte [ebp - 0x136]
mov dh, 0x4f
mov byte [ebp - 0x142], cl
mov cl, byte [ebp - 0x144]
xor al, cl
mov byte [ebp - 0x135], ah
mov byte [ebp - 0x13d], al
xor dl, cl
mov al, byte [ebp - 0x135]
xor ah, cl
xor al, cl
mov byte [ebp - 0x140], ah
xor ch, cl
mov byte [ebp - 0x13c], al
xor dh, cl
mov byte [ebp - 0x141], dl
mov byte [ebp - 0x13f], ch
mov al, 0x75
mov ch, 0x38
mov byte [ebp - 0x13b], 0
xor al, ch
mov byte [ebp - 0x12f], 0
mov cl, 0x51
mov byte [ebp - 0x133], al
mov dl, 0x4b
mov byte [ebp - 0x13e], dh
mov ah, 0x5b
mov byte [ebp - 0x13b], 0
xor cl, ch
mov byte [ebp - 0x134], ch
xor dl, ch
mov byte [ebp - 0x132], cl
xor ah, ch
mov byte [ebp - 0x131], dl
mov byte [ebp - 0x130], ah
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 0x12f], 0
lea eax, [ebp - 0x143]
push esi
jmp 0x10018601
movaps xmm0, xmmword [0x1007c2d0]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0x60606a34
mov byte [ebp - 0x13c], 0
nop
mov al, byte [ebp - 0x150]
xor byte [ebp + ecx - 0x14f], al
inc ecx
cmp ecx, 0x13
jb 0x10018c40
sub esp, 0x18
mov byte [ebp - 0x13c], 0
mov edx, esp
lea ecx, [ebp - 0x14f]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x134], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018c82
sub ecx, dword [ebp - 0x134]
jmp 0x10018a4f
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018e3b
cmp esi, eax
jne 0x10018e3b
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call esi
test eax, eax
jne 0x10018d08
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018d08
push 4
push eax
call esi
test eax, eax
jne 0x10018d08
mov eax, dword [ebp - 0x134]
add eax, 0x11c
push 4
push eax
mov dword [ebp - 0x134], eax
call esi
test eax, eax
jne 0x10018d08
mov esi, dword [ebp - 0x134]
mov esi, dword [esi]
cmp esi, 0x14
ja 0x10018e3b
jmp 0x10018d0a
xor esi, esi
cmp esi, dword [0x100883ac]
je 0x10018e3b
mov dword [0x100883ac], esi
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018d43
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018d43
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1007acb4]
mov eax, dword [edi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x134], eax
test eax, eax
je 0x10018d6c
push 4
push eax
call edi
test eax, eax
jne 0x10018d6c
mov ecx, dword [ebp - 0x134]
push esi
call dword [0x1007acc0]
movd xmm0, dword [0x100883ac]
mov ecx, 0x10b8150
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1007bcbc]
movss dword [ebp - 0x134], xmm0
movss dword [0x10083b5c], xmm0
call fcn.100113d0
test eax, eax
je 0x10018db8
lea esi, [eax + 0x1ac]
push 4
push esi
call edi
test eax, eax
jne 0x10018db8
movss xmm0, dword [ebp - 0x134]
movss dword [esi], xmm0
mov edx, dword [0x100883ac]
lea ecx, [ebp - 0x16c]
call fcn.1000f7b0
mov esi, eax
cmp dword [esi + 0x14], 0xf
jbe 0x10018dd3
mov esi, dword [esi]
mov cl, 0x75
mov dword [ebp - 0x148], 0x18143675
mov dword [ebp - 0x144], 0x27140710
xor eax, eax
mov dword [ebp - 0x140], 0x10121b14
mov byte [ebp - 0x13c], 0
nop dword [eax]
xor byte [ebp + eax - 0x147], cl
inc eax
cmp eax, 0xb
jae 0x10018e15
mov cl, byte [ebp - 0x148]
jmp 0x10018e00
mov ch, 0x29
mov byte [ebp - 0x13c], 0
mov byte [ebp - 0x134], ch
mov al, 0x64
mov cl, 0x40
mov dl, 0x5a
mov ah, 0x4a
jmp 0x100185c5
push ecx
push edx
call fcn.1004d526
add esp, 8
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x10018e71
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018e67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018e94
push ecx
push edx
call fcn.1004d526
add esp, 8
mov al, 1
jmp 0x10018e77
xor al, al
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.1004d4c5
mov esp, ebp
pop ebp
ret 8
call fcn.100527f4
int3