joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4245b2
Capabilities:
Terminate process

Disassembly:
push 0x58
mov eax, 0x50907f
call fcn.004c969a
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x4246d1
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x4246c8
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.004c9360
push 0
mov esi, eax
mov edi, edx
call fcn.004ec62a
sub eax, esi
pop ecx
sbb edx, edi
xor esi, esi
push esi
push 0x3c
push edx
push eax
call fcn.004c9360
cmp eax, dword [ebp + 8]
jb 0x4246c8
cmp dword [ebx + 0x34], esi
je 0x4246a3
push str..killprocess_selfquit
lea ecx, [ebp - 0x28]
call fcn.00407a10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
push eax
call dword [ebx + 0x34]
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x28]
call fcn.004078d0
push str..closeByNext
lea ecx, [ebp - 0x40]
call fcn.00407a10
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call dword [ebx + 0x34]
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004078d0
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4246a3
push 0x2710
call eax
pop ecx
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push eax
push 0x3e8
push 2
push esi
push esi
push dword [ebx + 0x28]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.004c9655
ret 4

Function at 0x424ece
Capabilities:
Read file on windows
Read from mailslot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x5503dc]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
test eax, eax
jne 0x424f7e
xor eax, eax
jmp 0x424f88
push dword [esp + 0xc]
call fcn.0041c686
mov esi, eax
xor eax, eax
pop ecx
test esi, esi
je 0x424f88
push eax
mov word [esi], ax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424f9b
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
shr eax, 1
push eax
push esi
call fcn.00412280
mov ecx, dword [esp + 0x18]
push eax
call fcn.00418ab8
lea ecx, [esp + 0x1c]
call fcn.00407750
push esi
call fcn.004c904c
pop ecx
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
jmp 0x424f07
cmp dword [esp + 0x10], 0
jne 0x424f17
xor eax, eax
inc eax
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.004c9018
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004c904c
pop ecx
jmp 0x424f13
Function at 0x424fe9
Capabilities:
Create mailslot
Create thread

Disassembly:
push 0x9c
mov eax, 0x5091ab
call fcn.004c969a
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x425008
xor eax, eax
inc eax
jmp 0x425196
push 1
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x94], 0xc
xor edi, edi
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], eax
inc edi
push edi
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00424e17
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], ebx
push ecx
inc edi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateMailslotW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x42508c
or dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
call fcn.00407750
cmp edi, 0xa
jl 0x425047
jmp 0x4250ab
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x42509f
push 0xffffffffffffffff
push ebx
push eax
call fcn.004083d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407750
cmp dword [esi], 0xffffffff
jne 0x4250b7
xor eax, eax
jmp 0x425196
push str.Global_
lea ecx, [ebp - 0x58]
call fcn.004077c0
xor edi, edi
lea eax, [ebp - 0x68]
inc edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], ebx
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
call fcn.004083a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x84], 0
je 0x425136
push dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
call fcn.004077c0
push eax
lea ecx, [ebp - 0x40]
call fcn.00418ab8
lea ecx, [ebp - 0x80]
call fcn.00407750
push dword [ebp - 0x84]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.004199db
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
lea eax, [ebp - 0x88]
push eax
push ebx
push esi
push 0x424c4f
push ebx
push ebx
mov dword [ebp - 0x88], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x425184
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00407750
lea ecx, [ebp - 0x58]
call fcn.00407750
mov eax, edi
call fcn.004c9655
ret
Function at 0x4251ac
Capabilities:
Write file on windows

Disassembly:
push 0x88
mov eax, 0x5091e6
call fcn.004c969a
mov ebx, ecx
cmp dword [ebp + 8], 0
jle 0x4252dd
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x90]
mov ecx, ebx
push eax
call fcn.00424e17
and dword [ebp - 4], 0
lea edi, [ebp - 0x1e]
push dword [ebp + 8]
xor eax, eax
inc esi
mov word [ebp - 0x20], ax
stosd dword es:[edi], eax
push 0x53e3a0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
xor edi, edi
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004debe0
push str.mailslot_quit
lea eax, [ebp - 0x60]
push 0x20
push eax
call fcn.004ede4d
add esp, 0x24
mov dword [ebp - 0x94], edi
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push edi
push 0x80
push 3
push edi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4252c5
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x78]
call fcn.004077c0
push 0x53e348
mov byte [ebp - 4], 1
call fcn.00405b70
pop ecx
push eax
push 0x53e348
lea ecx, [ebp - 0x78]
call fcn.00419940
lea eax, [ebp - 0x60]
push eax
call fcn.00405b70
pop ecx
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x78]
call fcn.00419940
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x94]
push 0
push eax
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x78]
cmovae ecx, dword [ebp - 0x78]
add eax, eax
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x78]
call fcn.00407750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.00407750
cmp esi, 0xa
jl 0x4251ca
call fcn.004c9655
ret 4
Function at 0x425fb4
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x5093c8
call fcn.004c969a
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x425fe0
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x42612e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x42600e
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x42600e
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x42612e
xor edi, edi
cmp dword [esi + 0x4c], edi
je 0x42612c
mov ecx, esi
call fcn.00426379
cmp dword [esi + 0x38], edi
jne 0x42603d
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.0042683e
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x42612c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push edi
push 8
mov byte [ebp - 0x2c], al
call fcn.0041b685
lea eax, [esi + 0x40]
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x426124
cmp eax, 1
jg 0x426109
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x4260da
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.004ecb31
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x426124
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x426104
test edx, edx
jne 0x42605a
cmp dword [ebp - 0x18], 0x20
jae 0x426124
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.00412900
jmp 0x426057
mov ebx, dword [ebp + 8]
jmp 0x426124
cmp eax, 3
jne 0x426124
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.0042683e
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x28]
call fcn.004078d0
mov eax, ebx
call fcn.004c9655
ret 4
Function at 0x4263c7
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x50942c
call fcn.004c969a
mov esi, ecx
mov dword [ebp - 0x30], esi
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x4264c7
cmp byte [esi + 0x3d], bl
je 0x4264c7
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x426404
xor al, al
jmp 0x4264c9
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.0041b685
lea eax, [esi + 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov ecx, dword [ecx + 0x38]
add eax, edi
push eax
push esi
push dword [ebp - 0x34]
mov edx, dword [ecx]
call dword [edx + 0x20]
sub eax, ebx
je 0x426454
sub eax, 1
jne 0x4264ac
mov esi, dword [ebp - 0x30]
jmp 0x42645a
mov esi, dword [ebp - 0x30]
mov byte [esi + 0x3d], bl
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov edi, dword [ebp - 0x38]
cmovae eax, edx
sub edi, eax
je 0x426492
push dword [esi + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push edi
cmovae eax, edx
push 1
push eax
call fcn.004ecb31
add esp, 0x10
cmp edi, eax
jne 0x4264b7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [esi + 0x3d], 0
je 0x4264b5
test edi, edi
jne 0x42641e
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.00412900
jmp 0x426418
dec eax
sub eax, 1
jne 0x4264bb
inc eax
jmp 0x4264b9
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x2c]
call fcn.004078d0
mov al, bl
jmp 0x4264c9
mov al, 1
call fcn.004c9655
ret

Function at 0x42696c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov al, byte [edi + 0x209]
mov ebx, dword [edi + 0x204]
sub edx, ebx
mov byte [ebp - 1], al
sub ecx, ebx
mov eax, dword [ebp + 0xc]
add eax, ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
cmp ebx, eax
jae 0x4269f1
sub edx, ecx
mov dword [ebp + 0xc], edx
push esi
mov al, byte [ebp - 1]
movzx esi, bl
mov dl, byte [esi + edi + 0x100]
add al, dl
movzx ecx, al
mov byte [ebp - 1], al
mov al, byte [ecx + edi + 0x100]
mov byte [esi + edi + 0x100], al
mov byte [ecx + edi + 0x100], dl
mov al, byte [esi + edi + 0x100]
mov ecx, dword [ebp + 8]
add al, dl
mov edx, dword [ebp + 0xc]
add ecx, ebx
movzx eax, al
mov al, byte [eax + edi + 0x100]
xor al, byte [edx + ecx]
inc ebx
mov byte [ecx], al
cmp ebx, dword [ebp - 8]
jb 0x4269a0
pop esi
mov al, byte [ebp - 1]
mov dword [edi + 0x204], ebx
mov byte [edi + 0x209], al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426ea8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 8], ecx
cmp edi, 0x3fffffff
jae 0x426fa2
lea eax, [edi + 2]
push 3
cdq
pop ebx
idiv ebx
lea eax, [eax*4 + 1]
cmp esi, eax
jl 0x426fa2
mov esi, ecx
cmp edi, ebx
jle 0x426f4f
lea eax, [edi - 4]
xor edx, edx
div ebx
mov ebx, dword [ebp + 8]
inc eax
imul ecx, eax, 3
sub edi, ecx
mov dword [ebp + 0xc], edi
mov edi, eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, eax
add ebx, 3
mov ecx, edx
shr ecx, 0x1a
mov cl, byte [ecx + 0x53a8b0]
mov byte [esi], cl
mov ecx, edx
shr ecx, 0x14
and ecx, 0x3f
mov al, byte [ecx + 0x53a8b0]
mov byte [esi + 1], al
mov eax, edx
shr eax, 0xe
and eax, 0x3f
shr edx, 8
and edx, 0x3f
mov al, byte [eax + 0x53a8b0]
mov byte [esi + 2], al
mov al, byte [edx + 0x53a8b0]
mov byte [esi + 3], al
add esi, 4
sub edi, 1
jne 0x426ef7
mov edi, dword [ebp + 0xc]
jmp 0x426f52
mov ebx, dword [ebp + 8]
xor edx, edx
test edi, edi
je 0x426f89
mov ecx, edi
shl ecx, 3
movzx eax, byte [ebx]
shl edx, 8
add edx, eax
inc ebx
sub edi, 1
jne 0x426f5d
test ecx, ecx
jle 0x426f89
shl edx, 6
mov eax, edx
shr eax, cl
sub ecx, 6
and eax, 0x3f
mov al, byte [eax + 0x53a8b0]
mov byte [esi], al
inc esi
test ecx, ecx
jg 0x426f72
mov ecx, dword [ebp - 8]
mov eax, esi
sub eax, ecx
jmp 0x426f97
mov byte [esi], 0x3d
inc esi
inc eax
test al, 3
jne 0x426f92
mov byte [esi], 0
mov eax, ecx
jmp 0x426fa4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5094e8
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x25c], ecx
push 0x22c
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.004debe0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4284e3
xor al, al
jmp 0x4285ce
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4285c5
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428d60
add esp, 8
mov ecx, dword [ebp - 0x25c]
lea esi, [ebp - 0x28]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
cmovae esi, dword [ebp - 0x28]
call fcn.00407840
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x428573
mov esi, dword [ebx]
lea eax, [ebp - 0x250]
push eax
push dword [esi + 4]
push esi
call fcn.00429eb0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4285ea
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4285b0
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x4285a7
test al, 0x1f
jne 0x4285f4
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x4285f4
sub eax, ecx
cmp eax, 4
jb 0x4285f4
cmp eax, 0x23
ja 0x4285f4
mov eax, ecx
push eax
call fcn.00469456
add esp, 4
lea eax, [ebp - 0x258]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x428502
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0044934c
call fcn.004e12d1
int3
Function at 0x429680
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x4c4], edx
mov dword [ebp - 0x4c0], eax
test eax, eax
je 0x4297da
test edx, edx
je 0x4297da
push ebx
push esi
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x429782
xor edi, edi
cmp word [ebp - 0x4bc], di
je 0x429782
lea esi, [ebp - 0x4bc]
xor ebx, ebx
nop word [eax + eax]
push 0x53e3f0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42976a
push 0x53e3f8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x42976a
movzx eax, word [esi]
mov word [ebp - 0xc], ax
movzx eax, word [ebp + ebx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x429795
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [ebp - 0x4c0]
mov esi, eax
push esi
lea eax, [ebp - 0xd4]
push eax
push ebx
call fcn.004ee737
add esp, 0xc
test eax, eax
je 0x4297a8
add edi, 4
lea esi, [ebp - 0x4bc]
lea ebx, [edi + edi]
add esi, ebx
cmp word [esi], 0
jne 0x4296f0
push dword [ebp - 0x4c0]
mov edi, dword [ebp - 0x4c4]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x4c4]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebx + esi*2]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret
Function at 0x4297f0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [ebp - 0x418], edi
call fcn.004debe0
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x429884
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004debe0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x208
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
lea edx, [ebp - 0x20c]
lea ecx, [ebp - 0x414]
call fcn.00429680
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x20c], ax
jne 0x4298a4
xor ecx, ecx
jmp 0x4298bf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4298b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00407b90
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004c9018
mov esp, ebp
pop ebp
ret

Function at 0x429c00
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x5503dc]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 8]
push edi
push eax
call fcn.00429a50
add esp, 4
lea eax, [esp + 0xc]
cmp dword [esp + 0x20], 8
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
test eax, eax
je 0x429c74
cmp dword [esi + 0x14], 8
jb 0x429c50
mov ecx, dword [esi]
jmp 0x429c52
mov ecx, esi
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 3
cmovae eax, dword [esp + 0x10]
push 0
push ecx
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x429cb3
cmp dword [esi + 0x14], 8
jb 0x429c7e
mov eax, dword [esi]
jmp 0x429c80
mov eax, esi
push 3
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x429cb3
cmp dword [esi + 0x14], 8
jb 0x429c9d
mov esi, dword [esi]
push 3
push 0
push esi
push str.iexplore.exe
push str.open
push 0
call edi
cmp eax, 0x20
mov ecx, dword [esp + 0x20]
seta bl
cmp ecx, 8
jb 0x429cce
inc ecx
push ecx
push dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.00408230
mov ecx, dword [esp + 0x24]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c9018
mov esp, ebp
pop ebp
ret
Function at 0x42a940
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509708
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x138], eax
call fcn.00428600
push 0xffffffffffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push 0
push eax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x150], 0
call fcn.00407e60
mov eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x12c]
cmp dword [ebp - 0x13c], 0x10
mov edx, 0x100
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
mov dword [ebp - 0x130], eax
xor eax, eax
nop word [eax + eax]
mov byte [ecx], al
lea ecx, [ecx + 1]
inc eax
cmp ax, dx
jl 0x42a9f0
xor dl, dl
mov word [ebp - 0x2c], 0
xor ebx, ebx
lea esi, [ebp - 0x12c]
mov edi, 0x100
mov eax, dword [ebp - 0x130]
lea esi, [esi + 1]
mov cl, byte [esi - 1]
movzx edx, dl
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [esi - 1], al
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x134]
mov byte [ebp + ebx - 0x12c], cl
sub edi, 1
jne 0x42aa10
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x42aaaa
movzx edx, byte [ebp - 0x2c]
movzx ebx, byte [ebp - 0x2b]
nop dword [eax + eax]
inc dl
movzx edx, dl
mov cl, byte [ebp + edx - 0x12c]
add bl, cl
movzx ebx, bl
movzx eax, byte [ebp + ebx - 0x12c]
mov byte [ebp + edx - 0x12c], al
mov byte [ebp + ebx - 0x12c], cl
movzx eax, byte [ebp + edx - 0x12c]
add al, cl
mov ecx, dword [ebp - 0x138]
movzx eax, al
movzx eax, byte [ebp + eax - 0x12c]
xor byte [esi + ecx], al
inc esi
cmp esi, edi
jl 0x42aa60
mov eax, dword [ebp - 0x13c]
cmp eax, 0x10
jb 0x42aac8
inc eax
lea ecx, [ebp - 0x150]
push eax
push dword [ebp - 0x150]
call fcn.00408290
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x42aadd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408290
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret 8