joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100085cd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x1001011c]
mov edx, dword [0x10010948]
push ebx
push esi
mov esi, dword [0x1001094c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10010914]
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
mov eax, dword [0x10010938]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
call fcn.100082ad
mov ebx, dword [sym.imp.VCRUNTIME140.dll___RTtypeid]
mov eax, 0x33ee0
mov dword [edi], vtable.CSampStealerR3.0
push edi
mov dword [esi], 0x69190
mov dword [esi + 4], 0x69291
mov dword [esi + 8], 0x69298
mov dword [esi + 0xc], 0x26e8cc
mov dword [esi + 0x10], 0x141a78
mov dword [esi + 0x14], 0x26e898
mov dword [esi + 0x18], 0x6ff17
mov dword [esi + 0x1c], 0xf7b0
mov dword [esi + 0x20], InitializeCriticalSectionAndSpinCount
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x33ee6
mov dword [esi + 0x30], 0x8ba0
mov dword [esi + 0x34], 0x53b90
mov dword [esi + 0x38], 0x121914
mov dword [esi + 0x58], edx
mov dword [esi + 0x3c], 0x33bd3
mov dword [esi + 0x40], 0x33bd8
call ebx
pop ecx
mov ecx, eax
call fcn.10007ecb
xor edx, edx
movzx ecx, byte [eax + edx]
mov edi, str.class_CSampStealerR3
cmp cl, byte [edi + edx]
mov edi, dword [ebp - 4]
jne 0x1000876d
inc edx
cmp edx, 0x15
jne 0x10008698
mov edi, dword [ebp - 8]
xor eax, eax
cmp dword [esi + 0x44], eax
je 0x100086cc
cmp dword [esi + 0x48], eax
je 0x100086cc
cmp dword [esi + 0x4c], eax
je 0x100086cc
cmp dword [esi + 0x54], eax
jne 0x100086fd
mov eax, dword [edi + 0x26e8dc]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x26e898]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x26e8cc]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x121914]
push 0xfa
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100086b6
mov edi, dword [ebp - 4]
mov ecx, dword [0x10010910]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
test ecx, ecx
je 0x10008725
cmp dword [0x10010120], 0xe3296d
jne 0x1000873f
mov eax, dword [esi + 0x44]
lea ecx, [eax + 0x131]
mov eax, dword [eax + 0x235]
mov dword [0x10010910], ecx
mov dword [0x10010120], eax
push ecx
call fcn.10009817
push 0
push 0x40
push 0x3e2
mov byte [ebx + 0x128], al
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov word [edi + 0x20], ax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
push 0x10
push edi
call ebx
pop ecx
mov ecx, eax
call fcn.10007ecb
push eax
push str.RTTI_error_occurred_while_initializing_CSampStealerR3_object
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
Function at 0x10008f50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x1001011c]
mov edx, dword [0x10010948]
push ebx
push esi
mov esi, dword [0x1001094c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10010914]
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
mov eax, dword [0x10010938]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
call fcn.100082ad
mov ebx, dword [sym.imp.VCRUNTIME140.dll___RTtypeid]
mov eax, 0x34620
mov dword [edi], vtable.CSampStealerR4_2.0
and dword [esi + 0x3c], 0
and dword [esi + 0x40], 0
push edi
mov dword [esi], 0x69900
mov dword [esi + 4], 0x69a01
mov dword [esi + 8], 0x69a08
mov dword [esi + 0xc], 0x26e9fc
mov dword [esi + 0x10], 0x141ba0
mov dword [esi + 0x14], 0x26e9c8
mov dword [esi + 0x18], 0x70667
mov dword [esi + 0x1c], 0xfaf0
mov dword [esi + 0x20], 0xfaf6
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x34626
mov dword [esi + 0x30], 0x8f10
mov dword [esi + 0x34], 0x542d0
mov dword [esi + 0x38], 0x121a3c
mov dword [esi + 0x58], edx
call ebx
pop ecx
mov ecx, eax
call fcn.10007ecb
xor edx, edx
movzx ecx, byte [eax + edx]
mov edi, str.class_CSampStealerR4_2
cmp cl, byte [edi + edx]
mov edi, dword [ebp - 4]
jne 0x100090bf
inc edx
cmp edx, 0x17
jne 0x10009015
mov edi, dword [ebp - 8]
xor eax, eax
cmp dword [esi + 0x44], eax
je 0x10009049
cmp dword [esi + 0x48], eax
je 0x10009049
cmp dword [esi + 0x4c], eax
je 0x10009049
cmp dword [esi + 0x54], eax
jne 0x1000907a
mov eax, dword [edi + 0x26ea0c]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x26e9c8]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x26e9fc]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x121a3c]
push 0xfa
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10009033
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push dword [0x10010910]
mov ebx, dword [ebp - 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
call fcn.10009817
push 0
push 0x40
push 0x3e2
mov byte [ebx + 0x128], al
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
push 0x10
push edi
call ebx
pop ecx
mov ecx, eax
call fcn.10007ecb
push eax
push str.RTTI_error_occurred_while_initializing_CSampStealerR4_2_object
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
Function at 0x1000929d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x1001011c]
mov edx, dword [0x10010948]
push ebx
push esi
mov esi, dword [0x1001094c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10010914]
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
mov eax, dword [0x10010938]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
call fcn.100082ad
mov ebx, dword [sym.imp.VCRUNTIME140.dll___RTtypeid]
mov eax, 0x34620
mov dword [edi], vtable.CSampStealerR5.0
and dword [esi + 0x3c], 0
and dword [esi + 0x40], 0
push edi
mov dword [esi], 0x69900
mov dword [esi + 4], 0x69a01
mov dword [esi + 8], 0x69a08
mov dword [esi + 0xc], 0x26eb84
mov dword [esi + 0x10], 0x141d28
mov dword [esi + 0x14], 0x26eb50
mov dword [esi + 0x18], 0x70604
mov dword [esi + 0x1c], 0xfaf0
mov dword [esi + 0x20], 0xfaf6
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x34626
mov dword [esi + 0x30], 0x8f10
mov dword [esi + 0x34], 0x542d0
mov dword [esi + 0x38], 0x121a3c
mov dword [esi + 0x58], edx
call ebx
pop ecx
mov ecx, eax
call fcn.10007ecb
xor edx, edx
movzx ecx, byte [eax + edx]
mov edi, str.class_CSampStealerR5
cmp cl, byte [edi + edx]
mov edi, dword [ebp - 4]
jne 0x1000940c
inc edx
cmp edx, 0x15
jne 0x10009362
mov edi, dword [ebp - 8]
xor eax, eax
cmp dword [esi + 0x44], eax
je 0x10009396
cmp dword [esi + 0x48], eax
je 0x10009396
cmp dword [esi + 0x4c], eax
je 0x10009396
cmp dword [esi + 0x54], eax
jne 0x100093c7
mov eax, dword [edi + 0x26eb94]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x26eb50]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x26eb84]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x121a3c]
push 0xfa
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10009380
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push dword [0x10010910]
mov ebx, dword [ebp - 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
call fcn.10009817
push 0
push 0x40
push 0x3e2
mov byte [ebx + 0x128], al
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
push 0x10
push edi
call ebx
pop ecx
mov ecx, eax
call fcn.10007ecb
push eax
push str.RTTI_error_occurred_while_initializing_CSampStealerR5_object
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
Function at 0x100095c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push esi
mov esi, dword [0x1001091c]
mov eax, dword [eax + 0xc]
add eax, 0xc
mov edx, dword [eax]
jmp 0x100095ec
test edx, edx
je 0x10009621
mov ecx, dword [edx]
cmp dword [edx + 0x18], esi
je 0x100095f2
mov edx, ecx
cmp edx, eax
jne 0x100095df
jmp 0x10009621
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0x10]
mov dword [ecx], eax
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
mov dword [ecx], eax
pop esi
leave
ret

Function at 0x10009ac8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea edi, [ecx + 0xd]
xor ebx, ebx
mov edx, edi
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10009ad9
sub edx, esi
je 0x10009b26
push 0xfffffffffffffff3
pop eax
sub eax, ecx
mov esi, edi
mov dword [ebp - 4], eax
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
pop ecx
test eax, eax
jne 0x10009b0e
mov al, byte [esi]
cmp al, 0x5f
je 0x10009b0e
cmp al, 0xc0
jl 0x10009b0b
cmp al, 0xff
jle 0x10009b0e
xor ebx, ebx
inc ebx
mov ecx, edi
inc esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009b14
mov eax, dword [ebp - 4]
sub ecx, edx
add eax, esi
cmp eax, ecx
jb 0x10009aee
mov ecx, dword [0x10010904]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp byte [eax + 0xd], 0
jne 0x10009b3a
xor ebx, ebx
inc ebx
test ebx, ebx
je 0x10009b8f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, dword [sym.imp.VCRUNTIME140.dll_strstr]
mov esi, eax
push 0x1000df20
push esi
call ebx
pop ecx
pop ecx
test eax, eax
je 0x10009b8f
push 0x1000df20
push esi
call ebx
pop ecx
pop ecx
push 0x20
lea esi, [eax + 3]
pop edx
mov ecx, esi
call fcn.10001282
test eax, eax
je 0x10009b8f
push 0x19
push esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov ecx, edi
push 0x20
pop edx
call fcn.10001282
mov byte [eax], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009b94
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.VCRUNTIME140.dll_strstr]
mov ebx, 0x1000df24
mov esi, eax
push ebx
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x10009bf5
push ebx
push esi
call edi
pop ecx
pop ecx
push 0x20
lea ebx, [eax + 3]
pop edx
mov ecx, ebx
call fcn.10001282
test eax, eax
je 0x10009bf5
push 0x20
call fcn.1000b1f7
push 0x20
push ebx
push eax
mov dword [0x10010910], eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov ecx, dword [0x10010910]
add esp, 0x10
push 0x20
pop edx
call fcn.10001282
mov byte [eax], 0
mov ebx, 0x1000df28
push ebx
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x10009c1a
push ebx
push esi
call edi
add eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 0xc
mov dword [0x10010120], eax
pop edi
pop esi
pop ebx
ret
Function at 0x1000a93d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 1
jne 0x1000a9bf
mov eax, dword [ebp + 8]
mov dword [0x1001091c], eax
push str.ashot_st
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1001090c], eax
cmp dword [0x1001090c], 0
jne 0x1000a9bf
push str.ashot_st
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1001090c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100108fc], eax
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x100108f8], eax
mov byte [0x100108cb], 1
xor eax, eax
mov byte [ebp - 1], al
push 0
push 0
lea ecx, [ebp - 1]
call fcn.1000aa95
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
cmp dword [ebp + 0xc], 5
jne 0x1000a9e8
push dword [0x1001091c]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.1000aaa3
push 0
push 0
push 0x1000a146
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
xor eax, eax
inc eax
leave
ret 0xc
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4015c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [esp], 2
mov eax, dword [fcn.004d8fb0]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xde
mov dword [esp + 4], 1
mov dword [esp], str.Syntax:_ntor_gencert___h__help____v____r__reuse_____create_identity_key__n__________i_identity_key_file____s_signing_key_file____c_certificate_file__n__________m_lifetime_in_months____a_address:port_____passphrase_fd__fd___n
call sub.msvcrt.dll_fwrite
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x401617
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x402e3f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
call fcn.004d33d0
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], 1
mov dword [esp], 1
call fcn.004cabf2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0040312d
test eax, eax
je 0x402ed2
mov dword [esp], 2
mov eax, dword [fcn.004d8fb0]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x24
mov dword [esp + 4], 1
mov dword [esp], str.Couldnt_initialize_crypto_library._n
call sub.msvcrt.dll_fwrite
mov eax, 1
jmp 0x40304c
call fcn.00403ae4
test eax, eax
je 0x402f0b
mov dword [esp], 2
mov eax, dword [fcn.004d8fb0]
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x13
mov dword [esp + 4], 1
mov dword [esp], str.Couldnt_seed_RNG._n
call sub.msvcrt.dll_fwrite
jmp 0x402f72
mov dword [esp], 0x3f
call sub.msvcrt.dll__umask
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004017cd
test eax, eax
jne 0x402f68
call fcn.004020be
test eax, eax
jne 0x402f6b
mov eax, dword [0x4f702c]
test eax, eax
je 0x402f4c
call fcn.00402467
test eax, eax
je 0x402f55
jmp 0x402f72
call fcn.00402584
test eax, eax
jne 0x402f6e
call fcn.00402960
test eax, eax
jne 0x402f71
mov dword [esp + 0x24], 0
jmp 0x402f72
nop
jmp 0x402f72
nop
jmp 0x402f72
nop
jmp 0x402f72
nop
call fcn.00401765
mov eax, dword [0x4f7044]
test eax, eax
je 0x402f8d
mov eax, dword [0x4f7044]
mov dword [esp], eax
call sub.libcrypto_1_1.dll_EVP_PKEY_free
mov eax, dword [0x4f7048]
test eax, eax
je 0x402fa3
mov eax, dword [0x4f7048]
mov dword [esp], eax
call sub.libcrypto_1_1.dll_EVP_PKEY_free
mov dword [esp + 0x28], 0x4f7038
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov dword [esp + 0x2c], 0x4f7020
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
mov dword [esp + 0x30], 0x4f7024
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x30]
mov dword [eax], 0
mov dword [esp + 0x34], 0x4f7028
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x34]
mov dword [eax], 0
mov dword [esp + 0x38], 0x4f7038
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x38]
mov dword [eax], 0
call fcn.004031df
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x40305d
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4034ca
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0x20], 0x100
setbe al
movzx eax, al
test eax, eax
jne 0x403530
mov dword [esp], str.src_lib_crypt_ops_crypto_rand.c
call fcn.004cc7ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.out_len___256
mov dword [esp + 8], 0x4e2a70
mov dword [esp + 4], 0x82
mov dword [esp], eax
call fcn.004cc43c
call fcn.004cc7b4
mov eax, dword [0x4f7058]
test eax, eax
jne 0x4035ab
mov dword [esp + 0x10], 0xf0000000
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x4f705c
mov eax, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
call eax
sub esp, 0x14
test eax, eax
jne 0x4035a1
mov dword [esp + 0x10], str.Unable_to_set_Windows_CryptoAPI_provider__1_.
mov dword [esp + 0xc], str.crypto_strongest_rand_syscall
mov dword [esp + 4], 2
mov dword [esp + 8], 0
mov dword [esp], 5
call fcn.004ca3d6
mov eax, 0xffffffff
jmp 0x403607
mov dword [0x4f7058], 1
mov eax, dword [0x4f705c]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
call eax
sub esp, 0xc
test eax, eax
jne 0x403602
mov dword [esp + 0x10], str.Unable_get_entropy_from_the_Windows_CryptoAPI.
mov dword [esp + 0xc], str.crypto_strongest_rand_syscall
mov dword [esp + 4], 2
mov dword [esp + 8], 0
mov dword [esp], 5
call fcn.004ca3d6
mov eax, 0xffffffff
jmp 0x403607
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x403617
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x405a95
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add eax, edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0x7fffffee
setbe al
movzx eax, al
test eax, eax
jne 0x405b59
mov dword [esp], str.src_lib_crypt_ops_crypto_rsa.c
call fcn.004cc7ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.outlen_____size_t__0x7fffffff_16__
mov dword [esp + 8], str.crypto_add_spaces_to_fp
mov dword [esp + 4], 0x112
mov dword [esp], eax
call fcn.004cc43c
call fcn.004cc7b4
mov edx, dword [ebp - 0x24]
lea eax, [edx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
movzx edx, byte [edx]
mov byte [eax], dl
add dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 4
jne 0x405b59
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test al, al
je 0x405b59
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jae 0x405b59
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov dword [ebp - 0x1c], edx
mov byte [eax], 0x20
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test al, al
je 0x405b6b
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jb 0x405b13
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
setb al
movzx eax, al
test eax, eax
jne 0x405bb4
mov dword [esp], str.src_lib_crypt_ops_crypto_rsa.c
call fcn.004cc7ce
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.out_end
mov dword [esp + 8], str.crypto_add_spaces_to_fp
mov dword [esp + 4], 0x11b
mov dword [esp], eax
call fcn.004cc43c
call fcn.004cc7b4
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x405bcb
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x4bc24f
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call fcn.004bc138
test al, al
je 0x4bc2ae
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.Renaming__s_to__s
mov dword [esp + 0xc], str.tor_rename
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp], 7
call fcn.004ca3d6
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_rename
mov edx, dword [ebp - 0xc]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4bc2d0
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x4bc48d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x24], 0x7fffffef
ja 0x4bc4c6
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x4bc517
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x4bc525
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add edx, ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll__read
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jns 0x4bc50b
mov eax, 0xffffffff
jmp 0x4bc525
cmp dword [ebp - 0x10], 0
je 0x4bc521
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jb 0x4bc4da
jmp 0x4bc522
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x4bc535
call sub.libssp_0.dll___stack_chk_fail
leave
ret