Function at 0x10002e60
Capabilities:
Encode data using xor
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2bc
mov eax, dword [0x10031440]
xor eax, esp
mov dword [esp + 0x2b8], eax
cmp dword [0x10138c14], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
jne 0x100030a6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10138c14], eax
mov word [esp + 0xc], 0x5c1
call fcn.10012ef2
and eax, 0x800000ff
jns 0x10002eb9
dec eax
or eax, 0xffffff00
inc eax
cmp dword [0x100326f4], 0xffffffff
mov bl, byte [ebp + 8]
mov byte [esp + 0xe], al
mov byte [esp + 0xf], 3
mov byte [esp + 0x10], bl
je 0x10002edb
cmp byte [0x10132728], 0
jne 0x10002ef9
lea esi, [esp + 0xc]
call fcn.10002be0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2b8]
xor ecx, esp
call fcn.100123ca
mov esp, ebp
pop ebp
ret
mov word [esp + 0x18], 0x9bc1
call fcn.10012ef2
and eax, 0x800000ff
jns 0x10002f13
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x1a], al
mov eax, dword [0x10138c1c]
mov byte [esp + 0x1b], 3
mov byte [esp + 0x1c], bl
test eax, eax
jne 0x10002f3c
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
jmp 0x10002f59
mov ecx, dword [eax]
mov dword [esp + 0x1d], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x21], edx
mov cx, word [eax + 8]
mov word [esp + 0x25], cx
mov dl, byte [eax + 0xa]
mov byte [esp + 0x27], dl
mov eax, dword [0x10138c20]
test eax, eax
je 0x10002f88
cmp dword [eax], 0
je 0x10002f88
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov cx, word [eax + 8]
mov word [esp + 0x30], cx
mov dl, byte [eax + 0xa]
mov byte [esp + 0x32], dl
jmp 0x10002f9b
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov byte [esp + 0x32], al
test esi, esi
jne 0x10002fb1
push 0x40
lea eax, [esp + 0x37]
push esi
push eax
call fcn.10014a00
add esp, 0xc
jmp 0x10002fc0
mov ecx, 0x10
lea edi, [esp + 0x33]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
push 0x40
push 0
test edi, edi
jne 0x10002fd7
lea ecx, [esp + 0x7b]
push ecx
call fcn.10014a00
add esp, 0xc
jmp 0x10003037
lea edx, [esp + 0x7b]
push edx
call fcn.10014a00
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10003037
push 0x104
lea eax, [esp + 0xbc]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x10003030
lea esi, [esp + 0xb8]
call fcn.1000e590
push eax
lea ecx, [esp + 0x77]
push 0x1002c570
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100
push 0
push 0x1013df38
call fcn.10014a00
add esp, 0xc
xor eax, eax
lea ecx, [ecx]
mov dl, byte [eax + str.rj_j]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x1013df38], dl
inc eax
cmp eax, 0x100
jb 0x10003050
lea eax, [esp + 0x73]
push eax
lea ecx, [esp + 0x37]
push ecx
movzx ecx, byte [esp + 0x24]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x29]
push eax
push ecx
push 0x1013df38
push 0
mov ecx, 0x101328a0
call fcn.10004f30
movzx ecx, byte [esp + 0x35]
add esp, 0x1c
lea edx, [esp + 0x18]
call fcn.10001900
mov ecx, dword [esp + 0x2c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100123ca
mov esp, ebp
pop ebp
ret