joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402658
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
xor ebx, ebx
inc ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x401eeb
push 0x4012f0
mov dword [0x4060a4], eax
mov dword [0x406010], 0x10
mov dword [0x40601c], 0x42a
mov dword [0x406020], ebx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
mov dword [0x4060bc], eax
cmp eax, esi
je 0x402752
push edi
push esi
push 0x1388
push 2
pop edi
push edi
mov dword [0x406018], ebx
call fcn.00402266
push esi
push esi
push 4
mov dword [0x406018], 5
call fcn.00402266
call fcn.00402296
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x403161
push esi
push esi
mov dword [0x40601c], esi
mov dword [0x406020], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp eax, esi
jne 0x402706
mov dword [0x406020], edi
jmp 0x40273d
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [0x4060a4]
call edi
mov eax, dword [0x40600c]
cmp eax, esi
je 0x40272a
push esi
push esi
push 0x11
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x7530
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x4060a4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push esi
push ebx
call fcn.00402266
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x402842
Capabilities:
Copy file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [0x4060c4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x402941
cmp dword [ebp + 0xc], 0
mov dword [ebp - 4], 0x4012dc
je 0x40287f
mov dword [ebp - 4], 0x4012cc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 4]
lea ebx, [eax + edi - 3]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40293e
push dword [ebp - 4]
push ebx
call esi
xor esi, esi
push esi
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40293e
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40293e
mov eax, dword [0x4060c4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov edx, ecx
sub edx, eax
add edx, 0x16
mov dword [ebp + 8], edx
cmp dword [ebp + 0xc], esi
jne 0x40290b
mov eax, 0x2000
or ax, word [ecx + 0x16]
jmp 0x402917
mov ax, word [ecx + 0x16]
mov ecx, 0xdfff
and ax, cx
push esi
push esi
push edx
push edi
mov word [ebp + 0xc], ax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp + 8]
push eax
push 2
lea eax, [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402ea1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [0x4060a8], ebx
je 0x402f0c
push ebx
push ebx
push 0x12
push dword [0x406148]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push 0x7530
push dword [0x4060a8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x4060a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
push ebx
push 0x1e
mov dword [0x4060a8], ebx
call fcn.00403c14
mov al, byte [eax]
cmp byte [0x40602c], bl
jne 0x402f01
cmp byte [0x4060b8], bl
je 0x402f0c
test al, 4
je 0x402f0c
xor eax, eax
jmp 0x402f91
push esi
cmp byte [0x406088], bl
jne 0x402f4c
push dword [0x4060a0]
mov esi, 0x40603c
push esi
call fcn.004037be
cmp byte [0x40605f], bl
jne 0x402f34
mov byte [0x4060b8], bl
cmp byte [0x4060b8], bl
jne 0x402f71
inc dword [0x406034]
mov eax, dword [0x406034]
cmp eax, dword [ebp + 8]
jb 0x402f50
xor eax, eax
jmp 0x402f90
mov eax, dword [0x4060a0]
mov byte [eax], bl
push dword [0x4060a0]
push esi
call fcn.004037be
mov byte [0x40605f], 1
mov byte [0x4060b8], 1
push 0x406148
push ebx
push ebx
push 0x403132
push ebx
push ebx
mov dword [0x406030], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4060a8], eax
pop esi
pop ebx
leave
ret 4

Function at 0x402ff9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
mov ebx, 0x80
push ebx
xor edi, edi
push edi
lea eax, [ebp - 0x8c]
push eax
call fcn.00404d2d
mov dword [ebp - 4], 3
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 8], edi
je 0x403081
dec eax
jne 0x40310a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [eax + 6]
cmp dword [0x4060ce], edi
je 0x403049
mov ecx, 0x4060ce
push dword [edx + 4]
add eax, 2
push eax
push ecx
lea eax, [ebp - 0x8c]
push eax
call fcn.00402d7f
test eax, eax
jle 0x40310a
push edi
push 0x12
push 0x12
push edi
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x403021
jmp 0x40310a
push 0x4464
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, edi
je 0x4030f8
or dword [esi + 0x70], 0xffffffff
or byte [esi + 0x5c], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x3ba8], eax
push ebx
lea eax, [ebp - 0x8c]
push eax
lea eax, [esi + 0x3c58]
push eax
call fcn.00404d14
lea eax, [ebp - 0xc]
push eax
push edi
push esi
push 0x401c2c
push edi
push edi
mov dword [esi + 0x6c], 3
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x3ba4], eax
cmp eax, edi
je 0x4030f8
push 0xfffffffffffffff1
mov dword [ebp - 0x58], edi
push dword [esi + 0x3ba4]
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 8]
push esi
call fcn.00401f30
cmp dword [ebp - 8], edi
jne 0x403021
lea eax, [ebp - 0x8c]
push eax
call fcn.00402d40
push 2
push 1
push 0x400
push dword [0x40600c]
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403675
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, 0x4060c4
xor eax, eax
cmp dword [esi], eax
jne 0x4036b1
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp + 8]
jecxz 0x4036c0
cmp eax, ecx
je 0x4036c0
mov dword [esi], ecx
push eax
push dword [0x401348]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, sym.rpcnetp.exe_rpcnetp
pop eax
jne 0x4036c0
call fcn.00403d1c
mov eax, 1
mov dword [0x40608c], eax
pop esi
leave
ret 0xc
mov dword [esi], eax
pop esi
leave
jmp fcn.004032de

Function at 0x403803
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.00403b83
mov ebx, eax
mov dh, byte [ebx]
mov dl, 1
mov ecx, dword [edi]
or dh, dh
jne 0x403836
inc ebx
push ecx
mov eax, esp
push eax
push 0
push dword [ebx]
call fcn.00403c14
pop ecx
jecxz 0x403844
push eax
mov al, byte [eax]
xor al, 0xb5
mov byte [esi], al
pop eax
inc esi
inc eax
loop 0x403838
or dh, dh
jne 0x403850
inc dl
mov cl, dl
cmp ecx, dword [edi]
jl 0x403823
mov byte [esi], 0
sub esi, dword [ebp + 0xc]
mov dword [edi], esi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4039f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 5], 0
push ebx
mov bl, byte [ebp - 5]
mov byte [ebp - 1], bl
test bl, bl
je 0x403a2e
mov byte [ebp - 9], 0
push dword [ebp - 9]
push dword [ebp - 5]
call fcn.0040393c
cmp al, 1
je 0x403a28
inc byte [ebp - 9]
jne 0x403a12
jmp 0x403a2e
mov bl, byte [ebp - 9]
mov byte [ebp - 1], bl
push 4
pop eax
rol byte [ebp - 1], 1
xor bl, byte [ebp - 1]
dec eax
jne 0x403a31
movzx eax, byte [ebp - 5]
mov ecx, dword [0x40614c]
xor bl, 0x63
inc byte [ebp - 5]
mov byte [eax + ecx + 0x5c4], bl
jne 0x403a04
pop ebx
leave
ret
Function at 0x403e28
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x1c]
sub esp, 0x2c
test ecx, ecx
jne 0x403e3f
mov eax, dword [ebp + 0x10]
and dword [eax], ecx
jmp 0x403f2b
and dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
lea eax, [ecx + 0x7f]
cdq
movsd dword es:[edi], dword [esi]
and edx, 0x7f
lea ebx, [edx + eax]
mov edx, dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
sar ebx, 7
mov eax, ebx
shl eax, 7
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp + 0x10], edx
bswap edi
test ebx, ebx
jle 0x403f1e
lea eax, [ebp - 0x2c]
mov esi, edx
sub esi, eax
mov eax, dword [ebp + 0xc]
sub eax, edx
mov dword [ebp + 0x18], ecx
mov dword [ebp - 4], eax
push dword [ebp + 0x20]
lea eax, [ebp - 0x1c]
push 0x80
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.00403fcc
lea eax, [ebx - 1]
cmp dword [ebp + 0x1c], eax
jne 0x403eec
xor ecx, ecx
cmp dword [ebp - 8], ecx
je 0x403eec
mov eax, dword [ebp + 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x403eff
mov edx, dword [ebp - 4]
lea eax, [ebp + ecx - 0x2c]
mov cl, byte [esi + eax]
xor cl, byte [eax]
add edx, esi
mov byte [edx + eax], cl
mov ecx, dword [ebp + 0xc]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, dword [ebp - 0xc]
jl 0x403ecd
jmp 0x403eff
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
push 4
push eax
add ecx, eax
lea edx, [ebp - 0x2c]
call fcn.00404cee
add dword [ebp + 0x10], 0x10
add dword [ebp + 0x18], 0xffffff80
inc edi
add esi, 0x10
inc dword [ebp + 0x1c]
mov eax, edi
bswap eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], ebx
jl 0x403e8c
mov edi, dword [ebp + 0x14]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret 0x1c

Function at 0x404ca5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
bswap eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax]
lea edx, [ecx + 1]
mov byte [eax], dl
lea edx, [ebp + 0xc]
push ecx
mov ecx, edx
call fcn.00403961
mov ecx, dword [ebp + 8]
mov edx, esi
push 4
sub edx, ecx
pop esi
mov eax, dword [ebp + 0xc]
bswap eax
xor eax, dword [edx + ecx]
mov dword [ecx], eax
bswap eax
add ecx, 4
dec esi
mov dword [ebp + 0xc], eax
jne 0x404cd4
pop esi
pop ebp
ret 0xc

Function at 0x404cee
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
sub edx, eax
push edi
sub ecx, eax
mov edi, dword [edx + eax]
xor edi, dword [eax]
inc esi
mov dword [ecx + eax], edi
add eax, 4
cmp esi, dword [esp + 0x10]
jl 0x404cfa
pop edi
pop esi
ret 8
Function at 0x407458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x407467
pop dword [ebp - 0x10]
mov eax, 0xe8e27a19
sub eax, 0xe8a205b2
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xc4e6ef63
sub dword [ebp - 0x20], 0x7694aa18
mov dword [ebp - 0x1c], 0xa16f857
sub dword [ebp - 0x1c], 0xd7e3ac12
mov dword [ebp - 0x18], 0xe518ede9
add dword [ebp - 0x18], 0x67335645
mov dword [ebp - 0x14], 0xd9925bc0
add dword [ebp - 0x14], 0x266da440
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x82c5c435
sub dword [ebp - 0x20], 0xe535adf
mov dword [ebp - 0x1c], 0x2bf76e59
add dword [ebp - 0x1c], 0x1574f31c
mov dword [ebp - 0x18], 0xf1f53aa4
add dword [ebp - 0x18], 0x717a31c8
mov dword [ebp - 0x14], 0xd0fbcfb4
add dword [ebp - 0x14], 0x2f04304c
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xf89c60ed
add eax, 0x7a41f8f
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x373fc
push 0
call eax
mov ecx, 0x4897
xor esi, esi
add esi, eax
mov edi, 0x451400
add edi, dword [ebp - 0x10]
mov ebx, 0xe82405f5
add ebx, 0x8bb81e1e
mov dword [ebp - 8], 0x302d45c5
mov edx, dword [edi]
sub dword [ebp - 4], 0x2c1aa26b
xor edx, ebx
mov dword [esi], edx
xor dword [ebp - 4], 0xfe82e0d6
add esi, 0x80a40dcb
sub esi, 0x80a40dc7
add edi, 0x15832f0f
add edi, 0xea7cd0f5
loop 0x40757a
add eax, 0x161dd450
sub eax, 0x161cbf21
mov ebx, eax
add eax, 5
mov ecx, 0x1819bfdd
sub ecx, 0x17d9bfdd
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401c60
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x23c
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
xor bl, bl
call fcn.00401d70
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401cab
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x401cc4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0044455e
add esp, 0x23c
ret
mov ecx, str.egui.exe
lea eax, [esp + 0x30]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401cf6
test dx, dx
je 0x401cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401cd0
xor eax, eax
jmp 0x401cfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401d37
mov ecx, str.ekrn.exe
lea eax, [esp + 0x30]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401d2e
test dx, dx
je 0x401d2a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401d2e
add eax, 4
add ecx, 4
test dx, dx
jne 0x401d08
xor eax, eax
jmp 0x401d33
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401d39
mov bl, 1
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401cc4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x240]
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0044455e
add esp, 0x23c
ret

Function at 0x401d70
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x20
push ebx
lea eax, [esp + 4]
push eax
xor ebx, ebx
push 0x20
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401de1
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x401de1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ebx
push ebx
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push ebx
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
setne bl
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
add esp, 0x20
ret

Function at 0x4029e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4029f7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402a28
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x402a24
cmp esi, eax
jae 0x402a28
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x402a14
cmp esi, eax
jb 0x402a2e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x403110
Capabilities:
Contain obfuscated stackstrings
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push edi
mov esi, edx
push esi
push 0
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403144
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044455e
add esp, 0x2c
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x403166
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044455e
add esp, 0x2c
ret
push ebp
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40325c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.00444a0d
push esi
push ebx
mov edi, eax
push esi
push edi
call fcn.00444b65
mov al, 0x64
mov cl, 0x32
mov bl, 0x62
mov dl, 0x31
mov byte [esp + 0x3a], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2e], al
mov byte [esp + 0x3f], al
mov byte [esp + 0x35], al
mov byte [esp + 0x47], al
mov byte [esp + 0x36], al
mov al, 0x38
mov byte [esp + 0x2b], cl
mov byte [esp + 0x44], cl
mov cl, 0x61
mov byte [esp + 0x30], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3b], bl
lea ebx, [esp + 0x28]
mov byte [esp + 0x3d], dl
mov byte [esp + 0x28], 0x34
mov byte [esp + 0x32], 0x30
mov byte [esp + 0x41], dl
mov byte [esp + 0x43], 0x66
mov byte [esp + 0x34], 0x33
mov byte [esp + 0x29], 0x35
mov byte [esp + 0x37], 0x36
mov byte [esp + 0x33], 0x65
mov byte [esp + 0x45], 0x37
mov byte [esp + 0x42], dl
mov byte [esp + 0x3c], 0x66
mov byte [esp + 0x38], 0x35
mov byte [esp + 0x2f], al
mov byte [esp + 0x40], cl
mov byte [esp + 0x39], al
mov byte [esp + 0x2c], 0x39
mov byte [esp + 0x48], 0
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], 0x36
mov byte [esp + 0x46], cl
call fcn.00405110
push esi
mov edx, edi
call fcn.004051d0
add esp, 0x18
test al, al
jne 0x403271
pop ebp
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044455e
add esp, 0x2c
ret
push 0
lea eax, [esp + 0x14]
push eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00444ad7
mov ecx, dword [esp + 0x3c]
add esp, 4
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.0044455e
add esp, 0x2c
ret
Function at 0x4039e0
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 8
push ebx
push esi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
xor ebx, ebx
push 4
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.1836
mov byte [0x46f71c], 1
mov byte [ecx + 4], bl
call fcn.00401b40
call fcn.00402bc0
add esp, 0x1c
cmp byte [0x46f6b4], bl
je 0x403a29
call dword [0x46f69c]
jmp 0x403a3b
push ebx
call dword [0x46f694]
push 0xb4
call dword [0x46f6a0]
mov eax, dword [0x46f6bc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x46e6a4]
mov ebx, 8
cmp dword [0x46e6b8], ebx
jae 0x403a5e
mov eax, 0x46e6a4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x46e688]
cmp dword [0x46e69c], ebx
jae 0x403a83
mov eax, 0x46e688
push eax
call esi
test eax, eax
jne 0x403a90
push 0x64
call edi
jmp 0x403a71
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x405110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x104
mov eax, dword [0x46d184]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push edi
push 0xff
xor esi, esi
lea eax, [esp + 0xd]
push esi
push eax
mov byte [esp + 0x14], 0
call fcn.00446090
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405145
sub eax, edx
mov edi, eax
xor ecx, ecx
xor edx, edx
mov eax, ecx
div edi
mov byte [ecx + 0x46f720], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + ebx]
mov byte [esp + ecx + 7], dl
jl 0x405152
xor eax, eax
mov cl, byte [eax + 0x46f720]
movsx edx, byte [esp + eax + 8]
movzx edi, cl
add edx, esi
add edi, edx
mov esi, edi
and esi, 0x800000ff
jns 0x405194
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + 0x46f720]
mov byte [eax + 0x46f720], dl
inc eax
cmp eax, 0x100
mov byte [esi + 0x46f720], cl
jl 0x405170
mov ecx, dword [esp + 0x108]
pop edi
pop esi
xor ecx, esp
call fcn.0044455e
add esp, 0x104
ret

Function at 0x405ca0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov ebx, eax
mov esi, ebp
mov dword [esp + 0x18], edi
jle 0x405cf2
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405cec
mov eax, dword [esp + 0x18]
test eax, eax
je 0x405cec
add edi, eax
sub esi, eax
add ebx, eax
cmp edi, ebp
jl 0x405cb6
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
sete al
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
sete al
pop ebx
ret

Function at 0x406160
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x45b428
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x46d184]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
cmp dword [esi + 0x1c], edi
je 0x4061b7
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x1c], edi
cmp eax, 0xffffffff
je 0x4061a6
push eax
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov dword [esi + 0x5c], 0xffffffff
mov eax, dword [esi + 0x58]
cmp eax, edi
je 0x4061b7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x58], edi
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00401830
lea ecx, [esp + 8]
push ecx
push edi
push esi
push 0x406000
push edi
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x58], eax
cmp eax, edi
jne 0x40620e
cmp dword [esp + 0x34], 0x10
jb 0x4061f9
mov edx, dword [esp + 0x20]
push edx
call fcn.00444553
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c
cmp dword [esp + 0x34], 0x10
mov dword [esi + 0x1c], 1
jb 0x406229
mov eax, dword [esp + 0x20]
push eax
call fcn.00444553
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x10
ret 0x1c
Function at 0x4062e0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
mov ebx, eax
mov esi, ebp
test ebp, ebp
jle 0x406318
mov ecx, dword [esp + 0x14]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x406324
mov eax, dword [esp + 0x18]
add edi, eax
sub esi, eax
add ebx, eax
cmp edi, ebp
jl 0x4062f2
xor eax, eax
cmp edi, ebp
pop edi
pop esi
pop ebp
sete al
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret