joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424d30
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492944
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4b6018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], ebx
test ebx, ebx
jne 0x424d72
xor esi, esi
jmp 0x424d7d
push ebx
call fcn.00427ff0
add esp, 4
mov esi, eax
mov dword [ebp - 0x5c], esi
push 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.0041cd70
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], vtable.CryptoPP::NonblockingRng.0
call fcn.004245f0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4bab40]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4bb1fc]
cmp eax, dword [ecx + 4]
jg 0x424e34
push esi
push ebx
push dword [0x4bb1f8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x424e7c
mov eax, dword [ebp - 0x54]
mov byte [ebp - 4], 0
mov dword [ebp - 0x58], vtable.CryptoPP::NonblockingRng.0
test eax, eax
je 0x424df1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [edi]
mov ecx, edi
push ebx
push esi
call dword [eax + 0x10]
mov dword [ebp - 4], 5
test esi, esi
je 0x424e16
xor al, al
mov edi, esi
mov ecx, ebx
rep stosb byte es:[edi], al
push esi
call fcn.00419480
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419a47
mov esp, ebp
pop ebp
ret 8
push 0x4bb1fc
call fcn.00419156
add esp, 4
cmp dword [0x4bb1fc], 0xffffffff
jne 0x424dc0
mov ecx, 0x4bb1f8
mov byte [ebp - 4], 2
call fcn.004245f0
push 0x493850
call fcn.00418fd4
push 0x4bb1fc
mov byte [ebp - 4], 1
call fcn.0041910c
add esp, 8
jmp 0x424dc0
push 0x498f20
lea ecx, [ebp - 0x28]
call fcn.004061e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00424750
push 0x4b303c
lea eax, [ebp - 0x50]
push eax
call fcn.0043c2ee
int3
Function at 0x428bf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
xor dl, dl
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 8], ecx
push ebp
push esi
push edi
test bl, 3
jne 0x428d27
test cl, 3
jne 0x428d27
test eax, eax
je 0x428d27
mov edi, eax
xor ecx, ecx
shr edi, 2
xor esi, esi
mov dword [esp + 0x10], ecx
test edi, edi
je 0x428cee
mov ebp, dword [esp + 0x20]
cmp edi, 8
jb 0x428cb7
mov edx, edi
lea ecx, [ebp + 0x10]
mov eax, ebx
and edx, 0xfffffff8
sub eax, ebp
xorps xmm3, xmm3
mov dword [esp + 0x14], eax
xorps xmm2, xmm2
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
nop
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [ecx + ebp - 0x20]
movups xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, edx
jb 0x428c60
mov ebp, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ecx, xmm2
mov dword [esp + 0x10], ecx
cmp esi, edi
jae 0x428cf2
mov ecx, ebx
lea edx, [esi*4]
sub ecx, ebp
mov ebx, edi
add edx, ebp
mov dword [esp + 0x14], ecx
sub ebx, esi
mov ebp, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov ecx, dword [edx + ebp]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
or edi, ecx
sub ebx, 1
jne 0x428cd4
mov ebx, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x20]
shl esi, 2
sub eax, esi
jne 0x428d06
pop edi
pop esi
test ecx, ecx
pop ebp
sete al
pop ebx
add esp, 8
ret
mov edx, ecx
add ebp, esi
shr ecx, 0x10
add ebx, esi
shr edx, 0x18
or dl, cl
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x10]
shr ecx, 8
or dl, cl
mov ecx, ebp
or dl, byte [esp + 0x10]
xor edi, edi
test eax, eax
je 0x428df0
cmp eax, 0x20
jb 0x428dcf
mov esi, eax
add ecx, 0x10
and esi, 0xffffffe0
xorps xmm3, xmm3
mov dword [esp + 0x1c], esi
xorps xmm2, xmm2
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
nop
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x20]
movups xmm1, xmmword [edi + ebx]
add edi, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [ecx + ebp - 0x20]
movups xmm0, xmmword [ecx - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x428d60
por xmm2, xmm3
mov ebp, dword [esp + 0x14]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd ecx, xmm2
or dl, cl
cmp edi, eax
jae 0x428df0
jmp 0x428dd3
mov ebp, dword [esp + 0x14]
sub ebx, ebp
lea esi, [edi + ebp]
sub eax, edi
nop word [eax + eax]
mov cl, byte [ebx + esi]
lea esi, [esi + 1]
xor cl, byte [esi - 1]
or dl, cl
sub eax, 1
jne 0x428de0
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x44eb84
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044ea47
Function at 0x456a32
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004568af

Function at 0x462300
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00462310

Function at 0x462b00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00462b10

Function at 0x46af80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x70
xor eax, eax
mov dword [esp + 0x48], 0
push eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov word [esp + 0x70], ax
mov dword [esp + 0x40], 0x6e72656b
mov dword [esp + 0x44], 0x32336c65
mov dword [esp + 0x48], 0x6c6c642e
call fcn.0044c4a3
add esp, 4
push eax
call fcn.0044c410
mov dword [esp + 0x14], 0x115e9e36
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0xcb06b29b
lea edx, [ecx + 1]
mov dword [esp + 0x1c], 0x6775e8c6
add esp, 4
mov dword [esp + 0x1c], 0xfe5ca786
movaps xmm1, xmmword [esp + 0x10]
mov dword [esp + 0x20], 0x115ec961
mov dword [esp + 0x24], 0xcb06b29b
mov dword [esp + 0x28], 0x6775e8c6
mov dword [esp + 0x2c], 0xfe5ca786
pxor xmm1, xmmword [esp + 0x20]
movaps xmmword [esp + 0x10], xmm1
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b060
sub ecx, edx
lea eax, [esp + 0x10]
push ecx
push eax
mov ecx, 0x4b6d54
call fcn.004072f0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
lea eax, [esp + 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
je 0x46b0a9
mov ecx, dword [esp + 0xc]
call fcn.0048bfd0
mov ecx, dword [esp + 0xc]
call fcn.0048bcf0
call dword [0x4bcc68]
mov ecx, eax
call fcn.0046b0c0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4844c0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x80
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.00418d68
mov ebx, eax
add esp, 4
xor eax, eax
push eax
push 0x148bf0c7
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 7
mov word [ebx + 0x18], ax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 7
mov word [ebx + 0x30], ax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], 0xf
mov byte [ebx + 0x48], al
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], 0xf
mov byte [ebx + 0x60], al
mov dword [ebx + 0xc], str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_74.0.3729.169_Safari_537.36
call fcn.0048fc50
mov dword [ebp - 8], 0x89b2
add esp, 8
mov ecx, dword [ebp - 8]
mov edi, eax
xor ecx, 0x17
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
xor edx, 0
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], 0x17
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x88b5
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add edx, eax
mov ecx, dword [ebp - 0xc]
adc esi, ecx
add edx, 1
mov dword [ebp - 0x10], edx
adc esi, 0
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x20], edx
sbb esi, ecx
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
push eax
push ecx
push edx
push esi
call fcn.00460cc0
mov dword [ebp - 0x20], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
call fcn.0040e360
sub esp, 0x18
mov eax, esp
sub esp, 0x18
mov ecx, esp
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
lea eax, [ebp + 8]
push eax
call fcn.00406220
push 0
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
push edi
push esi
call fcn.004908e0
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x484646
inc eax
push eax
push dword [ebp - 0x38]
call fcn.00409000
add esp, 8
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp eax, 0x10
jb 0x48466d
inc eax
push eax
push dword [ebp + 8]
call fcn.00409000
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x491d40
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
mov edi, edx
mov dword [ebp - 8], 0
push eax
lea edx, [ebp - 8]
mov ebx, ecx
call fcn.00491190
add esp, 4
test eax, eax
jne 0x491e3c
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x491e16
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0xf9e2726
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor eax, 7
mov dword [ebp - 0x28], eax
xor ecx, 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x62b2
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0xb193371
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
add edx, eax
mov ecx, dword [ebp - 0x14]
adc esi, ecx
add edx, 1
mov dword [ebp - 0x18], edx
adc esi, 0
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
sub edx, eax
mov dword [ebp - 0x28], edx
sbb esi, ecx
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
push eax
push ecx
push edx
push esi
call fcn.00460cc0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
push ecx
push 0x4aa828
push edi
push dword [ebp + 8]
mov ecx, ebx
push dword [ebp - 4]
call fcn.00491230
mov ecx, dword [ebp - 8]
add esp, 0x14
mov esi, eax
call fcn.00491170
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xfa8c95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0xfa8d18
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0xfbaee7
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], esi
jne 0xfbaeda
cmp dword [ebp - 0x10], 1
jne 0xfbaee7
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0xfabcbe
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xfda02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
xor ebx, ebx
push ebx
push dword [0xfdb470]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xfabd61
push dword [0xfdb484]
lea eax, [ebp - 0x20c]
push eax
call fcn.00fa89d2
test eax, eax
je 0xfbb160
push dword [0xfdb488]
lea eax, [ebp - 0x20c]
push eax
call fcn.00fa89d2
test eax, eax
jne 0xfbb168
mov dword [esi + 8], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00fa86a6
leave
ret 4
mov ebx, 0x80041012
jmp 0xfabd4e
Function at 0xfad089
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push ebx
push esi
push dword [0xfdb474]
lea eax, [ebp - 4]
push dword [ebp + 8]
mov esi, ecx
push eax
push 2
call fcn.00fad2a1
mov ebx, eax
add esp, 0x10
test ebx, ebx
jl 0xfad14b
xor ecx, ecx
cmp dword [esi + 0x644], 0x20
mov eax, 0x100
setne cl
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 8]
push ecx
or eax, 0x20019
push eax
push 0
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfad142
push edi
push dword [ebp + 8]
xor edi, edi
inc edi
mov ecx, esi
mov dword [esi + 0x10], edi
call fcn.00fabcbe
mov ebx, eax
test ebx, ebx
jl 0xfad111
push dword [ebp + 8]
mov ecx, esi
call fcn.00fad158
mov ebx, eax
lea eax, [ebp - 8]
push eax
add esi, 0x2c
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push dword [0xfdb4e4]
mov dword [ebp - 0xc], edi
push dword [ebp + 8]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push dword [ebp - 4]
call dword [fcn.00fa1284]
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0xfad158
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xfda02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push dword [0xfdb47c]
xor edi, edi
inc edi
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfbb1ad
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00fa86a6
leave
ret 4
Function at 0xfad366
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebx, ebx
push edi
cmp eax, ebx
jne 0xfbb2c7
mov edi, dword [fcn.00fa1288]
cmp dword [ebp + 8], ebx
je 0xfad39b
push dword [ebp + 8]
call edi
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0xfbb2d6
mov eax, dword [esi + 0x28]
cmp eax, ebx
jne 0xfbb2e0
cmp dword [ebp + 0xc], ebx
je 0xfad3bb
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x28], eax
cmp eax, ebx
je 0xfbb2d6
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [0xfdb46c]
mov dword [ebp - 4], ebx
push eax
push 2
call fcn.00fad2a1
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0xfad488
push 0x20
pop ebx
push dword [ebp - 4]
lea edi, [esi + 0x644]
mov ecx, esi
mov dword [edi], ebx
call fcn.00fad1ca
xor ecx, ecx
cmp dword [edi], ebx
mov dword [ebp + 8], eax
setne cl
mov eax, 0x100
xor ebx, ebx
dec ecx
and ecx, eax
add eax, ecx
lea ecx, [ebp + 0xc]
push ecx
or eax, 0x20019
push eax
push ebx
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
inc edi
test eax, eax
jne 0xfad477
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x43c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0xfdb4e4]
mov dword [ebp - 0xc], edi
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00fad497
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0xfad46e
cmp dword [esi + 0x10], edi
jne 0xfbb2ef
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [fcn.00fa1284]
cmp dword [ebp + 8], ebx
jl 0xfad488
mov dword [esi + 0x1c], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0xfad497
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0xfda02c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
xor edi, edi
push edi
push dword [0xfdb480]
mov dword [ebp - 0x210], 1
push eax
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfbb297
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00fa86a6
leave
ret 4
Function at 0xfb0b01
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push dword [0xfdb5d4]
xor ebx, ebx
push ebx
push 6
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov edi, 0x148
cmp esi, ebx
je 0xfb7339
push edi
push ebx
push ebx
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
je 0xfb73af
cmp dword [ebp - 4], ebx
jl 0xfb0b7a
mov dword [0xfda058], esi
mov dword [0xfda05c], eax
cmp dword [ebp - 4], ebx
jl 0xfb73c7
mov eax, dword [section..data]
pop edi
pop esi
pop ebx
cmp eax, section..data
je 0xfb0b75
test byte [eax + 0x1c], 4
jne 0xfb73db
mov eax, dword [ebp - 4]
leave
ret
cmp esi, ebx
jne 0xfb73bb
jmp 0xfb0b53

Function at 0xfb1435
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push 0xfb14d0
push 0x80000002
mov dword [0xfda034], 0x40000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfb1495
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0xfda034
lea eax, [ebp - 0xc]
push eax
push 0
push 0xfb149c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0xfda034]
leave
ret

Function at 0xfb1b55
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, edi
je 0xfb1bf8
push ebx
mov ebx, dword [0xfa11e8]
push esi
mov esi, 0xfb1c34
push esi
push eax
call ebx
push esi
push edi
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
je 0xfb1bf6
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0xffffffffffffffff
push 0xfb1c1c
push 0xffffffffffffffff
push edi
push 1
push 0x7f
call esi
cmp eax, 2
je 0xfb669a
push 0xffffffffffffffff
push 0xfb1c00
push 0xffffffffffffffff
push edi
push 1
push 0x7f
call esi
cmp eax, 2
je 0xfb66ab
push 0xffffffffffffffff
push 0xfb1c3c
push 0xffffffffffffffff
push edi
xor edi, edi
inc edi
push edi
push 0x7f
call esi
cmp eax, 2
je 0xfb2434
push 0xfb1c34
push 0
call ebx
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0xfb1b98
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 4
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0xfb1be5
Function at 0xfb1fed
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0xc]
push eax
push 0x20119
push 0
push 0xfb2088
push 0x80000002
mov dword [0xfda0d8], 0x8000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xfb2059
and dword [ebp - 8], eax
push esi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xfb2060
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xfbae1f
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [0xfda0d8]
leave
ret

Function at 0xfb23c1
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xfb2418
call fcn.00fa1eb0
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xfb2410
cmp ecx, 0xffffffff
je 0xfb2410
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xfb2409
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xfb2409
cmp edx, 0x10000000
jae 0xfb2409
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xfbacd6
mov dword [ebp - 4], 0xfffffffe
call fcn.00fa1f00
ret 4

Function at 0xfb31c6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
lea ebx, [esi + 0x50]
push ebx
push 0
push esi
push 0xfa7526
push dword [esi + 0x58]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x4c], eax
test eax, eax
je 0xfb717e
push edi
push 1
mov edi, 0xfda10c
push edi
call fcn.00fa2af0
mov ecx, dword [0xfda050]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
mov dword [ebp - 4], esi
call fcn.00fb291b
push edi
mov esi, eax
call fcn.00fa2ab0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40ed6a
Capabilities:
Encode data using xor

Disassembly:
push 0x40eae0
pop edx
sub eax, eax
add edi, eax
call fcn.0040ed97
add edi, 0x3891c54e
xor dword [ecx], edx
add edi, 0x163f2fb7
add ecx, 1
cmp ecx, ebx
jne fcn.0040ed6a
sub eax, eax
add edi, edi
ret
Function at 0x4681ec
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00468063

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x5cc607b0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x12003151
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219