joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b9244
Capabilities:
Encrypt data using rc4 prga

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 [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.006c274f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5b9285
mov eax, 0
jmp 0x5b93ee
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x1f
jg 0x5b929a
mov eax, 0
jmp 0x5b93ee
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x40
sete al
movzx eax, al
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5b9301
jmp 0x5b92f7
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memchr
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5b92e4
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
cmp eax, 1
jg 0x5b92ee
mov eax, 0
jmp 0x5b93ee
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x40
je 0x5b92b3
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x1f
jg 0x5b9316
mov eax, 0
jmp 0x5b93ee
mov dword [esp + 4], str.onion_key
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.006c2473
test eax, eax
jne 0x5b93de
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memchr
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5b9362
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
cmp eax, 1
jg 0x5b936c
mov eax, 0
jmp 0x5b93ee
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x5b93de
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x40
je 0x5b9398
mov dword [esp + 4], str.onion_key
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.006c2473
test eax, eax
jne 0x5b939d
mov eax, dword [ebp - 0x1c]
jmp 0x5b93ee
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xa
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_memchr
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x5b93ce
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
cmp eax, 1
jg 0x5b93d5
mov eax, 0
jmp 0x5b93ee
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x20
jg 0x5b9377
mov eax, 0
mov edx, dword [ebp - 0xc]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x5b93fe
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x5ce28f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
call sub.libssl_1_1.dll_TLS_method
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x6f7a00
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jmp 0x5ce2fd
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
movzx eax, ax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.005ce173
test eax, eax
je 0x5ce2f9
mov edx, dword [ebp - 0x18]
lea eax, [edx + 2]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 2]
mov dword [ebp - 0x14], ecx
movzx edx, word [edx]
mov word [eax], dx
jmp 0x5ce2fd
add dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
test ax, ax
jne 0x5ce2bc
mov eax, dword [ebp - 0x14]
mov word [eax], 0
mov dword [0x7cca90], 1
nop
mov eax, dword [ebp - 0xc]
xor eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x5ce32b
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x5d6500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
jmp 0x5d65d5
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [esp + 8], 0x200
lea eax, [ebp - 0x20c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call fcn.005d202c
mov dword [ebp - 0x21c], 0
jmp 0x5d65bf
mov eax, dword [ebp - 0x21c]
movzx ecx, word [ebp + eax*2 - 0x20c]
movzx eax, cx
mov edx, 0
add dword [ebp - 0x218], eax
adc dword [ebp - 0x214], edx
add dword [ebp - 0x218], 1
adc dword [ebp - 0x214], 0
add dword [ebp - 0x21c], 1
cmp dword [ebp - 0x21c], 0xff
jbe 0x5d6588
sub dword [ebp - 0x230], 0x100
cmp dword [ebp - 0x230], 0xff
ja 0x5d653e
mov eax, dword [ebp - 0x230]
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x230]
add eax, eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x20c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call fcn.005d202c
mov dword [ebp - 0x21c], 0
jmp 0x5d666e
mov eax, dword [ebp - 0x21c]
movzx ecx, word [ebp + eax*2 - 0x20c]
movzx eax, cx
mov edx, 0
add dword [ebp - 0x218], eax
adc dword [ebp - 0x214], edx
add dword [ebp - 0x218], 1
adc dword [ebp - 0x214], 0
add dword [ebp - 0x21c], 1
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x230]
jb 0x5d6637
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
lea eax, [ebp - 0x20c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x5d66b6
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x5d7206
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 0x5d726c
mov dword [esp], str.src_lib_crypt_ops_crypto_rand.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.out_len___256
mov dword [esp + 8], 0x7829a0
mov dword [esp + 4], 0x82
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [0x7ccb0c]
test eax, eax
jne 0x5d72e7
mov dword [esp + 0x10], 0xf0000000
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x7ccb10
mov eax, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
call eax
sub esp, 0x14
test eax, eax
jne 0x5d72dd
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.006bf072
mov eax, 0xffffffff
jmp 0x5d7343
mov dword [0x7ccb0c], 1
mov eax, dword [0x7ccb10]
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 0x5d733e
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.006bf072
mov eax, 0xffffffff
jmp 0x5d7343
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x5d7353
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x5d97d1
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 0x5d9895
mov dword [esp], 0x782d20
call fcn.006c14d2
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.006c1140
call fcn.006c14b8
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 0x5d9895
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test al, al
je 0x5d9895
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jae 0x5d9895
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 0x5d98a7
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jb 0x5d984f
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
setb al
movzx eax, al
test eax, eax
jne 0x5d98f0
mov dword [esp], 0x782d20
call fcn.006c14d2
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.006c1140
call fcn.006c14b8
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 0x5d9907
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x690963
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 0x1c], 0
setne al
movzx eax, al
test eax, eax
jne 0x6909c0
mov dword [esp], str.src_lib_process_process_win32.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.process
mov dword [esp + 8], 0x78c95c
mov dword [esp + 4], 0x12b
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.0068f4fe
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc6c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x690a3b
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp], eax
call fcn.006c1578
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.TerminateProcess___failed:__s
mov dword [esp + 0xc], str.process_win32_terminate
mov dword [esp + 4], 0x4000000
mov dword [esp + 8], 0
mov dword [esp], 4
call fcn.006bf072
mov eax, 0
jmp 0x690a6b
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0069198f
mov eax, dword [ebp - 0x14]
add eax, 0x424
mov dword [esp], eax
call fcn.0069198f
mov eax, dword [ebp - 0x14]
add eax, 0x848
mov dword [esp], eax
call fcn.0069198f
mov eax, 1
mov edx, dword [ebp - 0xc]
xor edx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x690a7b
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x697113
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x22
jne 0x697190
mov eax, 1
jmp 0x69719f
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
movsx eax, al
sub eax, 0xa
cmp eax, 0x19
seta dl
test dl, dl
jne 0x697170
mov edx, 1
mov ecx, eax
shl edx, cl
mov eax, edx
and eax, 0x2000009
test eax, eax
setne al
test al, al
je 0x697170
mov eax, 1
jmp 0x69719f
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.00695325
test eax, eax
jne 0x69718c
mov eax, 1
jmp 0x69719f
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test al, al
jne 0x69713a
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6971af
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x69dfe4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x69e061
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
shl edx, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], 0
jne 0x69e039
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x69e056
cmp dword [ebp - 0x10], 0
je 0x69e056
mov eax, dword [ebp - 0x10]
movzx edx, word [eax]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
cmp dx, ax
jbe 0x69e056
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jl 0x69e019
cmp dword [ebp - 0x1c], 0
je 0x69e07a
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
movzx eax, ax
jmp 0x69e07d
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x69e08d
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x6a06b3
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.006a059c
test al, al
je 0x6a0712
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.006bf072
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 0x6a0734
call sub.libssp_0.dll___stack_chk_fail
leave
ret

Function at 0x6a08f1
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 0x6a092a
mov eax, dword [ebp - 0x24]
test eax, eax
jns 0x6a097b
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x16
mov eax, 0xffffffff
jmp 0x6a0989
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 0x6a096f
mov eax, 0xffffffff
jmp 0x6a0989
cmp dword [ebp - 0x10], 0
je 0x6a0985
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
jb 0x6a093e
jmp 0x6a0986
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6a0999
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x6a18b7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x30]
add eax, 1
cmp eax, 0x7fffffee
jbe 0x6a1912
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov dword [eax], 0x16
mov eax, 0
jmp 0x6a1a22
mov eax, dword [ebp - 0x20]
add eax, 0x400
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x30]
jbe 0x6a192e
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006c5283
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
lea edx, [eax - 1]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add eax, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll__read
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jns 0x6a19ab
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, 0
jmp 0x6a1a22
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], 0
jle 0x6a19c3
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x30]
jb 0x6a1912
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
setb al
movzx eax, al
test eax, eax
jne 0x6a1a0c
mov dword [esp], str.src_lib_fs_files.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.pos___string_max
mov dword [esp + 8], str.read_file_to_str_until_eof
mov dword [esp + 4], 0x253
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6a1a32
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x6a440c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x134
mov eax, dword [ebp + 8]
mov dword [ebp - 0x11c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [esp + 4], 0x104
lea eax, [ebp - 0x110]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call eax
sub esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x6a4473
mov eax, dword [ebp - 0x11c]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x114]
add eax, edx
add eax, 2
cmp eax, 0x103
jbe 0x6a447a
mov eax, 0
jmp 0x6a44cf
lea eax, [ebp - 0x110]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
lea eax, [ebp - 0x110]
add eax, edx
mov word [eax], 0x5c
mov eax, dword [ebp - 0x11c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
lea eax, [ebp - 0x110]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call eax
sub esp, 4
mov edi, dword [ebp - 0xc]
xor edi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6a44df
call sub.libssp_0.dll___stack_chk_fail
mov edi, dword [ebp - 4]
leave
ret
Function at 0x6a729e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, edx
mov byte [ebp - 0x20], al
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
cmp byte [ebp - 0x20], 0
je 0x6a7326
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test al, al
jne 0x6a7326
mov eax, 1
jmp 0x6a7335
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x7f
je 0x6a731b
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.006a71e8
test eax, eax
jne 0x6a731b
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.006a7243
test eax, eax
je 0x6a731b
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x27
je 0x6a731b
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
cmp al, 0x22
jne 0x6a7322
mov eax, 1
jmp 0x6a7335
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test al, al
jne 0x6a72d3
mov eax, 0
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6a7345
call sub.libssp_0.dll___stack_chk_fail
leave
ret
Function at 0x6b4624
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, edx
mov word [ebp - 0x30], ax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0x3c00
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.006c50a0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
movzx eax, word [ebp - 0x30]
lea ecx, [ebp - 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], eax
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
sub esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6f
jne 0x6b46f6
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.006c50a0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0xe
mov dword [esp], 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
sub esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x6b4730
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], str.GetAdaptersAddresses_failed__result:__lu_
mov dword [esp + 0xc], str.get_interface_addresses_win32
mov dword [esp + 4], 4
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.006bf072
jmp 0x6b473e
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.006b4552
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6b476d
call sub.libssp_0.dll___stack_chk_fail
leave
ret