joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6400b7ba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
das
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.6400a8a8
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.6400a85d
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.6400a898
fdivr dword [ecx]
sbb byte [ebx + 0x10468], bh
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x6400ca7a
Capabilities:
Get geographical location

Disassembly:
add ebx, edi
call fcn.6400a898
jp 0x6400cb00
sub esi, esi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x6400ca85
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x6400ca85
call fcn.6400a898
xchg bh, dh
in al, 0x38
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.6400a898
push ss
inc edx
mov esi, 0x875ff78
push dword [ebp + 4]
push dword [ebp]
call fcn.6400b098
pop esi
leave
ret
sbb eax, sym.imp.KERNEL32.dll_GetLocaleInfoA
mov edi, eax
push 0x78
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi + 0x14]
neg eax
sbb eax, eax
and eax, 0xfffff005
add eax, 0x1002
push eax
push edi
call ebx
test eax, eax
jne 0x6400cb32
and dword [esi + 8], 0
xor eax, eax
inc eax
jmp 0x6400cc95
lea eax, [ebp - 0x7c]
push eax
push dword [esi + 4]
call fcn.64015939
pop ecx
pop ecx
test eax, eax
jne 0x6400cbd9
push 0x78
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffff002
add eax, 0x1001
push eax
push edi
call ebx
test eax, eax
je 0x6400cb26
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
call fcn.64015939
pop ecx
pop ecx
test eax, eax
jne 0x6400cb84
or dword [esi + 8], 0x304
mov dword [esi + 0x18], edi
jmp 0x6400cbd6
test byte [esi + 8], 2
jne 0x6400cbd9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x6400cbbd
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
call fcn.64015ad6
add esp, 0xc
test eax, eax
jne 0x6400cbbd
push dword [esi]
or dword [esi + 8], 2
mov dword [esi + 0x1c], edi
call fcn.6400d030
pop ecx
cmp eax, dword [esi + 0xc]
jne 0x6400cbd9
mov dword [esi + 0x18], edi
jmp 0x6400cbd9
mov edx, dword [esi + 8]
test dl, 1
jne 0x6400cbd9
push edi
call fcn.6400c962
pop ecx
test eax, eax
je 0x6400cbd9
or edx, 1
mov dword [esi + 8], edx
mov dword [esi + 0x1c], edi
mov ecx, dword [esi + 8]
mov eax, 0x300
and ecx, eax
cmp ecx, eax
je 0x6400cc8a
push 0x78
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [esi + 0x10]
neg eax
sbb eax, eax
and eax, 0xfffff002
add eax, 0x1001
push eax
push edi
call ebx
test eax, eax
je 0x6400cb26
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
call fcn.64015939
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
jne 0x6400cc51
or dword [esi + 8], 0x200
mov eax, dword [esi + 8]
cmp dword [esi + 0x10], ebx
je 0x6400cc3a
or eax, 0x100
mov dword [esi + 8], eax
jmp 0x6400cc82
cmp dword [esi + 0xc], ebx
je 0x6400cc7b
push dword [esi]
call fcn.6400d030
pop ecx
cmp eax, dword [esi + 0xc]
jne 0x6400cc7b
push esi
push 1
jmp 0x6400cc6e
cmp dword [esi + 0x10], ebx
jne 0x6400cc8a
cmp dword [esi + 0xc], ebx
je 0x6400cc8a
lea eax, [ebp - 0x7c]
push eax
push dword [esi]
call fcn.64015939
pop ecx
pop ecx
test eax, eax
jne 0x6400cc8a
push esi
push ebx
mov eax, edi
call fcn.6400ca7a
pop ecx
pop ecx
test eax, eax
je 0x6400cc8a
or dword [esi + 8], 0x100
cmp dword [esi + 0x18], ebx
jne 0x6400cc8a
mov dword [esi + 0x18], edi
mov eax, dword [esi + 8]
shr eax, 2
not eax
and eax, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.64003b2c
leave
ret 4
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0xd02058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00d021a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd0207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd0206a
add dl, dl
jne 0xd02089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd020dc
xor eax, eax
add dl, dl
jne 0xd02096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd0217d
add dl, dl
jne 0xd020a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd020b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd020bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd020c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd020d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd02075
mov eax, 1
add dl, dl
jne 0xd020ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd020f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd020e1
sub eax, ebx
mov ebx, 1
jne 0xd02128
mov ecx, 1
add dl, dl
jne 0xd0210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd02119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd02105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd02075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd0213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd0214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd02136
cmp eax, 0x7d00
jae 0xd0216d
cmp eax, 0x500
jb 0xd02168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd02075
cmp eax, 0x7f
ja 0xd02170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd02075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd0219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd02075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x402b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push str.winpcap.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_1
push 0x404010
push 0x68
push 0
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x401069
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x40109e
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4010cf
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebx
push ebp
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x40116a
mov ecx, ebx
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp + 0x10]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x40113b
push ebx
push ebp
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CFile::Close
push ebp
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.00402980
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4016c0
Capabilities:
Modify service

Disassembly:
mov eax, dword [esp + 8]
push 0
mov ecx, dword [esp + 8]
push 0
push 0
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x4016f0
Capabilities:
Start service

Disassembly:
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov eax, dword [esp + 0xc]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x401726
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0x10]
push ecx
push esi
call fcn.004016c0
add esp, 8
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
mov eax, 1
pop esi
ret

Function at 0x4017f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x402c0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
lea eax, [esp + 8]
push 0x104
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_1
push 0x4040b4
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0
call sub.MFC42.DLL_CString::TrimRight
push str.drivers_
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x120]
lea ecx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 4]
mov ecx, esi
push eax
call fcn.004018f0
test eax, eax
pop esi
jne 0x4018a2
lea ecx, [esp]
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
add esp, 0x114
ret 8
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00401760
add esp, 4
lea ecx, [esp]
mov dword [esp + 0x110], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x108]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x114
ret 8

Function at 0x401b10
Capabilities:
Set registry value

Disassembly:
sub esp, 0x400
mov edx, ecx
push edi
mov edi, dword [esp + 0x408]
test edi, edi
jne 0x401b30
xor al, al
pop edi
add esp, 0x400
ret 4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
push esi
lea ebx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, ebx
mov edx, dword [edx + 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
neg eax
sbb eax, eax
pop esi
pop ebx
inc eax
pop edi
add esp, 0x400
ret 4
Function at 0x402130
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov edi, dword [esi + 4]
sub edi, 6
lea ecx, [edi - 1]
test ecx, ecx
jl 0x402164
mov edx, dword [esp + 0x38]
lea ebx, [esp + 0x14]
lea eax, [esp + ecx*4 + 0x14]
sub edx, ebx
inc ecx
mov ebx, dword [edx + eax]
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x402159
mov ebp, dword [esp + 0x40]
xor ebx, ebx
xor eax, eax
xor ecx, ecx
test edi, edi
mov dword [esp + 0x38], ebx
jle 0x4021b5
mov edx, dword [esi + 4]
inc edx
cmp ebx, edx
jge 0x4021b5
cmp ecx, edi
jge 0x4021a1
lea edx, [esp + ecx*4 + 0x14]
cmp eax, 4
jge 0x4021a4
lea esi, [eax + ebx*4]
mov ebx, dword [edx]
inc ecx
add edx, 4
inc eax
mov dword [ebp + esi*4], ebx
mov ebx, dword [esp + 0x38]
cmp ecx, edi
jl 0x402186
cmp eax, 4
jne 0x4021ad
inc ebx
xor eax, eax
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x10]
cmp ecx, edi
jl 0x402176
mov ecx, dword [esi + 4]
inc ecx
cmp ebx, ecx
jge 0x402328
mov dword [esp + 0x40], 0x407724
mov cl, byte [esp + 0x14]
xor edx, edx
mov dl, byte [esp + edi*4 + 0x11]
xor cl, byte [edx + str.cw]
xor edx, edx
mov byte [esp + 0x14], cl
mov dl, byte [esp + edi*4 + 0x12]
mov dl, byte [edx + str.cw]
xor byte [esp + 0x15], dl
xor edx, edx
mov dl, byte [esp + edi*4 + 0x13]
mov dl, byte [edx + str.cw]
xor byte [esp + 0x16], dl
xor edx, edx
mov dl, byte [esp + edi*4 + 0x10]
mov dl, byte [edx + str.cw]
xor byte [esp + 0x17], dl
mov edx, dword [esp + 0x40]
xor cl, byte [edx]
add edx, 4
cmp edi, 8
mov dword [esp + 0x40], edx
mov byte [esp + 0x14], cl
je 0x402243
cmp edi, 1
jle 0x4022d3
lea ecx, [esp + 0x18]
lea edx, [edi - 1]
mov esi, dword [ecx - 4]
xor dword [ecx], esi
add ecx, 4
dec edx
jne 0x402233
jmp 0x4022d3
lea ecx, [esp + 0x18]
mov edx, 3
mov esi, dword [ecx - 4]
xor dword [ecx], esi
add ecx, 4
dec edx
jne 0x40224c
mov ecx, dword [esp + 0x20]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x24]
xor cl, dl
mov byte [esp + 0x24], cl
mov ecx, dword [esp + 0x21]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x25]
xor cl, dl
mov byte [esp + 0x25], cl
mov ecx, dword [esp + 0x22]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x26]
xor cl, dl
mov byte [esp + 0x26], cl
mov ecx, dword [esp + 0x23]
and ecx, 0xff
mov dl, byte [ecx + str.cw]
mov cl, byte [esp + 0x27]
xor cl, dl
mov edx, 3
mov byte [esp + 0x27], cl
lea ecx, [esp + 0x28]
mov esi, dword [ecx - 4]
xor dword [ecx], esi
add ecx, 4
dec edx
jne 0x4022c8
xor edx, edx
test edi, edi
jle 0x402318
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
inc ecx
cmp ebx, ecx
jge 0x402318
cmp edx, edi
jge 0x402308
lea esi, [esp + edx*4 + 0x14]
cmp eax, 4
jge 0x40230b
lea ecx, [eax + ebx*4]
mov ebx, dword [esi]
inc edx
add esi, 4
inc eax
mov dword [ebp + ecx*4], ebx
mov ebx, dword [esp + 0x38]
cmp edx, edi
jl 0x4022ed
cmp eax, 4
jne 0x402314
inc ebx
xor eax, eax
mov dword [esp + 0x38], ebx
cmp edx, edi
jl 0x4022d9
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 4]
inc ecx
cmp ebx, ecx
jl 0x4021c9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
Function at 0x402830
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
and ecx, 0xff
jle 0x402886
mov eax, dword [esp + 4]
push ebx
push esi
add eax, 2
xor ebx, ebx
xor edx, edx
mov bl, byte [eax - 1]
mov dl, byte [eax + 1]
add eax, 4
mov esi, dword [ebx*4 + 0x406b24]
mov edx, dword [edx*4 + 0x407324]
xor ebx, ebx
xor edx, esi
mov bl, byte [eax - 4]
mov esi, dword [ebx*4 + 0x406f24]
xor ebx, ebx
mov bl, byte [eax - 6]
xor edx, esi
mov esi, dword [ebx*4 + 0x406724]
xor edx, esi
dec ecx
mov dword [eax - 6], edx
jne 0x402845
pop esi
pop ebx
ret 8

Function at 0x402a0f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403108
push 0x402b48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4077e0], 0xffffffff
or dword [0x4077e4], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4077dc]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4077d8]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4077e8], eax
call fcn.00402b47
cmp dword [0x4077c0], 0
jne 0x402a92
push 0x402b44
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00402b32
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4077d4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4077d0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401480
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1d725f55
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x76a81d30
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x408f6c
mov ecx, 0x52257093
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
mov ebx, 0x42e3d0
nop
mov ecx, 0x79652781
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430004
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x63757569
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..rdata
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x474078da
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3f8673e8
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x31ee646c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219