joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492c2c
Capabilities:
Create process on windows
Create process suspended
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x6b
push 0
push 0
dec ecx
jne 0x492c34
xor eax, eax
push ebp
push 0x492f05
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x324]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x328]
lea edx, [ebp - 0x324]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov edx, dword [ebp - 0x328]
lea eax, [ebp - 4]
mov ecx, 0x492f18
call fcn.00404b3c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402ea8
lea eax, [ebp - 0x1d0]
call fcn.00402c44
call fcn.00402934
mov edx, 0x492f30
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
push 0x492f40
lea edx, [ebp - 0x334]
xor eax, eax
call fcn.00402b28
mov eax, dword [ebp - 0x334]
lea edx, [ebp - 0x330]
call fcn.00492ba0
push dword [ebp - 0x330]
push 0x492f50
lea eax, [ebp - 0x32c]
mov edx, 3
call fcn.00404bb0
mov edx, dword [ebp - 0x32c]
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
push 0x492f5c
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00402b28
mov eax, dword [ebp - 0x340]
lea edx, [ebp - 0x33c]
call fcn.00492ba0
push dword [ebp - 0x33c]
push 0x492f50
push 0x492f70
lea eax, [ebp - 0x338]
mov edx, 4
call fcn.00404bb0
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
push 0x492f84
lea edx, [ebp - 0x350]
xor eax, eax
call fcn.00402b28
mov eax, dword [ebp - 0x350]
lea edx, [ebp - 0x34c]
call fcn.004093ac
mov eax, dword [ebp - 0x34c]
lea edx, [ebp - 0x348]
call fcn.00492ba0
push dword [ebp - 0x348]
push 0x492f9c
lea edx, [ebp - 0x358]
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045e98c
mov eax, dword [ebp - 0x358]
lea edx, [ebp - 0x354]
call fcn.00492ba0
push dword [ebp - 0x354]
push 0x492f50
lea eax, [ebp - 0x344]
mov edx, 5
call fcn.00404bb0
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
mov edx, 0x492fa8
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
mov edx, 0x492fb8
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
mov edx, 0x492fc4
lea eax, [ebp - 0x1d0]
call fcn.00404ed8
call fcn.00403514
call fcn.00402934
lea eax, [ebp - 0x1d0]
call fcn.00402f70
call fcn.00402934
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.004030d8
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x492ed3
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x495cf8]
mov eax, dword [eax]
call fcn.0045e4a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492f0c
lea eax, [ebp - 0x358]
mov edx, 0xd
call fcn.0040485c
lea eax, [ebp - 4]
call fcn.00404838
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 0x4cae90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x88000]
push edi
jmp 0x4caeaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4caeb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4caea0
mov eax, 1
add ebx, ebx
jne 0x4caec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4caed4
jne 0x4caef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4caef3
dec eax
add ebx, ebx
jne 0x4caee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4caeb8
add ebx, ebx
jne 0x4caeef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4caf45
xor ecx, ecx
sub eax, 3
jb 0x4caf0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4caf7a
sar eax, 1
mov ebp, eax
jmp 0x4caf16
add ebx, ebx
jne 0x4caf16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4caee4
inc ecx
add ebx, ebx
jne 0x4caf24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4caee4
add ebx, ebx
jne 0x4caf31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4caf26
jne 0x4caf42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4caf26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4caf64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4caf56
jmp 0x4caea6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4caf64
add edi, ecx
jmp 0x4caea6
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4caf82
cmp byte [edi], 0x13
jne 0x4caf82
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 0x4caf87
lea edi, [esi + 0xc6000]
mov eax, dword [edi]
or eax, eax
je 0x4cafff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe4250]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe43a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cafb4
mov ecx, edi
jns 0x4cafe3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe43a8]
or eax, eax
je 0x4caff9
mov dword [ebx], eax
add ebx, 4
jmp 0x4cafd1
call dword [esi + 0xe43b8]
mov ebp, dword [esi + 0xe43ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4cb033
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x403203
pop dword [ebp - 0xc]
mov eax, 0xeed5a9d6
sub eax, 0xee9577d3
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x85b79fa5
add dword [ebp - 0x1c], 0xc89aa5a6
mov dword [ebp - 0x18], 0x2c88bba6
sub dword [ebp - 0x18], 0xfa556f61
mov dword [ebp - 0x14], 0x13dec9e2
sub dword [ebp - 0x14], 0xc79285b4
mov dword [ebp - 0x10], 0x89e6b262
add dword [ebp - 0x10], 0x76194d9e
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x98f84d8d
add eax, 0x674832ff
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x3a808984
sub dword [ebp - 0x1c], 0xc60e202e
mov dword [ebp - 0x18], 0xb9e5d2c3
sub dword [ebp - 0x18], 0x7879714e
mov dword [ebp - 0x14], 0x58f29582
sub dword [ebp - 0x14], 0xf5832916
mov dword [ebp - 0x10], 0xc8f08934
add dword [ebp - 0x10], 0x370f76cc
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x7b4217cc
sub eax, 0x7b0196f8
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x368dd
push 0
call eax
mov ecx, 0x5f626dc0
sub ecx, 0x5f6225e9
xor ebx, ebx
add ebx, eax
mov esi, 0x565eaff0
sub esi, 0x561d9ff0
add esi, dword [ebp - 0xc]
mov edx, 0x51a0fed4
sub edx, 0xd57d8085
xor dword [ebp - 4], 0xde982c2a
mov edi, dword [esi]
sub dword [ebp - 8], ebx
sub edi, edx
sub dword [ebp - 4], 0x7fe3c5d2
mov dword [ebx], edi
add dword [ebp - 8], 0x37c513eb
add ebx, 0xf5b815be
add ebx, 0xa47ea46
add esi, 0x574c22b9
sub esi, 0x574c22b5
loop 0x403327
add eax, 0x1122f
xor ebx, ebx
add ebx, eax
add eax, 0xdf6402f8
add eax, 0x209bfd0d
mov ecx, 0xafed3dfc
sub ecx, 0xafad3dfc
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x10006b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x10006be0
cmp edi, esi
jb 0x10006c4b
cmp edi, dword [ebp + 0x10]
ja 0x10006c5e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x10006be2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x10006bd0
jmp 0x10006c3f
ja 0x10006be9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x10006ba5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x10006c20
mov ebx, esi
sub ecx, edx
jns 0x10006c37
jmp 0x10006c41
cmp esi, edi
je 0x10006c72
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10006c41
xor al, 1
cmp ebx, edi
jne 0x10006c00
jmp 0x10006c41
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x3b3e3b8
call fcn.100057a0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x3b3e3b8
call fcn.10004ed0
add esp, 4
ud2
mov ecx, 0x3b469e4
mov edx, 0x2b
push 0x3b3e3a8
call fcn.100053c0
add esp, 4
ud2
Function at 0x100214f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x1199], 0
mov edi, edx
mov esi, ecx
je 0x10021541
mov edx, edi
mov ecx, esp
push 3
push 0
call fcn.100217e0
add esp, 8
movq xmm0, qword [esp]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
movd ecx, xmm0
test ecx, ecx
je 0x1002160d
movq qword [esi], xmm0
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
jmp 0x10021640
cmp byte [edi + 0x119a], 0
je 0x10021648
mov dword [esp + 0x14], esi
mov byte [edi + 0x1194], 0xc
xor edi, edi
lea esi, [0x3b3f8a1]
lea edx, [0x3b3f8a2]
mov eax, 0xfffffff9
mov dword [esp + 0x18], 0
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x100215a5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1002169d
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x100215c6
shld dword [esp + 0x18], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x10021580
mov ecx, 0x3b3f69e
mov edx, 9
xor ebx, 0xe
call fcn.100091f0
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x3b3f68c
mov edx, 0x12
cmove edi, esi
call fcn.100091f0
mov ecx, dword [esp + 0x14]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
jmp 0x10021640
movzx ecx, byte [edi + 0x118f]
cmp ecx, 0x10
jae 0x10021689
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], eax
mov dword [esi], 0
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1194], 0xd
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
mov ecx, esp
push 2
push 0
call fcn.100217e0
add esp, 8
movq xmm0, qword [esp]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
movd ecx, xmm0
test ecx, ecx
jne 0x10021532
movzx ecx, byte [edi + 0x118f]
cmp ecx, 0x10
jb 0x10021619
mov edx, 0x10
push 0x3b3f8ac
jmp 0x10021693
mov edx, 0x10
push 0x3b3f8bc
call fcn.10004a00
add esp, 4
ud2
mov ecx, 0x3b451ac
mov edx, 0xe
push 0x3b3ed4c
call fcn.100053c0
add esp, 4
ud2
Function at 0x10025b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x118e], 3
mov edi, edx
mov esi, ecx
jne 0x10025b6a
movzx ecx, byte [edi + 0x1190]
cmp ecx, 0x10
jae 0x10025c62
movzx eax, byte [edi + 0xa8]
mov dword [esi], 0
and al, 1
mov byte [edi + ecx*8], al
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1194], 0xd
jmp 0x10025c5a
lea ecx, [esp + 8]
mov edx, edi
push 0
push 0
call fcn.100217e0
add esp, 8
movq xmm0, qword [esp + 8]
movd eax, xmm0
test eax, eax
je 0x10025ba1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x10025c5a
mov dword [esp], esi
mov byte [edi + 0x1194], 0xc
xor edi, edi
lea esi, [0x3b3f865]
lea edx, [0x3b3f866]
mov eax, 0xfffffff9
mov dword [esp + 4], 0
nop word cs:[eax + eax]
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10025bf5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x10025c76
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x10025c16
shld dword [esp + 4], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x10025bd0
mov ecx, 0x3b3f69e
mov edx, 9
xor ebx, 0x1a
call fcn.100091f0
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x3b3f68c
mov edx, 0x12
cmove edi, esi
call fcn.100091f0
mov ecx, dword [esp]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 0x10
push 0x3b3f890
call fcn.10004a00
add esp, 4
ud2
mov ecx, 0x3b451ac
mov edx, 0xe
push 0x3b3ed4c
call fcn.100053c0
add esp, 4
ud2
Function at 0x10034550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
movzx esi, byte [ebp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or esi, edx
mov edx, dword [ebp + 0xc]
and ecx, 0xfffff000
or esi, ecx
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10030320
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100345a2
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 8], esi
jmp 0x10034679
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
xor edi, edi
lea esi, [0x3b43069]
mov ecx, 0xfffffff9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [0x3b4306a]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, eax
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jb 0x100345f1
or bl, 0x20
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x10034681
add bl, 0xa9
mov eax, ebx
mov edx, edi
movzx ebx, al
lea eax, [esi + 1]
shl edx, 4
or ebx, edx
test ecx, ecx
cmove eax, esi
je 0x10034611
shld dword [ebp - 0x18], edi, 4
inc ecx
test esi, esi
mov edi, ebx
jne 0x100345d0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10034632
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
and eax, 0xfff
movzx eax, byte [ecx + eax]
mov byte [edx + 4], al
mov dword [edx], 0
jmp 0x10034679
mov ecx, 0x3b46869
mov edx, 0x13
xor ebx, 0x2c7
call fcn.100091f0
mov ecx, 0x3b46845
mov edx, 6
mov edi, eax
call fcn.100091f0
mov edx, dword [ebp - 0x10]
test eax, eax
mov ecx, 1
cmove eax, ecx
test edi, edi
cmove edi, ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x3b451ac
mov edx, 0xe
push 0x3b3ed4c
call fcn.100053c0
add esp, 4
ud2
Function at 0x401998
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x4019f6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 8], 0x70b
jne 0x4019f6
cmp dword [eax + 0xc], 0x202
jne 0x4019f6
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.00401ad6
add esp, 0x10
mov eax, 0x47c724
cmp dword [ebp - 0xc], 0
cmovne eax, dword [ebp - 0xc]
xor ecx, ecx
push 5
push ecx
push ecx
push eax
push 0x47c744
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.00423fb2
leave
ret

Function at 0x4087bc
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x47a80f
call fcn.004586d4
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 4], edi
push edi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x88]
push eax
call fcn.0042735d
add esp, 0xc
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x5c], 1
xor eax, eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x1c]
call fcn.00426589
lea eax, [ebp - 0x34]
push eax
call fcn.0043c14a
mov esi, 0x47c724
mov ecx, esi
cmp dword [eax], edi
cmovne ecx, dword [eax]
push edi
push 0x47f670
push ecx
push 0x47f678
lea eax, [ebp - 0x1c]
push eax
call fcn.0042c1c8
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.00423fb2
lea ecx, [ebp - 0x28]
call fcn.00426589
push dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0043fa38
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0042357c
lea ecx, [ebp - 0x34]
call fcn.00423fb2
lea eax, [ebp - 0x28]
push eax
push 0x47f67c
lea ecx, [ebp - 0x1c]
call fcn.004227a2
cmp dword [ebp - 0x1c], edi
cmovne esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
push edi
push edi
push 0x10
push edi
push edi
push edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4088b9
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x44]
call esi
lea ecx, [ebp - 0x28]
call fcn.00423fb2
lea ecx, [ebp - 0x1c]
call fcn.00423fb2
mov al, 1
jmp 0x4088f1
push edi
push edi
push edi
push dword [ebp + 8]
push 0x47c744
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setge bl
lea ecx, [ebp - 0x28]
call fcn.00423fb2
lea ecx, [ebp - 0x1c]
call fcn.00423fb2
mov al, bl
jmp 0x4088f1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ac89
Capabilities:
Terminate process

Disassembly:
mov eax, 0x47a82d
call fcn.004586d4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00408af0
mov eax, dword [0x4a96c4]
test eax, eax
je 0x40acc5
push 6
push eax
call fcn.00452711
push dword [0x4a96c4]
call fcn.00452159
add esp, 0xc
and dword [0x4a96c4], 0
call fcn.00452ae4
call fcn.0040d1be
mov ecx, dword [0x4a96f4]
test ecx, ecx
je 0x40ace9
call fcn.00456614
mov ecx, dword [0x4a96f4]
call fcn.00455c30
call fcn.00410bcd
and dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4203b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
push dword [esi]
call fcn.00424d25
push dword [esi + 4]
mov ebx, eax
call fcn.00424d25
mov esi, dword [ebp - 4]
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
lea edi, [esi + 0x44]
mov dword [ebp - 4], 8
xor ebx, dword [edi]
lea edi, [edi - 8]
mov eax, ebx
mov ecx, ebx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*4 + 0x448]
mov eax, ebx
add edx, dword [esi + ecx*4 + 0x48]
mov ecx, dword [ebp + 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [esi + eax*4 + 0x848]
movzx eax, bl
add edx, dword [esi + eax*4 + 0xc48]
xor edx, dword [edi + 4]
xor ecx, edx
mov eax, ecx
mov dword [ebp + 0xc], ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*4 + 0x448]
add edx, dword [esi + ecx*4 + 0x48]
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [esi + eax*4 + 0x848]
movzx eax, cl
add edx, dword [esi + eax*4 + 0xc48]
xor ebx, edx
sub dword [ebp - 4], 1
jne 0x4203e8
mov eax, dword [edi]
xor eax, ebx
push eax
call fcn.00424d25
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [edi - 4]
xor eax, dword [ebp + 0xc]
push eax
call fcn.00424d25
pop ecx
pop ecx
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8

Function at 0x420511
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push dword [esi]
call fcn.00424d25
push dword [esi + 4]
mov ebx, eax
call fcn.00424d25
pop ecx
pop ecx
mov dword [ebp + 0xc], eax
lea esi, [edi + 0x48]
mov dword [ebp - 4], 8
xor ebx, dword [edi]
lea edi, [edi + 8]
mov eax, ebx
mov ecx, ebx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*4 + 0x400]
mov eax, ebx
add edx, dword [esi + ecx*4]
mov ecx, dword [ebp + 0xc]
shr eax, 8
movzx eax, al
xor edx, dword [esi + eax*4 + 0x800]
movzx eax, bl
add edx, dword [esi + eax*4 + 0xc00]
xor edx, dword [edi - 4]
xor ecx, edx
mov eax, ecx
mov dword [ebp + 0xc], ecx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
mov edx, dword [esi + eax*4 + 0x400]
add edx, dword [esi + ecx*4]
mov ecx, dword [ebp + 0xc]
mov eax, ecx
shr eax, 8
movzx eax, al
xor edx, dword [esi + eax*4 + 0x800]
movzx eax, cl
add edx, dword [esi + eax*4 + 0xc00]
xor ebx, edx
sub dword [ebp - 4], 1
jne 0x42053d
mov eax, dword [edi]
xor eax, ebx
push eax
call fcn.00424d25
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
xor eax, dword [ebp + 0xc]
push eax
call fcn.00424d25
pop ecx
pop ecx
pop edi
mov dword [esi], eax
pop esi
pop ebx
leave
ret 8