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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100925a2
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x100bb084]
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 [0x100c3c00], eax
test esi, esi
je 0x1002244c
cmp dword [ebp + 0xc], 1
jne 0x1002244c
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10074660
add esp, 0xc
mov dword [ebp - 0x134], 0xf
mov dword [ebp - 4], 0
mov eax, 0x100c3e0c
cmp dword [0x100c3e20], 0x10
mov dword [ebp - 0x138], 0
cmovae eax, dword [0x100c3e0c]
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 0x148], 0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x124], 0x2d
mov al, 0x62
xor al, byte [ebp - 0x124]
mov cl, 0x5d
xor cl, byte [ebp - 0x124]
mov ch, 0x43
mov byte [ebp - 0x123], al
mov bl, 0x44
mov byte [ebp - 0x15d], ch
mov ah, 0x42
mov al, byte [ebp - 0x15d]
mov dl, 0x59
mov byte [ebp - 0x122], cl
mov dh, 3
mov cl, byte [ebp - 0x124]
mov bh, 0x64
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 0x10021ecd
cmp esi, eax
jne 0x10021ecd
mov ecx, edi
call fcn.100226f0
mov al, 1
jmp 0x1002244e
mov eax, dword [edi + 4]
test eax, eax
je 0x10022186
cmp esi, eax
jne 0x10022186
cmp dword [0x100c3e5c], 1
jne 0x10022448
mov ecx, dword [edi + 0x18]
mov byte [0x100bfb22], 1
call fcn.10011ab0
push eax
lea ecx, [ebp - 0x130]
call fcn.10004550
xor esi, esi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x120], esi
jbe 0x10021f52
nop word [eax + eax]
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
cmovae eax, dword [ebp - 0x130]
movsx eax, byte [eax + esi]
push eax
call fcn.10079a7b
add esp, 4
test eax, eax
je 0x1002207d
inc esi
cmp esi, dword [ebp - 0x120]
jb 0x10021f20
mov ecx, dword [edi + 0x18]
call fcn.10011ab0
cmp dword [eax + 0x14], 0x10
jb 0x10021f62
mov eax, dword [eax]
push eax
call fcn.1007a4db
add esp, 4
mov dword [edi + 0x1c], eax
cmp eax, 0x64
jle 0x1002206b
movaps xmm0, xmmword [0x100afa60]
xor ecx, ecx
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0x6479
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 0x10021fa0
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14a], 0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10004e00
mov byte [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x100af4a0]
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x164], 0x262962
movaps xmm0, xmmword [0x100afa90]
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 0x10022000
lea eax, [ebp - 0x183]
mov byte [ebp - 0x161], 0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10004e00
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 [0x100adb0c]
lea ecx, [ebp - 0x1b8]
call fcn.10004790
lea ecx, [ebp - 0x1a0]
call fcn.10004790
lea ecx, [ebp - 0x130]
call fcn.10004790
mov al, 1
jmp 0x1002244e
movaps xmm0, xmmword [0x100af740]
xor ecx, ecx
movups xmmword [ebp - 0x15c], xmm0
mov word [ebp - 0x14c], 0x425f
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 0x100220a0
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x14a], 0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.10004e00
mov byte [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [str.8__PYV__]
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x168], 0x5d5a554d
movaps xmm0, xmmword [0x100af8e0]
movups xmmword [ebp - 0x178], xmm0
mov dword [ebp - 0x164], 0x19164a
mov al, byte [ebp - 0x188]
xor byte [ebp + ecx - 0x187], al
inc ecx
cmp ecx, 0x26
jb 0x10022102
lea eax, [ebp - 0x187]
mov byte [ebp - 0x161], 0
push eax
lea ecx, [ebp - 0x1b8]
call fcn.10004e00
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 [0x100adb0c]
lea ecx, [ebp - 0x1b8]
call fcn.10004790
lea ecx, [ebp - 0x1a0]
call fcn.10004790
lea ecx, [ebp - 0x130]
mov dword [edi + 0x1c], 0
call fcn.10004790
mov al, 1
jmp 0x1002244e
mov eax, dword [edi + 8]
test eax, eax
je 0x10022195
cmp esi, eax
je 0x10022448
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10022259
cmp esi, eax
jne 0x10022259
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100c3e5c], 1
setne dl
mov dword [0x100c3e5c], edx
call fcn.10010030
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x100221cf
mov esi, dword [esi]
mov ah, 0x22
mov byte [ebp - 0x11b], 0
mov al, 0x63
mov byte [ebp - 0x120], ah
mov cl, 0x57
mov byte [ebp - 0x11b], 0
xor cl, ah
mov dword [ebp - 0x158], 0x10d3464
mov dl, 0x56
mov byte [ebp - 0x11e], cl
mov bl, 0x4d
mov dword [ebp - 0x154], 0x1c210107
xor al, ah
mov dword [ebp - 0x150], 0xa050c07
xor dl, ah
mov byte [ebp - 0x11f], al
xor bl, ah
mov byte [ebp - 0x11d], dl
mov byte [ebp - 0x11c], bl
mov cl, 0x64
mov word [ebp - 0x14c], 0x103
xor eax, eax
mov byte [ebp - 0x14a], 0
nop
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x1002241a
mov cl, byte [ebp - 0x158]
jmp 0x10022240
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1002235b
cmp esi, eax
jne 0x1002235b
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100c3e60], 1
setne dl
mov dword [0x100c3e60], edx
call fcn.10010030
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10022293
mov esi, dword [esi]
mov al, 0x23
mov byte [ebp - 0x124], 0x70
xor al, byte [ebp - 0x124]
mov dh, 0x1e
mov byte [ebp - 0x123], al
mov ah, 0x1b
mov al, byte [ebp - 0x124]
mov cl, 4
mov bh, dh
mov byte [ebp - 0x11b], 0
xor cl, al
mov byte [ebp - 0x11b], 0
mov dl, 0x1f
mov byte [ebp - 0x122], cl
mov bl, 0x13
mov dword [ebp - 0x158], 0x4b477e2e
mov ch, 0x39
mov dword [ebp - 0x154], 0x566b4b4d
xor ah, al
mov dword [ebp - 0x150], 0x404f464d
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, 0x2e
mov word [ebp - 0x14c], 0x4b49
xor eax, eax
mov byte [ebp - 0x14a], 0
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10022349
mov cl, byte [ebp - 0x158]
jmp 0x10022334
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x123]
jmp 0x10022427
mov eax, dword [edi + 0x14]
test eax, eax
je 0x10022448
cmp esi, eax
jne 0x10022448
xor edx, edx
lea ecx, [ebp - 0x1a0]
cmp dword [0x100c3e64], 1
setne dl
mov dword [0x100c3e64], edx
call fcn.10010030
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10022395
mov esi, dword [esi]
mov ah, 0x1d
mov byte [ebp - 0x11b], 0
mov dl, 0x71
mov byte [ebp - 0x120], ah
mov al, 0x4e
mov byte [ebp - 0x11b], 0
mov cl, 0x78
mov dword [ebp - 0x158], 0x676b5202
mov bl, dl
mov dword [ebp - 0x154], 0x7a476761
xor cl, ah
mov dword [ebp - 0x150], 0x6c636a61
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, 2
mov word [ebp - 0x14c], 0x6765
xor eax, eax
mov byte [ebp - 0x14a], 0
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x1002241a
mov cl, byte [ebp - 0x158]
jmp 0x10022405
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.10004790
mov al, 1
jmp 0x1002244e
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.10059ed0
mov esp, ebp
pop ebp
ret 8