joyce8/EMBER2024-capa huggingface dataset:
Function at 0x538120
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x5382ca
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x538178
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x53818b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x53819f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x5381e6.3
jmp 0x5381b0
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x5381bc
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x5381c1
mov esi, 1
inc eax
cmp eax, edi
jl 0x5381b0
cmp si, cx
je case.0x5381e6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x5381e6.3
movzx eax, byte [eax + 0x5382e4]
jmp dword [eax*4 + 0x5382d0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x5381e6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x538200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x5381e6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x538240
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x5381e6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x538266
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x5381e6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x538290
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x401630
Capabilities:
Create thread
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0x40
push 0x403168
push str.GDI_SAFETY_MALWARE
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.00401500
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push section..text
push 0
push 0
call ebx
push 0
push 0
push 0
push 0x401060
push 0
push 0
call ebx
push 0
push 0
push 0
push 0x4010b0
push 0
push 0
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
push 0x2710
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
push 0x85
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0x401130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
mov esi, eax
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x85
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0x401240
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
mov esi, eax
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x85
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0x4012d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
mov esi, eax
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x85
push 0
push 0
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x401370
push 0
push 0
call esi
push 0x1388
mov edi, eax
call ebx
push 0
push 0
push 0
push 0x401430
push 0
push 0
call esi
push 0x1388
mov esi, eax
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call ebx
push 0x85
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_RedrawWindow]
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x40200a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402049
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402049
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402049
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402049
cmp dword [ecx + 0x74], 0xe
jbe 0x402049
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x8de098
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de09e
pop ebp
sub ebp, 6
sub ebp, 0x4de098
jmp 0x8de0fc
jmp 0x8de105
mov eax, 0x4de098
add eax, ebp
add eax, 0x93
mov ecx, 0x640
mov edx, 0x71cae6e8
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de11c
jmp 0x8de12f
sub byte [eax - 0x17071780], 0xe8
sub al, 0x24
invalid

Function at 0x404a0a
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x404a0c
ret
Function at 0x40107e
Capabilities:
Delete file
Manipulate console buffer
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.0040dcd0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
push esi
mov esi, dword [eax + 4]
xor ebx, ebx
cmp dword [0x43b674], 0x594
push edi
mov dword [ebp - 0x14], ecx
jne 0x4010b6
push ebx
lea eax, [ebp - 0x840]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x42c338]
mov dword [ebp - 0x2c], eax
mov eax, dword [str._iPP]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.00401077
mov eax, dword [0x42c340]
add dword [ebp - 0xc], 0x23f
mov dword [ebp - 0x34], eax
mov eax, dword [0x42c344]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x20
jmp 0x4010f4
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x14]
shl eax, 4
cmp dword [0x43b674], 0xc
mov dword [ebp - 4], eax
jne 0x40114f
push ebx
lea eax, [ebp - 0x840]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosw word es:[edi], ax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x1040]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov eax, dword [ebp - 0x34]
add dword [ebp - 4], eax
mov eax, dword [0x43b674]
cmp eax, 0xfa9
jne 0x40116b
mov dword [0x43b670], 0xedeb2e40
cmp eax, 0x3eb
jne 0x401191
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x43b5c8], ebx
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea eax, [edi + edx]
shr edx, cl
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [0x43b66c], 0xf4ea3dee
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add edi, esi
shr esi, cl
mov dword [ebp - 0x1c], edi
add esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
cmp dword [0x43b674], 0xb03
jne 0x401208
push str.wuricogu_cetatiwore_datufijed
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor dword [ebp - 4], esi
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
add dword [ebp - 0xc], 0x61c88647
dec dword [ebp - 0x20]
jne 0x4010f1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x401445
Capabilities:
Check for time delay via gettickcount
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4240f1
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
xor ebx, ebx
cmp dword [0x43b674], 0x400
push edi
jne 0x401506
push 0xf
pop esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x44], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401be0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401920
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004015d0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.0040192a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401700
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401aa0
fstp st(0)
or dword [esp + 0x44], 0xffffffff
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x4014fa
push dword [esp + 0x18]
call fcn.00401950
pop ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call esi
call esi
cmp edi, 0x206d51
jg 0x401523
inc edi
cmp edi, 0x4eed4
jl 0x40150e
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, 0x2b2589
jg 0x40153d
inc esi
cmp esi, 0x118b1
jl 0x401525
xor esi, esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
cmp esi, 0x2afdec
jle 0x40155d
cmp dword [esp + 0x10], 0x787c7e45
jne 0x401566
inc esi
cmp esi, 0x42f7
jl 0x40153f
mov eax, dword [0x42ec8c]
mov dword [0x43b674], eax
call fcn.00401244
mov esi, 0x3078f
cmp dword [0x43b674], 0x51f
jne 0x40158f
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
dec esi
jne 0x40157a
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403400
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b1c8]
jne 0x40340a
repz ret
jmp fcn.00407fee
Function at 0x407c1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040490b
and dword [ebp - 4], 0
cmp dword [0x43062c], 0
mov ebx, eax
jne 0x407ccc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407d7d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407d7d
push eax
call fcn.00404899
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43062c], eax
call esi
push eax
call fcn.00404899
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x430630], eax
call esi
push eax
call fcn.00404899
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x430634], eax
call esi
push eax
call fcn.00404899
pop ecx
mov dword [0x43063c], eax
test eax, eax
je 0x407ccc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404899
pop ecx
mov dword [0x430638], eax
mov eax, dword [0x430638]
cmp eax, ebx
je 0x407d24
cmp dword [0x43063c], ebx
je 0x407d24
push eax
call fcn.00404914
push dword [0x43063c]
mov esi, eax
call fcn.00404914
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407d24
test edi, edi
je 0x407d24
call esi
test eax, eax
je 0x407d1b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407d1b
test byte [ebp - 0xc], 1
jne 0x407d24
or dword [ebp + 0x10], 0x200000
jmp 0x407d5d
mov eax, dword [0x430630]
cmp eax, ebx
je 0x407d5d
push eax
call fcn.00404914
pop ecx
test eax, eax
je 0x407d5d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407d5d
mov eax, dword [0x430634]
cmp eax, ebx
je 0x407d5d
push eax
call fcn.00404914
pop ecx
test eax, eax
je 0x407d5d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43062c]
call fcn.00404914
pop ecx
test eax, eax
je 0x407d7d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407d7f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x433005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x44763fec
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x470d2f35
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0x47967992
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3e2840fc
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40214a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44e14c]
jne 0x402154
repz ret
jmp fcn.00402d5d

Function at 0x40fc8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44e14c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405b1b
and dword [ebp - 0x14], 0
cmp dword [0x450fe4], 0
mov dword [ebp - 0x18], eax
jne 0x40fd3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40fde5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40fde5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x450fe4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x450fe8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x450fec], eax
call edi
push eax
call esi
mov dword [0x450ff4], eax
test eax, eax
je 0x40fd3d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x450ff0], eax
mov eax, dword [0x450ff0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40fd96
cmp dword [0x450ff4], ecx
je 0x40fd96
push eax
call esi
push dword [0x450ff4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40fd96
test ebx, ebx
je 0x40fd96
call edi
test eax, eax
je 0x40fd8d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40fd8d
test byte [ebp - 8], 1
jne 0x40fd96
or dword [ebp + 0x10], 0x200000
jmp 0x40fdc9
mov eax, dword [0x450fe8]
cmp eax, dword [ebp - 0x18]
je 0x40fdc9
push eax
call esi
test eax, eax
je 0x40fdc9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40fdc9
mov eax, dword [0x450fec]
cmp eax, dword [ebp - 0x18]
je 0x40fdc9
push eax
call esi
test eax, eax
je 0x40fdc9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x450fe4]
call esi
test eax, eax
je 0x40fde5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40fde7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040214a
leave
ret
Function at 0x43f410
Capabilities:
Get disk information
Read file on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x44e14c]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [0x4551fc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519a5
mov edi, 0x8e46a7b8
lea esp, [esp]
mov dword [0x454e64], edi
cmp eax, 0x3dc
jne 0x43f45a
push 0
push 0
push 0
call esi
mov eax, dword [0x4551fc]
dec ebx
jne 0x43f440
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
jmp 0x43f470
cmp eax, 0x997
jne 0x43f4b7
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
mov eax, dword [0x4551fc]
cmp esi, 0x846017
jne 0x43f4ce
mov eax, dword [0x44fd60]
add eax, 0xa231
mov dword [0x4551fc], eax
cmp eax, 0x141
jne 0x43f4e9
mov dword [0x451508], 0xec58acac
mov dword [0x45150c], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x43f470
call fcn.0043ef70
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040214a
add esp, 0x41c
ret 0x10
Function at 0x438cb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x438a14
pop esi
and edx, eax
call fcn.00438ce4
dec edx
sub eax, edx
sub edx, edx
xor dword [ebx], esi
and eax, edx
inc ebx
add eax, 1
mov edx, eax
cmp ebx, ecx
jne fcn.00438cb0
and edx, edx
inc eax
ret
Function at 0x405a83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405aa9
xor al, al
jmp 0x405ac9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414490
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40cdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a510
call fcn.00413954
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b694
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b748
push 4
mov ebx, 0x41b684
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.004032a8
mov dword [esi + 0x3c], 0x41b7f8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.004032a8
mov dword [edi], 0x41b800
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c3f8
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c3f8
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c3f8
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c3f8
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c3f8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413220
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.004148be
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413248
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413257
mov eax, 1
ret 4

Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x413240
jmp fcn.00413280
cmp ecx, dword [0x41702c]
jne 0x41324a
repz ret
jmp 0x411087
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x42e14242
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x58441cd1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219