Function at 0x1009e2d0
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a67f3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4ac
mov eax, dword [0x100bc040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x41c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x498], esi
xorps xmm0, xmm0
mov dword [ebp - 0x494], 0
push 0x14
push str.Volatile_Environment
movups xmmword [ebp - 0x44c], xmm0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
call fcn.10017f00
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x434]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x424], 0
push str.USERDATETIME
movups xmmword [ebp - 0x434], xmm0
mov dword [ebp - 0x420], 0
call fcn.10017f00
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp dword [ebp - 0x438], 0xf
lea ecx, [ebp - 0x450]
push ecx
push 0x20019
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x494], 1
cmova eax, dword [ebp - 0x44c]
push 0
push eax
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1009e67a
cmp dword [ebp - 0x420], 0xf
lea ecx, [ebp - 0x41c]
push ecx
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x41c], 0x400
push ecx
push 0
lea eax, [ebp - 0x434]
cmova eax, dword [ebp - 0x434]
push 0
push eax
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1009e581
xorps xmm0, xmm0
mov dword [ebp - 0x480], eax
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x47c], eax
movups xmmword [ebp - 0x490], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1009e463
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.10017f00
lea eax, [ebp - 0x490]
mov ecx, esi
push eax
call fcn.10013e10
mov ecx, dword [ebp - 0x47c]
cmp ecx, 0xf
jbe 0x1009e4c9
mov edx, dword [ebp - 0x490]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009e4bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009e4bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a0796
add esp, 8
push dword [ebp - 0x450]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x420]
cmp ecx, 0xf
jbe 0x1009e50b
mov edx, dword [ebp - 0x434]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009e501
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009e552
push ecx
push edx
call fcn.100a0796
add esp, 8
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0xf
mov byte [ebp - 0x434], 0
cmp ecx, 0xf
jbe 0x1009e562
mov edx, dword [ebp - 0x44c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009e558
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009e558
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a0796
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a046e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov dword [ebp - 0x458], 0x90b8a565
mov dword [ebp - 0x454], 0x5e70a588
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 0x458], 0xb4baf811
mov dword [ebp - 0x454], 0x4e83eb63
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x458], 0xd3dfc037
mov dword [ebp - 0x454], 0x3513c0e0
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x458], 0xdbc88a54
mov dword [ebp - 0x454], 0x4eb2c611
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
movaps xmm1, xmmword [ebp - 0x470]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x484], ecx
lea ecx, [ebp - 0x4b0]
xorps xmm1, xmmword [ebp - 0x490]
push eax
movaps xmmword [ebp - 0x470], xmm1
call fcn.10013ee0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4b0]
call fcn.10087b20
lea ecx, [ebp - 0x4b0]
call fcn.10013dc0
push 0x50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x458], 0x90b8a565
mov dword [ebp - 0x454], 0x5e70a588
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], ecx
mov dword [ebp - 0x458], 0xb4baf811
mov dword [ebp - 0x454], 0x4e80eb63
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], ecx
mov dword [ebp - 0x458], 0xd3dfc037
mov dword [ebp - 0x454], 0x3513c0e0
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x490], eax
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x458], 0xdbc88a54
mov dword [ebp - 0x454], 0x4eb2c611
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp - 0x454]
movaps xmm1, xmmword [ebp - 0x470]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x470]
mov dword [ebp - 0x484], ecx
lea ecx, [ebp - 0x4b0]
xorps xmm1, xmmword [ebp - 0x490]
push eax
movaps xmmword [ebp - 0x470], xmm1
call fcn.10013ee0
mov byte [ebp - 4], 4
jmp 0x1009e65c