joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10187b00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10187b2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10187b2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x409130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.qmpJQplM
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x409152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409148
mov eax, 1
add ebx, ebx
jne 0x40916b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409160
jne 0x40917c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409160
xor ecx, ecx
sub eax, 3
jb 0x409190
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409202
mov ebp, eax
add ebx, ebx
jne 0x40919b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4091a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4091cc
inc ecx
add ebx, ebx
jne 0x4091b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4091ad
jne 0x4091c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4091ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4091ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4091dd
jmp 0x40914e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4091ec
add edi, ecx
jmp 0x40914e
pop esi
mov edi, esi
mov ecx, 5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40920a
cmp byte [edi], 0
jne 0x40920a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40920f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x40927e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa10c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa164]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40923c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa16c]
or eax, eax
je 0x409278
mov dword [ebx], eax
add ebx, 4
jmp 0x409259
call dword [esi + 0xa168]
mov ebp, dword [esi + 0xa170]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4092b2
sub esp, 0xffffff80
jmp 0x40124f

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
call 0x16821a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x168207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x168206a
add dl, dl
jne 0x1682089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16820dc
xor eax, eax
add dl, dl
jne 0x1682096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x168217d
add dl, dl
jne 0x16820a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16820b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16820bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16820c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16820d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1682075
mov eax, 1
add dl, dl
jne 0x16820ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16820f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16820e1
sub eax, ebx
mov ebx, 1
jne 0x1682128
mov ecx, 1
add dl, dl
jne 0x168210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1682119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1682105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1682075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x168213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x168214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1682136
cmp eax, 0x7d00
jae 0x168216d
cmp eax, 0x500
jb 0x1682168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1682075
cmp eax, 0x7f
ja 0x1682170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1682075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x168219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1682075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x418ad2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x418ae1
pop dword [ebp - 0x10]
mov eax, 0x2336988c
sub eax, 0x22f50dab
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3cc57
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4bd5e78a
sub ecx, 0x4bd5a13b
mov ebx, eax
mov esi, 0x3ca279dc
add esi, 0xc3a0e624
add esi, dword [ebp - 0x10]
mov edi, 0xf0f4fcf5
sub edi, 0xee626a94
add dword [ebp - 8], edi
mov edx, dword [esi]
add dword [ebp - 0xc], 0x1c344361
xor edx, edi
xor dword [ebp - 0xc], 0x36beda35
mov dword [ebx], edx
sub dword [ebp - 4], 0xfc0fc3d5
add ebx, 0x5e7eee68
add ebx, 0xa181119c
add esi, 0xfa5a2490
sub esi, 0xfa5a248c
loop 0x418b3b
add eax, 0x10c0f
xor ebx, ebx
add ebx, eax
add eax, 0xfbe1d7ac
add eax, 0x41e2859
mov ecx, 0xe87c648b
add ecx, 0x17c39b75
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x49ca94
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x49cb26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a88
mov eax, dword [ebp - 8]
call fcn.00404d58
test al, al
jbe 0x49cb08
mov byte [ebp - 9], al
mov bl, 1
lea eax, [ebp - 0x10]
xor edx, edx
mov dl, bl
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + edx - 1]
xor ecx, ecx
mov cl, bl
movzx edi, byte [ebp - 1]
add ecx, edi
xor edx, ecx
call fcn.00404c70
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00404d60
inc ebx
dec byte [ebp - 9]
jne 0x49cad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cb2d
lea eax, [ebp - 0x10]
call fcn.00404a88
lea eax, [ebp - 8]
call fcn.00404a88
ret

Function at 0x49e49c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, dword [esp]
inc eax
cmp eax, 5
jge 0x49e4b9
xor eax, eax
jmp 0x49e541
mov cl, byte [esi]
and cl, 0xff
and ecx, 0xff
mov eax, ecx
mov ebx, 9
cdq
idiv ebx
mov dword [esp + 4], edx
mov eax, ecx
mov ecx, 9
cdq
idiv ecx
mov ecx, eax
mov eax, ecx
mov ebx, 5
cdq
idiv ebx
mov dword [esp + 8], edx
mov eax, ecx
mov ecx, 5
cdq
idiv ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
xor eax, eax
mov ecx, eax
shl ecx, 3
lea edx, [eax + 1]
mov dl, byte [esi + edx]
and dl, 0xff
and edx, 0xff
shl edx, cl
add ebx, edx
inc eax
cmp eax, 4
jne 0x49e4fe
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, edi
call fcn.0049df8c
test al, al
jne 0x49e538
xor eax, eax
jmp 0x49e541
mov edx, ebx
mov eax, edi
call fcn.0049df3c
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x49f48c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040630c
xor eax, eax
push ebp
push 0x49f574
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004060c0
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x49f460]
call fcn.0040629c
add esp, 4
push 0
push 0
mov eax, dword [esi]
call fcn.0041d814
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0041da20
mov eax, dword [ebp - 8]
call fcn.004060c0
mov ebx, eax
dec ebx
test ebx, ebx
jb 0x49f522
inc ebx
xor ecx, ecx
mov eax, ecx
xor edx, edx
div dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
xor byte [edx + ecx], al
inc ecx
dec ebx
jne 0x49f50b
push 0
push 0
mov eax, dword [esi]
call fcn.0041d814
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0041da58
push 0
push 0
mov eax, dword [esi]
call fcn.0041d814
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f57b
lea eax, [ebp - 8]
mov edx, dword [0x49f460]
call fcn.004062a8
lea eax, [ebp - 4]
mov edx, dword [0x49e5a0]
call fcn.004062a8
ret
Function at 0x4c375c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00404f48
mov eax, dword [ebp - 8]
call fcn.00404f48
xor eax, eax
push ebp
push 0x4c3849
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4c3798
mov byte [ebx], 0
lea eax, [ebp - 0xc]
push eax
push 0x101
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4c382e
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4c37de
cmp dword [ebp - 0x10], 1
je 0x4c37e9
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4c382e
mov ecx, dword [ebp - 0x14]
dec ecx
mov eax, esi
xor edx, edx
call fcn.00404b78
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.00404fb0
push eax
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404f58
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test ebx, ebx
je 0x4c3825
test eax, eax
sete al
mov byte [ebx], al
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3850
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404aac
ret
Function at 0x4cb330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4cb446
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x418a00]
call fcn.00403bcc
mov ebx, eax
mov edx, 0x4cb45c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb46c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb494
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb4cc
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb4f0
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb504
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb514
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb534
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb568
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb584
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4cb59c
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402eb8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040a3d8
lea eax, [ebp - 0xc]
mov ecx, 0x4cb5a8
mov edx, dword [ebp - 4]
call fcn.00404da4
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, ebx
call fcn.00403bfc
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
push 0
push 0x4cb5b4
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb44d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404aac
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40111a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c004]
jne 0x401124
repz ret
jmp fcn.0040170f

Function at 0x40513b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c004]
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.00403f66
and dword [ebp - 0x14], 0
cmp dword [0x42ec78], 0
mov dword [ebp - 0x18], eax
jne 0x4051ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405296
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405296
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ec78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ec7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ec80], eax
call edi
push eax
call esi
mov dword [0x42ec88], eax
test eax, eax
je 0x4051ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ec84], eax
mov eax, dword [0x42ec84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405247
cmp dword [0x42ec88], ecx
je 0x405247
push eax
call esi
push dword [0x42ec88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405247
test ebx, ebx
je 0x405247
call edi
test eax, eax
je 0x40523e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40523e
test byte [ebp - 8], 1
jne 0x405247
or dword [ebp + 0x10], 0x200000
jmp 0x40527a
mov eax, dword [0x42ec7c]
cmp eax, dword [ebp - 0x18]
je 0x40527a
push eax
call esi
test eax, eax
je 0x40527a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40527a
mov eax, dword [0x42ec80]
cmp eax, dword [ebp - 0x18]
je 0x40527a
push eax
call esi
test eax, eax
je 0x40527a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ec78]
call esi
test eax, eax
je 0x405296
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405298
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040111a
leave
ret
Function at 0x420fe0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x41c
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
mov eax, dword [eax]
push ebx
mov ebx, dword [0x430a2c]
push edi
mov edi, dword [0x432eac]
call fcn.00420f20
cmp dword [0x432eac], 0x2f
jne 0x421074
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00420f50
mov ecx, dword [esp + 0x420]
pop edi
pop ebx
xor ecx, esp
call fcn.0040111a
add esp, 0x41c
ret
Function at 0x4214f0
Capabilities:
Get disk information

Disassembly:
mov eax, 0x1010
call fcn.0040c400
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [0x432eac]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
push edi
mov ebx, 0x1519af
mov edi, 0x8e46a6f0
mov dword [0x432b14], edi
cmp eax, 0x3dc
jne 0x42153a
push 0
push 0
push 0
call esi
mov eax, dword [0x432eac]
dec ebx
jne 0x421520
mov edi, dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor esi, esi
jmp 0x421550
cmp eax, 0xa5f
jne 0x421587
push 0
call edi
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
lea ecx, [esp + 0x830]
push ecx
push 0x42a514
call ebx
mov eax, dword [0x432eac]
cmp esi, 0x846143
jne 0x42159e
mov eax, dword [0x42dbf0]
add eax, 0xa231
mov dword [0x432eac], eax
cmp eax, 0x141
jne 0x4215b9
mov dword [0x42f1b8], 0xec58acac
mov dword [0x42f1bc], 0xffffffff
inc esi
cmp esi, 0x12d12ba
jl 0x421550
call fcn.00421090
mov ecx, dword [esp + 0x1018]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040111a
add esp, 0x1010
ret 0x10
Function at 0x4065b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov esi, eax
test edi, edi
je 0x40676a
test esi, esi
je 0x40676a
cmp dword [ebp + 0xc], 0
je 0x40676a
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00406520
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jl 0x40676a
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx*4]
mov eax, 0x6bca1af3
imul edx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], ecx
mov eax, 0x13
mov dword [ebp - 8], 0
js 0x4066e6
cmp dword [ebp - 8], ebx
jne 0x40664a
mov edx, ebx
imul edx, edx, 0x4c
lea eax, [ecx*4]
sub eax, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jle 0x4066b8
mov dword [ebp - 0xc], eax
movzx ecx, byte [edi]
movzx edx, byte [edi + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [edi + 2]
shl ecx, 8
or ecx, edx
shl ecx, 8
mov edx, ecx
shr edx, 0x1a
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [esi], dl
shl ecx, 6
mov edx, ecx
shr edx, 0x1a
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
shl ecx, 6
mov byte [esi + 1], dl
mov edx, ecx
shr edx, 0x1a
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
shr ecx, 0x14
and ecx, 0x3f
mov byte [esi + 2], dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [esi + 3], cl
add edi, 3
add esi, 4
dec dword [ebp - 0xc]
jne 0x406651
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
lea edx, [edx + eax*4 + 2]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
inc edx
mov word [esi], 0xa0d
add esi, 2
mov dword [ebp - 8], edx
cmp edx, ebx
jle 0x40662e
cmp dword [ebp - 4], 0
je 0x4066e6
sub esi, 2
sub dword [ebp - 4], 2
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 8]
sub ecx, eax
je 0x406756
lea edx, [ecx + 1]
test edx, edx
je 0x406756
xor eax, eax
test ecx, ecx
jle 0x406701
movzx eax, byte [edi]
inc edi
shl eax, 8
cmp ecx, 1
jle 0x40670f
movzx ebx, byte [edi]
or eax, ebx
inc edi
shl eax, 8
cmp ecx, 2
jle 0x40671c
movzx ecx, byte [edi]
or eax, ecx
shl eax, 8
test edx, edx
jle 0x406739
mov ecx, edx
mov edi, eax
shr edi, 0x1a
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [esi], bl
inc esi
shl eax, 6
dec ecx
jne 0x406725
add dword [ebp - 4], edx
mov edi, 4
sub edi, edx
test edi, edi
jle 0x406753
push edi
push 0x3d
push esi
call fcn.004212f0
add esp, 0xc
add dword [ebp - 4], edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407ad0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bbb8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x44a1b0]
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]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
cmp dword [eax + 0x10], ebx
jne 0x407b15
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x407b1d
cmp dword [eax + 0x14], 8
jb 0x407b1d
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x407bbc
xor edi, edi
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x30], ebx
jle 0x407bb5
lea ecx, [ecx]
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x407ba6
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x407b60
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.00406270
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x1c], ebx
je 0x407b8d
mov edi, dword [ebp - 0x38]
mov ecx, esi
call fcn.00408cb0
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x407ba6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041e13f
add esp, 4
mov eax, dword [ebp - 0x34]
inc edi
mov dword [ebp - 0x3c], edi
cmp edi, dword [ebp - 0x30]
jl 0x407b40
mov esi, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esi]
cmp ecx, dword [esi + 4]
setne al
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.0041e14a
mov esp, ebp
pop ebp
ret

Function at 0x40d8b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
test eax, eax
je 0x40d8c2
cmp dword [ebp + 8], 0
mov byte [ebp - 1], 1
ja 0x40d8c6
mov byte [ebp - 1], 0
push edi
xor edi, edi
cmp dword [ebp + 8], edi
jbe 0x40d93e
push ebx
push esi
cmp byte [ebp - 1], 0
je 0x40d93c
mov edx, dword [ecx + 0x11c]
inc edx
and edx, 0xff
mov dword [ecx + 0x11c], edx
movzx esi, byte [ecx + edx + 0x1c]
add esi, dword [ecx + 0x120]
inc edi
and esi, 0xff
mov dword [ecx + 0x120], esi
movzx edx, byte [ecx + edx + 0x1c]
mov bl, byte [esi + ecx + 0x1c]
mov byte [esi + ecx + 0x1c], dl
mov edx, dword [ecx + 0x11c]
mov byte [ecx + edx + 0x1c], bl
mov edx, dword [ecx + 0x120]
movzx edx, byte [edx + ecx + 0x1c]
movzx esi, bl
add edx, esi
and edx, 0xff
movzx edx, byte [edx + ecx + 0x1c]
xor byte [edi + eax - 1], dl
cmp edi, dword [ebp + 8]
jb 0x40d8d0
pop esi
pop ebx
xor eax, eax
mov dword [ecx + 0x120], eax
mov dword [ecx + 0x11c], eax
mov al, byte [ebp - 1]
pop edi
mov esp, ebp
pop ebp
ret 4