Function at 0x1002ccc0
Capabilities:
Create thread
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059bf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x9c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002ce53
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1002ce38
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x38], 0x20b2
mov dword [ebp - 0x54], str.szyczqvd_oljvt_jsfzpjdup_qwg_uxykxhd_tvg_atfwjcrxy_qbbhkewps_wsfv_nuwwebhon_saqkqo_yeop_alfcvxi
cmp dword [ebp - 0x38], 0x22dc
jle 0x1002cdb4
and dword [ebp - 0x28], 0
jmp 0x1002cd50
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4d2a
jge 0x1002cd9c
and dword [ebp - 0x24], 0
jmp 0x1002cd66
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3cb4
jge 0x1002cd9a
mov eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0x10073a98
call fcn.1000ab96
jmp 0x1002cd5f
jmp 0x1002cd49
push 0
push 0x1f31
push 0
push 0
push 0xa85
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x1e4e
jge 0x1002cdd4
mov edx, dword [ebp - 0x54]
mov ecx, 0x10073a98
call fcn.1000d257
jmp 0x1002cdf0
or dword [ebp - 4], 0xffffffff
jmp 0x1002cdfa
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002ce19
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x1002ce36
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.1000ae4d
mov dword [eax], 0xfffffff8
jmp 0x1002ce0e
jmp 0x1002ce4e
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002ce4e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x1002cfaf
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1002cf4f
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x68]
mov edx, dword [edx]
add edx, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
sub ecx, edx
cmp ecx, dword [eax]
jle 0x1002cefd
mov dword [ebp - 0x2c], 1
jmp 0x1002cf01
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xffffffff
jg 0x1002cf10
mov dword [ebp - 0x30], 1
jmp 0x1002cf14
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x30]
add ecx, 6
cmp ecx, dword [eax]
jne 0x1002cf2c
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jge 0x1002cf41
mov dword [ebp - 0x3c], 1
jmp 0x1002cf45
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x1002cfaf
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1002cf8f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 3
jge 0x1002cfaf
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0xa0]
call fcn.1000ae4d
mov dword [eax], 1
jmp 0x1002cf84
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret