joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403853
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp loc.0040c670

Function at 0x403ae0
Capabilities:
Packed with generic packer

Disassembly:
push esi
push str.GetTickCount
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov esi, eax
jmp loc.0040c528

Function at 0x403b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret
Function at 0x403810
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x403871
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x403854
cmp edi, 2
jb 0x403854
cmp byte [esi], cl
jne 0x403854
cmp byte [esi + 1], cl
jne 0x403854
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x479de0]
jmp 0x403825
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x479de0]
test edi, edi
jne 0x403825
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4038a0
cmp cl, 0x23
jne 0x403887
cmp byte [esi], cl
jne 0x403887
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x479de0]
test cl, cl
jne 0x403878
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4039b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x4039c4
mov dword [ebx], 0
mov edx, 0x479918
call fcn.004038b0
mov esi, eax
test esi, esi
je 0x403ab2
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x403aa8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403aa8
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x403aa8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403aa8
mov eax, dword [0x495280]
test eax, eax
je 0x403a3c
inc dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x403aa8
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x403a8d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x495280]
add esp, 4
test eax, eax
je 0x403a7a
dec dword [eax + 0x374]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x403a9f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0xfc]
mov eax, dword [ecx + 0x104]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x479de0]
sub edi, 1
jne 0x405870
mov ecx, dword [0x495280]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1c84], eax
jne 0x4058a2
mov dword [ecx + 0x1c88], eax
cmp dword [ecx + 0x1cbc], eax
jne 0x4058b1
mov byte [ecx + 0x1cc0], 1
pop ebp
ret 4
Function at 0x410df0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x495280]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1c48]
mov esi, 4
mov eax, dword [edi + 0xfc]
add edi, 0xfc
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x479de0]
sub esi, 1
jne 0x410e30
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x410e77
inc ecx
test esi, esi
je 0x410e65
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x410e6a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00420980
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472e83
mov esp, ebp
pop ebp
ret
Function at 0x415bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x3030], 0
lea esi, [edi + 0x3034]
je 0x415c32
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x415bec
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00420b10
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00403de0
mov edx, dword [esi]
mov ecx, 0x49527c
push dword [edi + 0x3030]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x303c]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00403de0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428850
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x42888a
mov eax, dword [0x495280]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x42887d
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4288bb
mov eax, dword [0x495280]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x4288ae
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4288ec
mov eax, dword [0x495280]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x4288df
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x428939
mov eax, dword [0x495280]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x42892c
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x42896a
mov eax, dword [0x495280]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x42895d
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x42899b
mov eax, dword [0x495280]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x42898e
dec dword [eax + 0x374]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042b080
Function at 0x43d160
Capabilities:
Encode data using xor
Get mac address on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov word [ebp - 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
push 0x288
mov dword [ebp - 0x20], esi
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x1c], 0x288
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x43d1cd
xorps xmm0, xmm0
mov ecx, esi
push eax
movups xmmword [esi], xmm0
push 0x4797c6
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00468c60
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472e83
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x43d225
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43d225
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push 0x4797c6
mov ecx, esi
call fcn.00468c60
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472e83
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
push ebx
call edi
test eax, eax
jne 0x43d313
test ebx, ebx
je 0x43d2e1
movzx eax, byte [ebx + 0x197]
xor ecx, ecx
movaps xmm0, xmmword [0x48b5f0]
movzx edx, byte [ebx + 0x199]
movzx edi, byte [ebx + 0x198]
mov dword [ebp - 0x40], eax
movzx eax, byte [ebx + 0x196]
mov dword [ebp - 0x44], eax
movzx eax, byte [ebx + 0x195]
mov dword [ebp - 0x48], eax
movzx eax, byte [ebx + 0x194]
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x696b7e03
mov dword [ebp - 0x28], 0x696b7e03
mov word [ebp - 0x24], 3
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x18
jb 0x43d293
push edx
push edi
push dword [ebp - 0x40]
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x23], 0
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00421360
lea edi, [ebp - 0x18]
add esp, 0x20
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x43d2c6
mov al, byte [0x4866c4]
push ebx
mov byte [edi], al
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d300
sub ecx, edx
lea eax, [ebp - 0x18]
push ecx
push eax
jmp 0x43d20b
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x43d320
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x20019
push 0
push str.SOFTWAREWOW6432NodeMulti_Theft_Auto:_San_Andreas_All1.6Settingsgeneral
mov dword [ebp - 0x108], esi
push 0x80000002
mov dword [ebp - 0x108], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43d3e9
movaps xmm0, xmmword [0x48a450]
xor ecx, ecx
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x120], 0x2f3f3c7d
mov dword [ebp - 0x11c], 0x3c7d2f34
mov dword [ebp - 0x118], 0x2438367d
mov word [ebp - 0x114], 0x74
nop
mov al, byte [ebp - 0x130]
xor byte [ebp + ecx - 0x12f], al
inc ecx
cmp ecx, 0x1c
jb 0x43d3a0
xorps xmm0, xmm0
mov byte [ebp - 0x113], 0
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x12f]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d3d7
lea eax, [ebp - 0x12f]
jmp 0x43d4dd
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x108], 1
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x10c], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.serial
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43d4a6
movaps xmm0, xmmword [0x48b0f0]
xor ecx, ecx
movups xmmword [ebp - 0x130], xmm0
mov dword [ebp - 0x120], 0x4a5d5418
mov dword [ebp - 0x11c], 0x53185918
mov dword [ebp - 0x118], 0x11415d
nop dword [eax + eax]
mov al, byte [ebp - 0x130]
xor byte [ebp + ecx - 0x12f], al
inc ecx
cmp ecx, 0x1a
jb 0x43d460
xorps xmm0, xmm0
mov byte [ebp - 0x115], 0
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x12f]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d497
lea eax, [ebp - 0x12f]
jmp 0x43d4dd
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea ecx, [ebp - 0x104]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43d4d0
lea eax, [ebp - 0x104]
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00468c60
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00472e83
mov esp, ebp
pop ebp
ret
Function at 0x441dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x110], esi
cmp dword [edx + 0x14], 0x10
push edi
mov edi, dword [ebp + 8]
jb 0x441def
mov edx, dword [edx]
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x441ee2
mov byte [ebp - 0x124], 0x14
mov cl, 0xf7
xor cl, byte [ebp - 0x124]
mov al, 0x5a
xor al, byte [ebp - 0x124]
mov dl, 0x7b
mov byte [ebp - 0x123], al
mov ch, dl
mov byte [ebp - 0x122], cl
mov dh, 0x67
mov cl, byte [ebp - 0x124]
mov bh, dh
mov byte [ebp - 0x125], 0x61
xor dl, cl
mov al, byte [ebp - 0x125]
xor ch, cl
xor al, cl
mov byte [ebp - 0x126], 0x7d
xor dh, cl
mov byte [ebp - 0x11b], al
mov al, byte [ebp - 0x126]
mov bl, 0x34
mov ah, 0x64
mov byte [ebp - 0x11e], ch
xor bl, cl
mov byte [ebp - 0x119], 0
xor ah, cl
mov byte [ebp - 0x121], dl
xor bh, cl
mov byte [ebp - 0x11d], dh
xor al, cl
mov byte [ebp - 0x120], bl
xorps xmm0, xmm0
mov byte [ebp - 0x11f], ah
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x123]
mov byte [ebp - 0x11c], bh
mov byte [ebp - 0x11a], al
lea edx, [ecx + 1]
mov byte [ebp - 0x119], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441ed0
lea eax, [ebp - 0x123]
jmp 0x441fe5
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x114], pe_nt_image_headers32
jb 0x441efe
mov edi, dword [edi]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push edi
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x441faf
mov dh, 0x35
mov byte [ebp - 0x119], 0
mov cl, 0x50
mov byte [ebp - 0x120], dh
mov dl, 0x5b
mov byte [ebp - 0x119], 0
xor cl, dh
mov al, 0x7b
mov bl, 0x5d
mov byte [ebp - 0x11e], cl
mov ah, 0x40
mov ch, 0x58
xor al, dh
xor dl, dh
xor bl, dh
mov byte [ebp - 0x11d], dl
xor ah, dh
mov byte [ebp - 0x11f], al
xor ch, dh
mov byte [ebp - 0x11c], bl
mov byte [ebp - 0x11a], ch
xorps xmm0, xmm0
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x11f]
mov byte [ebp - 0x11b], ah
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441fa0
lea eax, [ebp - 0x11f]
jmp 0x441fe5
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea ecx, [ebp - 0x10c]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441fd8
lea eax, [ebp - 0x10c]
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00468c60
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472e83
mov esp, ebp
pop ebp
ret
Function at 0x442010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474f70
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x49400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x118], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x124], esi
jb 0x442061
mov edx, dword [edx]
lea eax, [ebp - 0x120]
push eax
push 0x20019
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4420cf
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x118], 1
mov dword [ebp - 0x11c], pe_nt_image_headers32
jb 0x44209b
mov edi, dword [edi]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
push 0
push edi
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x120]
test eax, eax
je 0x4420f5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov ecx, esi
movups xmmword [esi], xmm0
push 0
mov dword [esi + 0x10], 0
push 0x4797c6
mov dword [esi + 0x14], 0
call fcn.00468c60
mov eax, esi
jmp 0x442166
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea ecx, [ebp - 0x114]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442118
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.00468c60
mov eax, esi
jmp 0x442166
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472e83
mov esp, ebp
pop ebp
ret

Function at 0x442190
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov byte [ebp - 0x14], 0x31
mov al, 0x44
xor al, byte [ebp - 0x14]
mov bl, 0x54
mov byte [ebp - 0x13], al
mov ah, 0x43
mov al, byte [ebp - 0x14]
mov dl, 0x42
push esi
mov esi, ecx
mov byte [ebp - 0xb], 0
xor ah, al
mov dword [ebp - 4], esi
mov cl, 0x5f
mov byte [ebp - 0x10], ah
mov ch, 0x50
mov byte [ebp - 0xb], 0
mov dh, 0x5c
mov bh, bl
xor dl, al
xor bl, al
xor cl, al
mov byte [ebp - 0x12], dl
xor ch, al
mov byte [ebp - 0x11], bl
xor dh, al
mov byte [ebp - 0xf], cl
xor bh, al
mov byte [ebp - 0xe], ch
lea eax, [ebp - 0x13]
mov byte [ebp - 0xd], dh
push edi
push eax
mov byte [ebp - 0xc], bh
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
xorps xmm0, xmm0
mov ecx, edx
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442210
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00468c60
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442230
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0x6c6e6201
push edi
mov dword [ebp - 4], esi
mov dl, 1
mov dword [ebp - 0x14], 0x64757471
xor eax, eax
mov dword [ebp - 0x10], 0x6c606f73
mov word [ebp - 0xc], 0x64
nop dword [eax]
xor byte [ebp + eax - 0x17], dl
inc eax
cmp eax, 0xc
jae 0x44226f
mov dl, byte [ebp - 0x18]
jmp 0x442260
lea eax, [ebp - 0x17]
mov byte [ebp - 0xb], 0
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov edx, eax
xorps xmm0, xmm0
mov ecx, edx
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4422a0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00468c60
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4425a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474fed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
push esi
mov eax, dword [0x49400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
movaps xmm0, xmmword [0x489d10]
xor ecx, ecx
mov dword [ebp - 0x34], esi
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x7020f00
mov dword [ebp - 0x1c], 0x10d401e
mov dword [ebp - 0x18], 0xf1c4103
mov word [ebp - 0x14], 0x19
nop word [eax + eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x1c
jb 0x442610
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442640
sub ecx, edx
lea eax, [ebp - 0x2f]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00468c60
push 0
lea edx, [ebp - 0x4c]
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.0043e140
mov ecx, dword [ebp - 0x38]
add esp, 4
cmp ecx, 0x10
jb 0x4426a2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x442698
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x442698
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004733de
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret