joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x21f27f9c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x10736bfb
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x64b07f86
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x8e756a3
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x404970
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1cd8
call fcn.0040ff30
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x44a0d8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x44a0dc]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], edx
call fcn.00404960
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x44a0e0]
mov edx, dword [0x44a0e4]
add edi, 0x23f
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea ecx, [ecx]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x451854]
shl esi, 4
add esi, dword [ebp - 0x24]
cmp eax, 0xfa9
jne 0x4049fc
mov dword [0x451850], 0xedeb2e40
jmp 0x404a17
cmp eax, 0x3eb
jne 0x404a17
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x4512e0], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x451854], 0x9e6
mov dword [0x45184c], 0xf4ea3dee
jne 0x404a50
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x451854], 0x213
jne 0x404af2
push 0
lea eax, [ebp - 0x8d8]
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
lea ecx, [ebp - 0x14d8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x10d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
lea ecx, [ebp - 0x1cd8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
lea edx, [ebp - 0x30]
push edx
push 0
lea eax, [ebp - 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea ecx, [ebp - 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub ebx, dword [ebp - 4]
cmp dword [0x451854], 0xc
jne 0x404b06
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, ebx
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov ecx, ebx
shl ecx, 4
add ecx, dword [ebp - 0x1c]
lea edx, [edi + ebx]
xor ecx, edx
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x4049d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404b60
Capabilities:
Connect pipe
Create process on windows
Create reverse shell
Read pipe
Set environment variable
Set thread local storage value
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.0040ff30
mov eax, dword [0x451854]
mov ecx, dword [0x4512e4]
shr eax, 3
test eax, eax
jbe 0x404c78
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x451854], 0x959
jne 0x404c5e
push 0
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
lea ecx, [ebp - 0xc08]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1408]
push eax
push 0
call edi
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404970
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404ba0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x445008], 0x8088405
inc edx
mov dword [ebx + 0x445008], edx
mul edx
mov eax, edx
pop ebx
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42ca63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ca6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x42d473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x4472a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x4472a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x44610c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d47a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10002360
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
movd xmm6, dword [esp + 0x58]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov eax, 1
cpuid
xor eax, eax
cmp dword [esp + 0x50], 5
jl 0x100025a0
cmp dword [esp + 0x54], 5
jl 0x100025a0
test edx, 0x4000000
je 0x100025a0
movss xmm5, dword [0x4881400]
pshufd xmm6, xmm6, 0xe0
xorps xmm7, xmm7
cvtdq2ps xmm6, xmm6
shufps xmm5, xmm5, 0xe0
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
lea ebx, [eax + ebx*2]
lea ecx, [eax + ecx*2]
lea edx, [eax + edx*2]
lea eax, [0x4841450]
lea edi, [0x48413b5]
test dword [esp + 0x3c], 1
cmovne eax, edi
lea edi, [ebp*8]
call eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
lea ebx, [eax + ebx*2]
lea ecx, [eax + ecx*2]
lea edx, [eax + edx*2]
lea eax, [0x484162c]
lea edi, [0x48414f4]
test dword [esp + 0x3c], 1
cmovne eax, edi
lea edi, [ebp*8]
add ebx, edi
add ecx, edi
add edx, edi
xor esi, esi
call eax
movdqu xmm0, xmmword [esp + 0x3c]
movdqu xmm1, xmmword [esp + 0x4c]
sub esp, 0x20
movdqu xmmword [esp], xmm0
movdqu xmmword [esp + 0x10], xmm1
call fcn.100025c0
add esp, 0x20
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
lea ebx, [eax + ebx*2]
lea ecx, [eax + ecx*2]
lea edx, [eax + edx*2]
sub esi, 2
mov eax, dword [esp + 0x3c]
mov edi, ebx
test esi, 1
cmove ebx, edx
cmove edx, edi
xor eax, esi
test eax, 1
lea eax, [0x48414f4]
lea edi, [0x484162c]
cmovne eax, edi
lea edi, [ebp*8]
imul esi, edi
add ebx, esi
add ecx, esi
add edx, esi
xor esi, esi
call eax
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
lea ebx, [eax + ebx*2]
lea ecx, [eax + ecx*2]
lea edx, [eax + edx*2]
sub esi, 1
mov eax, dword [esp + 0x3c]
mov edi, ebx
test esi, 1
cmovne ebx, edx
cmovne edx, edi
xor eax, esi
test eax, 1
lea eax, [0x4841450]
lea edi, [0x48413b5]
cmovne eax, edi
lea edi, [ebp*8]
imul esi, edi
neg edi
add ebx, esi
add ecx, esi
add edx, esi
call eax
mov esi, dword [esp + 0x54]
sub esi, 4
mov dword [esp + 0x10], esi
mov dword [esp], 2
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp]
add dword [esp], 1
mov ebp, dword [esp + 0x50]
lea ebx, [eax + ebx*2]
lea ecx, [eax + ecx*2]
lea edx, [eax + edx*2]
mov eax, dword [esp + 0x3c]
mov edi, ebx
test esi, 1
cmove ebx, edx
cmove edx, edi
xor eax, esi
test eax, 1
lea eax, [0x48414f4]
lea edi, [0x484162c]
cmovne eax, edi
lea edi, [ebp*8]
imul esi, edi
add ebx, esi
add ecx, esi
add edx, esi
lea esi, [ebp - 4]
neg esi
call eax
sub dword [esp + 0x10], 1
jne 0x10002531
mov eax, 1
emms
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
add esp, 0x38
ret
Function at 0x1000bff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
push esi
xor esi, esi
xor ebx, ebx
call fcn.1000f740
call fcn.1000f7a0
cmp eax, 0x80008
jne 0x1000c0f2
call fcn.1000f7a0
test eax, eax
je 0x1000c0f2
push ebp
call fcn.1000f740
movzx ebp, ax
cmp ebp, 0xa
je 0x1000c032
cmp ebp, 0xc
jne 0x1000c0f1
mov eax, 0xffff
mov dword [esp + 0x10], ebx
mov ecx, ebp
shl ax, cl
not ax
push edi
mov dword [esp + 0x1c], eax
mov edi, 0x498afe0
lea ecx, [ecx]
mov dword [esp + 0x18], 8
cmp esi, ebp
jge 0x1000c0c8
push dword [0x498d554]
lea eax, [esp + 0x14]
mov word [esp + 0x14], 0xffff
push 2
push 1
push eax
call fcn.10034540
mov eax, 0x4949
add esp, 0x10
cmp word [0x498d54c], ax
jne 0x1000c094
movzx ecx, byte [esp + 0x11]
movzx eax, byte [esp + 0x10]
jmp 0x1000c09e
movzx ecx, byte [esp + 0x10]
movzx eax, byte [esp + 0x11]
shl cx, 8
or cx, ax
shl ebx, 0x10
mov eax, dword [esp + 0x14]
inc dword [esp + 0x14]
and eax, 1
movzx edx, cx
movzx ecx, word [eax*2 + 0x4880ad8]
movzx eax, dx
xor ecx, eax
or ebx, ecx
add esi, 0x10
sub esi, ebp
mov eax, ebx
mov ecx, esi
shr eax, cl
and eax, dword [esp + 0x1c]
mov word [edi], ax
add edi, 2
dec dword [esp + 0x18]
jne 0x1000c058
cmp edi, 0x498b060
jl 0x1000c050
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x1000fdc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20
mov eax, dword [0x4881810]
xor eax, esp
mov dword [esp + 0x1c], eax
fldz
lea eax, [esp + 0x14]
push ebp
push dword [0x498d554]
mov ebp, 2
push ebp
push ebp
fst qword [esp + 0x1c]
push eax
fstp qword [esp + 0x18]
call fcn.10034540
mov eax, dword [esp + 0x38]
add esp, 0x10
sub eax, ebp
je 0x1000fea9
push ebx
push esi
push edi
jmp 0x1000fe08
fstp st(1)
fstp st(0)
push dword [0x498d554]
lea esi, [esp + 0x28]
dec eax
push 1
lea esi, [esi + ebp*2]
mov dword [esp + 0x3c], eax
push 2
push esi
call fcn.10034540
movzx esi, byte [esi]
mov ebx, ebp
movzx edx, byte [esp + ebp*2 + 0x35]
xor ebx, 2
mov eax, esi
add esp, 0x10
shl eax, 8
or edx, eax
movzx edi, byte [esp + ebx*2 + 0x24]
movzx ecx, byte [esp + ebx*2 + 0x25]
mov eax, edi
shl eax, 8
or ecx, eax
movzx eax, byte [esp + ebx*2 + 0x25]
sub ecx, edx
shl eax, 8
mov dword [esp + 0x10], ecx
or eax, edi
fild dword [esp + 0x10]
movzx ecx, byte [esp + ebp*2 + 0x25]
inc ebp
shl ecx, 8
and ebp, 3
or ecx, esi
sub eax, ecx
fmul st(0), st(0)
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
fadd qword [esp + 0x1c]
fst qword [esp + 0x1c]
fild dword [esp + 0x10]
fmul st(0), st(0)
fadd qword [esp + 0x14]
fst qword [esp + 0x14]
test eax, eax
jne 0x1000fe04
fcompp
fnstsw ax
pop edi
pop esi
pop ebx
test ah, 0x41
mov eax, 0x4d4d
je 0x1000feae
mov eax, 0x4949
mov ecx, dword [esp + 0x20]
pop ebp
xor ecx, esp
call fcn.10007d50
add esp, 0x20
ret
Function at 0x1002b2d0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0xc], 0
push esi
push edi
je 0x1002b36d
mov eax, dword [esp + 0x18]
xor ecx, ecx
imul eax, eax, 0x2e90edd
inc eax
mov dword [ecx + 0x48f07b8], eax
add ecx, 4
cmp ecx, 0x10
jb 0x1002b2e3
mov ecx, dword [0x48f07c0]
mov esi, 0x48f07bc
xor ecx, dword [0x48f07b8]
mov edi, 0x7b
mov eax, dword [0x48f07c4]
shr ecx, 0x1f
add eax, eax
or ecx, eax
mov dword [0x48f07c4], ecx
mov ecx, dword [esi + 8]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
mov eax, dword [esi - 8]
xor eax, dword [esi]
shr ecx, 0x1f
add eax, eax
or ecx, eax
mov dword [esi + 8], ecx
dec edi
jne 0x1002b320
xor ecx, ecx
mov dword [0x48f07b4], ecx
push dword [ecx*4 + 0x48f07b8]
call fcn.10035040
mov ecx, dword [0x48f07b4]
add esp, 4
mov dword [ecx*4 + 0x48f07b8], eax
inc ecx
mov dword [0x48f07b4], ecx
cmp ecx, 0x7f
jb 0x1002b343
jmp 0x1002b373
mov ecx, dword [0x48f07b4]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x1002b3c1
push ebx
mov ebx, dword [esp + 0x10]
lea esi, [ecx - 1]
mov eax, ecx
dec edi
inc ecx
inc esi
test eax, eax
je 0x1002b3ba
lea edx, [esi - 0x3f]
mov eax, ecx
and edx, 0x7f
and eax, 0x7f
mov edx, dword [edx*4 + 0x48f07b8]
xor edx, dword [eax*4 + 0x48f07b8]
mov eax, esi
xor dword [ebx], edx
and eax, 0x7f
add ebx, 4
mov dword [eax*4 + 0x48f07b8], edx
test edi, edi
jne 0x1002b383
mov dword [0x48f07b4], ecx
pop ebx
pop edi
pop esi
ret
Function at 0x10031620
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x498d08c]
cmp ecx, 1
je 0x10031643
cmp dword [0x48864dc], 0
jne 0x10031643
mov eax, dword [0x4884900]
dec eax
cmp eax, 4
ja 0x10031643
xor eax, eax
jmp 0x10031648
mov eax, 1
or dword [0x498d140], eax
jne 0x1003169b
movzx eax, word [0x498d086]
push 0x494aea0
push 0xffff
push ecx
push eax
movzx eax, word [0x498d084]
push eax
push dword [0x498d06c]
push 0x496aea0
call fcn.10030cb0
add esp, 0x1c
cmp dword [0x498d08c], 4
jne 0x1003169a
cmp dword [0x4884900], 0
je 0x1003169a
mov dword [0x498d08c], 3
ret
jmp fcn.1002d590
Function at 0x9bfc05
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9bfc2c
call fcn.00962138
mov dword [eax], esi
call fcn.00962125
push 0x16
pop esi
mov dword [eax], esi
call fcn.00962d7a
mov eax, esi
jmp 0x9bfc81
test dword [ebp + 0xc], 0xfffffff9
jne 0x9bfc12
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9bfc59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0096214b
pop ecx
call fcn.00962125
mov eax, dword [eax]
jmp 0x9bfc81
test al, 0x10
jne 0x9bfc7f
test al, 1
je 0x9bfc7f
test byte [ebp + 0xc], 2
je 0x9bfc7f
call fcn.00962138
mov dword [eax], 5
call fcn.00962125
mov dword [eax], 0xd
jmp 0x9bfc50
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x381241
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x8142f80
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10011d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10042544]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x114], 0
push eax
push 0
push 2
push edx
push 0
push ecx
mov dword [esi], 0
mov dword [ebp - 0x228], 0x10e
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x10011df1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f4c0
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x224]
call fcn.100118e0
test eax, eax
je 0x10011e1e
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.1003f4c0
mov esp, ebp
pop ebp
ret

Function at 0x10012160
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10042544]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100428f4], 0
mov dword [ebp - 0x118], 0
jne 0x10012281
lea eax, [ebp - 0x118]
push eax
push ecx
lea ecx, [ebp - 0x114]
call fcn.100119f0
add esp, 8
test eax, eax
jne 0x100121fb
push 1
call fcn.1003ce72
push 0x100428d8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x10042900
push 0
push 0
push 0
push 0
push 0x10003f28
push 0
mov dword [0x10042910], 1
push 0x10011e90
mov dword [0x100428f0], 1
call dword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003f4c0
mov esp, ebp
pop ebp
ret
cmp dword [0x100428f8], 0
lea eax, [ebp - 0x114]
mov dword [0x10042118], eax
mov byte [ebp - 7], 0
jne 0x1001221d
mov dword [0x100428f8], 0xfff
cmp dword [0x100428f4], 0
jne 0x10012240
mov ecx, 0x23fa
call fcn.10011690
cmp dword [0x10042550], 0xffffffff
jne 0x10012240
push 1
call fcn.10011580
cmp dword [0x10042008], 0x10011380
jne 0x10012277
cmp dword [ebp - 0x118], 0
je 0x10012277
push 0x10005950
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [0x10042118]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10005958
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [0x10042118], 0x10005400
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.1003f4c0
mov esp, ebp
pop ebp
ret