Function at 0x10002c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057e10
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x10070014]
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 esi, ecx
mov dword [ebp - 0x13c], esi
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov dword [ebp - 0xcc], edx
lea ecx, [ebp - 0x120]
lea edx, [ebp - 0xd0]
mov dword [ebp - 0xd0], eax
call fcn.10004d10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
cmp byte [esi], 0
je 0x100037c8
cmp dword [0x100723a8], 0
je 0x100037df
mov ah, 0x6a
mov byte [ebp - 0x11b], 0
mov al, 5
mov byte [ebp - 0x120], ah
mov bl, 0x39
mov byte [ebp - 0x11b], 0
mov dl, al
mov dword [ebp - 0x14], 0xf
mov cl, 6
mov dword [ebp - 0x18], 0
xor bl, ah
mov byte [ebp - 0x28], 0
xor al, ah
mov byte [ebp - 0x11f], bl
xor cl, ah
mov byte [ebp - 0x11e], al
xor dl, ah
mov byte [ebp - 0x11d], cl
mov byte [ebp - 0x11c], dl
test bl, bl
jne 0x10002d32
xor ecx, ecx
jmp 0x10002d49
lea ecx, [ebp - 0x11f]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002d40
sub ecx, edx
push ecx
lea eax, [ebp - 0x11f]
push eax
lea ecx, [ebp - 0x28]
call fcn.10005550
mov dword [ebp - 4], 0
mov al, byte [esi + 1]
cmp al, 1
jne 0x10002e91
cmp byte [esi + 3], 0
jne 0x10002e16
mov byte [ebp - 0xdc], 0x3e
mov al, 0x5b
xor al, byte [ebp - 0xdc]
mov bh, 0x73
xor bh, byte [ebp - 0xdc]
mov cl, 0x4c
mov byte [ebp - 0xda], al
mov dl, 0x5d
mov al, byte [ebp - 0xdc]
mov bl, 0x56
mov ah, 0x5f
mov byte [ebp - 0xd3], 0
mov ch, 0x50
mov byte [ebp - 0xdb], bh
mov dh, 0x4a
mov byte [ebp - 0xd3], 0
xor cl, al
xor dl, al
xor bl, al
mov byte [ebp - 0xd9], cl
xor ah, al
mov byte [ebp - 0xd8], dl
xor ch, al
mov byte [ebp - 0xd7], bl
xor dh, al
mov byte [ebp - 0xd6], ah
mov byte [ebp - 0xd5], ch
mov byte [ebp - 0xd4], dh
test bh, bh
jne 0x10002df9
xor ecx, ecx
lea eax, [ebp - 0xdb]
jmp 0x10002eff
lea ecx, [ebp - 0xdb]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002e02
sub ecx, edx
lea eax, [ebp - 0xdb]
jmp 0x10002eff
cmp al, 1
jne 0x10002e91
cmp byte [esi + 3], 0
jle 0x10002f09
movaps xmm0, xmmword [str._aIODMBX]
xor ecx, ecx
movups xmmword [ebp - 0x130], xmm0
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp - 0x130]
xor byte [ebp + ecx - 0x12f], al
inc ecx
cmp ecx, 0xe
jb 0x10002e40
cmp byte [ebp - 0x12f], 0
mov byte [ebp - 0x121], 0
jne 0x10002e70
xor ecx, ecx
lea eax, [ebp - 0x12f]
jmp 0x10002eff
lea ecx, [ebp - 0x12f]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002e80
sub ecx, edx
lea eax, [ebp - 0x12f]
jmp 0x10002eff
cmp byte [esi + 3], 0
jle 0x10002f09
mov ch, 0x62
mov byte [ebp - 0xca], 0
mov ah, 0x32
mov byte [ebp - 0xd0], ch
mov al, 3
mov byte [ebp - 0xca], 0
mov cl, 0x10
mov dl, 0x16
mov bl, 0x1b
xor ah, ch
xor al, ch
mov byte [ebp - 0xcf], ah
xor cl, ch
mov byte [ebp - 0xce], al
xor dl, ch
mov byte [ebp - 0xcd], cl
xor bl, ch
mov byte [ebp - 0xcc], dl
mov byte [ebp - 0xcb], bl
test ah, ah
jne 0x10002ee7
xor ecx, ecx
jmp 0x10002ef9
lea ecx, [ebp - 0xcf]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002ef0
sub ecx, edx
lea eax, [ebp - 0xcf]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10005550
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.100044b0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x10002f2d
mov eax, dword [eax]
mov bh, 0x4e
mov byte [ebp - 0xe4], 0
push eax
mov cl, 0x3d
mov byte [ebp - 0xec], bh
mov dl, 0x6e
mov byte [ebp - 0xe4], 0
mov dh, cl
mov ah, dl
xor dl, bh
xor dh, bh
mov byte [ebp - 0xe9], dl
mov al, 0x6b
mov byte [ebp - 0xe5], dh
sub esp, 0x18
mov edx, esp
mov ch, al
mov bl, 0x32
xor al, bh
mov byte [ebp - 0xeb], al
xor cl, bh
mov byte [ebp - 0xea], cl
xor bl, bh
mov byte [ebp - 0xe8], bl
xor ah, bh
mov byte [ebp - 0xe7], ah
xor ch, bh
mov byte [ebp - 0xe6], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10002fb5
mov eax, dword [edx]
jmp 0x10002fb7
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xeb], 0
jne 0x10002fc7
xor ecx, ecx
jmp 0x10002fd9
lea ecx, [ebp - 0xeb]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10002fd0
sub ecx, esi
push ecx
lea eax, [ebp - 0xeb]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0xb8]
push eax
call fcn.10004e70
add esp, 0x24
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x10003013
inc eax
push eax
push dword [ebp - 0x108]
call fcn.10005420
cmp byte [0x1007241c], 0
mov edi, dword [0x100723a8]
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
je 0x10003070
mov ecx, 0x10b8134
call fcn.10011160
mov esi, eax
test esi, esi
je 0x10003070
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x10003070
push 4
add esi, 0x6e8
push esi
call ebx
test eax, eax
jne 0x10003070
mov al, byte [esi]
mov byte [edi + 0x3c], al
cmp byte [0x1007241c], 0
movzx eax, byte [edi + 0x3c]
mov ebx, dword [0x100723a8]
push eax
je 0x100030d2
mov ecx, 0x10b8134
call fcn.10011160
mov esi, eax
test esi, esi
je 0x100030d2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100030d2
push 4
lea edi, [esi + 0x6bc]
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100030d2
cmp dword [esi + 0x6d0], 0x10
jb 0x100030bf
mov edi, dword [edi]
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
jb 0x100030ca
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [ebx + 0x34], 0x10
lea eax, [ebx + 0x20]
jb 0x100030dd
mov eax, dword [eax]
movaps xmm0, xmmword [0x10068050]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x138], xmm0
mov dword [ebp - 0x128], 0x76373228
mov byte [ebp - 0x124], 0
nop
mov al, byte [ebp - 0x138]
xor byte [ebp + ecx - 0x137], al
inc ecx
cmp ecx, 0x13
jb 0x10003100
sub esp, 0x18
mov byte [ebp - 0x124], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10003145
mov eax, dword [edx]
jmp 0x10003147
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x137], 0
jne 0x10003157
xor ecx, ecx
jmp 0x10003169
lea ecx, [ebp - 0x137]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003160
sub ecx, esi
push ecx
lea eax, [ebp - 0x137]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0xa0]
push eax
call fcn.10004e70
add esp, 0x24
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 4
push eax
call fcn.10003800
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x100031a3
mov eax, dword [eax]
push eax
mov dl, 0x51
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xbc], dl
mov al, 0x74
mov cl, 0x22
mov byte [ebp - 0xb9], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xbb], al
mov edx, esp
mov byte [ebp - 0xba], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100031f9
mov eax, dword [edx]
jmp 0x100031fb
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xbb], 0
jne 0x1000320b
xor ecx, ecx
jmp 0x1000321d
lea ecx, [ebp - 0xbb]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003214
sub ecx, esi
push ecx
lea eax, [ebp - 0xbb]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0x88]
push eax
call fcn.10004e70
add esp, 0x20
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x10003257
inc eax
push eax
push dword [ebp - 0x108]
call fcn.10005420
lea eax, [ebp - 0x138]
mov dword [ebp - 0xf4], 0xf
push eax
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.10003bd0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x1000328a
mov eax, dword [eax]
push eax
mov dl, 0x43
mov byte [ebp - 0xbd], 0
mov byte [ebp - 0xc0], dl
mov al, 0x66
mov cl, 0x30
mov byte [ebp - 0xbd], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xbf], al
mov edx, esp
mov byte [ebp - 0xbe], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100032e0
mov eax, dword [edx]
jmp 0x100032e2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xbf], 0
jne 0x100032f2
xor ecx, ecx
jmp 0x10003309
lea ecx, [ebp - 0xbf]
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003300
sub ecx, esi
push ecx
lea eax, [ebp - 0xbf]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0x70]
push eax
call fcn.10004e70
add esp, 0x20
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x124]
cmp eax, 0x10
jb 0x10003340
inc eax
push eax
push dword [ebp - 0x138]
call fcn.10005420
mov esi, dword [ebp - 0x13c]
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
mov dword [ebp - 0x124], 0xf
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x138], 0
call fcn.10003f60
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x1000337b
mov eax, dword [eax]
push eax
mov dl, 0x6e
mov byte [ebp - 0xc1], 0
mov byte [ebp - 0xc4], dl
mov al, 0x4b
mov cl, 0x1d
mov byte [ebp - 0xc1], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xc3], al
mov edx, esp
mov byte [ebp - 0xc2], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100033d1
mov eax, dword [edx]
jmp 0x100033d3
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xc3], 0
jne 0x100033e3
xor ecx, ecx
jmp 0x100033ff
lea ecx, [ebp - 0xc3]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100033f0
sub ecx, esi
mov esi, dword [ebp - 0x13c]
push ecx
lea eax, [ebp - 0xc3]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0x58]
push eax
call fcn.10004e70
add esp, 0x20
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xf4]
cmp eax, 0x10
jb 0x10003436
inc eax
push eax
push dword [ebp - 0x108]
call fcn.10005420
lea eax, [ebp - 0x138]
mov dword [ebp - 0xf4], 0xf
push eax
mov ecx, esi
mov dword [ebp - 0xf8], 0
mov byte [ebp - 0x108], 0
call fcn.10004260
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x1000346b
mov eax, dword [eax]
push eax
mov dl, 0x62
mov byte [ebp - 0xc5], 0
mov byte [ebp - 0xc8], dl
mov al, 0x47
mov cl, 0x11
mov byte [ebp - 0xc5], 0
xor al, dl
xor cl, dl
sub esp, 0x18
mov byte [ebp - 0xc7], al
mov edx, esp
mov byte [ebp - 0xc6], cl
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100034c1
mov eax, dword [edx]
jmp 0x100034c3
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xc7], 0
jne 0x100034d3
xor ecx, ecx
jmp 0x100034ef
lea ecx, [ebp - 0xc7]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100034e0
sub ecx, esi
mov esi, dword [ebp - 0x13c]
push ecx
lea eax, [ebp - 0xc7]
mov ecx, edx
push eax
call fcn.10005550
lea eax, [ebp - 0x40]
push eax
call fcn.10004e70
mov eax, dword [ebp - 0x124]
add esp, 0x20
cmp eax, 0x10
jb 0x10003522
inc eax
push eax
push dword [ebp - 0x138]
call fcn.10005420
push 0x48
lea eax, [ebp - 0x188]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xf4], 0x393a3d35
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
xorps xmm0, xmm0
mov word [ebp - 0xf0], 0x3b
cmovae eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x8c], 0x10
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x184], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x180], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 0x10
movlpd qword [ebp - 0x178], xmm0
movaps xmm0, xmmword [0x100680e0]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
movups xmmword [ebp - 0x114], xmm0
mov dword [ebp - 0x164], eax
movaps xmm0, xmmword [0x10068760]
movups xmmword [ebp - 0x104], xmm0
mov al, byte [ebp - 0x114]
xor byte [ebp + ecx - 0x113], al
inc ecx
cmp ecx, 0x24
jb 0x10003601
movaps xmm0, xmmword [str.y4_0M7]
lea eax, [ebp - 0x113]
mov dword [ebp - 0x160], eax
xor ecx, ecx
movsx eax, byte [esi + 3]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], 8
movups xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x100], 0x162d230c
mov dword [ebp - 0xfc], 0x34133401
mov dword [ebp - 0xf8], 0x34133401
mov word [ebp - 0xf4], 0x5944
mov byte [ebp - 0xf2], 0
mov al, byte [ebp - 0x110]
xor byte [ebp + ecx - 0x10f], al
inc ecx
cmp ecx, 0x1d
jb 0x10003672
lea eax, [ebp - 0x10f]
mov byte [ebp - 0xf2], 0
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x150], eax
call fcn.10017290
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100036b5
inc eax
push eax
push dword [ebp - 0x40]
call fcn.10005420
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x100036d9
inc eax
push eax
push dword [ebp - 0x58]
call fcn.10005420
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x100036fd
inc eax
push eax
push dword [ebp - 0x70]
call fcn.10005420
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x10003724
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10005420
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x10003751
inc eax
push eax
push dword [ebp - 0xa0]
call fcn.10005420
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 0x10
jb 0x10003784
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.10005420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x100037cf
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005420
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002cc4
xor ecx, ecx
call fcn.10017290
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002cc4
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.10054950
mov esp, ebp
pop ebp
ret