joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420294
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 word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x4b18af
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 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x4ce54c]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x4ce54c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x4cd378]
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 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
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 - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
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 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b18b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x404af2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x477084]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00404d62
mov ebx, eax
cmp ebx, esi
je 0x404b54
cmp dword [esp + 0x10], esi
je 0x404b50
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x404bca
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x404b72
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00404af2
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x404be1
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x404b5c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], esi
je 0x404bad
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x10], esi
push dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.00404a84
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x404bc8
push dword [esp + 0x10]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410b60
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x10], esi
je 0x404bf1
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
jmp 0x404bca
Function at 0x407792
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x45401b
call fcn.0044d7cc
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x4077ea
call fcn.00406578
mov esi, eax
jmp 0x4078f4
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x407803
call fcn.00406578
jmp 0x4078e6
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x4077f9
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x407840
mov esi, 0x8007000e
jmp 0x4078e8
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x407855
cmp eax, 0xffffffff
jbe 0x40785f
push 0x80070216
call fcn.0040538e
cmp eax, 0x400
jbe 0x40788c
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00406555
jmp 0x407898
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x407836
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4077f9
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.00407632
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40790d
lea eax, [ebp - 0x418]
call fcn.0040654c
mov eax, esi
call fcn.0044d828
ret 0xc
Function at 0x40ab4e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40abb2
cmp dword [ebp + 0xc], 1
je 0x40ab8a
cmp dword [ebp + 0xc], 2
je 0x40ab8a
push 0xd
pop eax
jmp 0x40abb2
mov eax, dword [ebp - 4]
test edi, edi
je 0x40abac
test eax, eax
je 0x40aba7
test al, 1
jne 0x40ab85
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40abac
jmp 0x40ab85
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x410833
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x479100], 0
push esi
push edi
jne 0x4107a9
call fcn.00410715
test eax, eax
je 0x4107ee
mov eax, dword [0x479100]
cmp eax, 1
jne 0x4107ca
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4107ee
jmp 0x410830
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x410830
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4107f2
xor eax, eax
jmp 0x410830
mov eax, dword [esi]
push dword [0x479100]
call edi
mov edi, eax
test edi, edi
je 0x410814
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x410830
lea edi, [esi + 0xff0]
push esi
push dword [0x479100]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41081a
mov eax, esi
pop edi
pop esi
ret
jmp 0x410795

Function at 0x410b60
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477084]
jne 0x410b6a
repz ret
jmp fcn.00413df2
Function at 0x41e4eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x477084]
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.00416ef8
and dword [ebp - 0x14], 0
cmp dword [0x479f44], 0
mov dword [ebp - 0x18], eax
jne 0x41e59e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e646
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41e646
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x479f44], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x479f48], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x479f4c], eax
call edi
push eax
call esi
mov dword [0x479f54], eax
test eax, eax
je 0x41e59e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x479f50], eax
mov eax, dword [0x479f50]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e5f7
cmp dword [0x479f54], ecx
je 0x41e5f7
push eax
call esi
push dword [0x479f54]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41e5f7
test ebx, ebx
je 0x41e5f7
call edi
test eax, eax
je 0x41e5ee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41e5ee
test byte [ebp - 8], 1
jne 0x41e5f7
or dword [ebp + 0x10], 0x200000
jmp 0x41e62a
mov eax, dword [0x479f48]
cmp eax, dword [ebp - 0x18]
je 0x41e62a
push eax
call esi
test eax, eax
je 0x41e62a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41e62a
mov eax, dword [0x479f4c]
cmp eax, dword [ebp - 0x18]
je 0x41e62a
push eax
call esi
test eax, eax
je 0x41e62a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x479f44]
call esi
test eax, eax
je 0x41e646
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e648
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410b60
leave
ret
Function at 0x420a0f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
not esi
mov ecx, 0xff
cmp ebx, 8
jb 0x420af2
mov edi, ebx
shr edi, 3
movzx edx, byte [eax]
fld qword [0x471918]
xor edx, esi
and edx, ecx
mov dword [ebp - 0x10], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 1]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 2]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 3]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 4]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 5]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 6]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
movzx esi, byte [eax + 7]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x457c50]
add eax, 8
fstp qword [ebp - 0x18]
sub ebx, 8
dec edi
fld qword [0x471910]
fstp qword [ebp - 0x18]
mov esi, edx
fld qword [ebp - 0x18]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x18]
jne 0x420a31
test ebx, ebx
je 0x420b61
movzx edx, byte [eax]
xor edx, esi
and edx, ecx
shr esi, 8
xor esi, dword [edx*4 + 0x457c50]
inc eax
dec ebx
jne 0x420af6
mov dword [ebp - 8], 0x59
mov dword [ebp - 0xc], 0x51
mov dword [ebp - 0x10], 0x22
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, eax
jg 0x420b61
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jle 0x420b61
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
je 0x420b61
mov eax, dword [ebp - 0x14]
push 0x4b
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], eax
pop edi
mov eax, esi
pop esi
not eax
pop ebx
leave
ret
Function at 0x43c5bf
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
pop ebp
ret 4

Function at 0x43c709
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0x59
mov dword [ebp - 0xc], 0x51
mov dword [ebp - 0x10], 0x22
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, eax
jg 0x43c765
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jle 0x43c765
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
je 0x43c765
mov eax, dword [ebp - 0x14]
push 0x4b
cdq
pop ecx
idiv ecx
mov dword [ebp - 4], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret 4

Function at 0x43f6b9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x43f6cc
xor eax, eax
leave
ret
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x43f6c8
mov dword [ebp - 4], 0x24
mov dword [ebp - 8], 0x1c
mov edx, dword [ebp - 4]
imul edx, edx, 0x43
push esi
mov esi, dword [ebp - 4]
sub edx, esi
mov esi, dword [ebp - 4]
sub edx, esi
mov esi, dword [ebp - 8]
sub edx, esi
mov esi, dword [ebp - 8]
sub edx, esi
mov esi, dword [ebp - 4]
lea edx, [edx + esi + 0x96]
mov dword [ebp - 8], edx
add dword [ebp - 4], 0xffffffad
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 4]
imul edx, esi
mov esi, dword [ebp - 4]
imul edx, edx, 0x28
push edi
mov edi, dword [ebp - 4]
mov eax, dword [eax + ecx + 0x98]
imul esi, edi
lea edx, [edx + esi - 0x31]
pop edi
mov dword [ebp - 4], edx
pop esi
test eax, eax
je 0x43f6c8
add eax, ecx
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x2db12e2d
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x5f04428a
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0xd570a16
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x71177885
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x414000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x419810
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x414071
movzx edi, byte [ebp + 0x18]
mov eax, dword [esi]
mov ebx, dword [eax + 0x18]
mov ecx, ebx
call dword [section..00cfg]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea esi, [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push esi
call fcn.004323e0
mov dword [ebp - 0x10], 0
mov ecx, esi
push 0x4bae3c
call fcn.00432d50
mov esi, eax
mov edi, dword [ebp - 0x30]
xor ebx, ebx
dec ebx
mov eax, ebx
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x4140c3
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [ebp - 0x24]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [esi]
mov cl, byte [ebp + 0x18]
xor cl, 1
movzx ecx, cl
mov edi, dword [eax + ecx*4 + 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call edi
movzx eax, byte [ebp - 0x25]
test al, al
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, eax
cmovs esi, edx
test esi, esi
je 0x414199
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], 0
je 0x414169
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
movzx esi, al
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x414172
lea edx, [ecx + 1]
mov edi, dword [ebp - 0x20]
mov dword [edi + 0x18], edx
mov byte [ecx], al
xor edi, edi
cmp esi, 0xffffffff
je 0x414140
mov edi, dword [ebp - 0x20]
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp - 0x24]
inc ebx
test al, al
lea esi, [ebp - 0x30]
cmovs esi, ecx
movzx edi, al
cmovs edi, edx
add edi, esi
mov dword [ebp - 0x24], ebx
cmp ebx, edi
jne 0x414112
jmp 0x414199
mov dword [ebp - 0x20], 0
jmp 0x41414c
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push esi
call edi
mov esi, eax
jmp 0x414136
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x20]
mov dword [edx], esi
test al, al
je 0x4141b1
push ecx
call fcn.0044c0c5
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x414067
Function at 0x41ac30
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4bb4e8]
test ebx, ebx
jne 0x41aca8
push 0x24
call fcn.0044c095
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax + 4], edi
mov dword [eax], edi
push 0xc
call fcn.0044c095
add esp, 4
mov dword [esi + 8], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x10], ecx
mov dword [eax + 8], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [esi + 0xc], ecx
lea eax, [esi + 0x18]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 1
mov dword [0x4bb4e8], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x41acb2
mov edi, eax
push eax
call fcn.004613fd
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0041acc0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x41c500
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x4b6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.004344b0
test al, al
je 0x41c543
call fcn.004344a0
mov esi, eax
mov ecx, eax
push 0x4aba86
call fcn.00434540
test al, al
jne 0x41c56b
mov ecx, esi
push str.vmodule
call fcn.00434540
test al, al
jne 0x41c56b
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x4b7b40], eax
mov bl, 1
test al, 1
jne 0x41c60b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c6d8
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [0x4bb4f4], 0
jne 0x41c68c
mov eax, dword [0x4bb4f8]
mov dword [0x4bb4f4], eax
push 0x14
call fcn.0044c095
add esp, 4
mov edi, eax
mov ebx, str.vmodule
push ebx
call fcn.00460d80
add esp, 4
lea edx, [ebp - 0x1c]
mov ecx, esi
push eax
push ebx
push edx
call fcn.00434630
mov eax, 0x4aba86
push eax
call fcn.00460d80
add esp, 4
lea ebx, [ebp - 0x28]
mov ecx, esi
push eax
mov eax, 0x4aba86
push eax
push ebx
call fcn.00434630
mov ecx, edi
push 0x4bb4fc
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.0048a460
mov dword [0x4bb4f8], edi
cmp byte [ebx + 0xb], 0
jns 0x41c5f1
push dword [ebp - 0x28]
call fcn.0044c0c5
add esp, 4
cmp byte [ebp - 0x11], 0
jns 0x41c543
push dword [ebp - 0x1c]
call fcn.0044c0c5
add esp, 4
jmp 0x41c543
mov eax, dword [0x4bb510]
test eax, eax
jne 0x41c620
mov ecx, dword [0x4bb500]
test ecx, ecx
je 0x41c642
jmp 0x41c65e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4bb510], 0
mov ecx, dword [0x4bb500]
test ecx, ecx
jne 0x41c65e
and byte [0x4b7b40], 0xfe
push 0xc
call fcn.0044c095
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x4bb500], ecx
push dword [esi + 4]
call fcn.0041a1c0
cmp dword [esi + 0xc], 0
jne 0x41c680
mov eax, dword [0x4bb500]
cmp byte [eax + 0xb], 0
jns 0x41c679
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00488c60
mov ebx, eax
jmp 0x41c557
int3