joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fe60
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x4300d0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.004452a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x430127
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x430124
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x430110
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00430040
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0042fd60
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004452a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x430168
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x430168
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x430154
lea esi, [ebx + 0x6c]
push esi
call fcn.00430040
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0042fd60
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0043ba20
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x4323a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xc0
pop ebp
jmp fcn.004328c0
Function at 0x4329c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x432cb0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push esi
push edi
push 0x40
push 0x36
push eax
mov dword [ebp - 0x48], ebx
call fcn.004452a0
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x432d07
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x432d04
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x432cf0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00432b40
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004328c0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.004452a0
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x432d48
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x432d48
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x432d34
lea esi, [ebx + 0x60]
push esi
call fcn.00432b40
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004328c0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0043ba20
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x4397c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x482348], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x439809
push ecx
push eax
push str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nConnection_abandoned._n
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
push edi
push ecx
push eax
push str.The_first__s_supported_by_the_server_is_n_s__which_is_below_the_configured_warning_threshold._nContinue_with_connection___y_n_
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.0044ada3
push eax
call fcn.0044b137
add esp, 0x18
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
or ecx, 7
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, byte [ebp - 0x24]
pop edi
cmp al, 0x79
je 0x4398a5
cmp al, 0x59
je 0x4398a5
push 0x4711c4
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x4398c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x482348], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
je 0x439919
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nLogging_will_not_be_enabled._n
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.0044ada3
push eax
call fcn.0044b137
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
push edi
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nYou_can_overwrite_it_with_a_new_session_log__nappend_your_session_log_to_the_end_of_it__nor_disable_session_logging_for_this_session._nEnter__y__to_wipe_the_file___n__to_append_to_it__nor_just_press_Return_to_disable_logging._nWipe_the_log_file___y_n__Return_cancels_logging_
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.0044ada3
push eax
call fcn.0044b137
add esp, 0x18
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
or ecx, 7
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov cl, byte [ebp - 0x24]
pop edi
cmp cl, 0x79
je 0x4399c1
cmp cl, 0x59
je 0x4399c1
cmp cl, 0x6e
je 0x4399ae
xor eax, eax
cmp cl, 0x4e
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x4399e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x482348], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x439a29
push ecx
push eax
push str.The_first_host_key_type_we_have_stored_for_this_server_nis__s__which_is_below_the_configured_warning_threshold._nThe_server_also_provides_the_following_types_of_host_key_nabove_the_threshold__which_we_do_not_have_stored:_n_s_nConnection_abandoned._n
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
push edi
push ecx
push eax
push str.The_first_host_key_type_we_have_stored_for_this_server_nis__s__which_is_below_the_configured_warning_threshold._nThe_server_also_provides_the_following_types_of_host_key_nabove_the_threshold__which_we_do_not_have_stored:_n_s_nContinue_with_connection___y_n_
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.0044ada3
push eax
call fcn.0044b137
add esp, 0x18
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [ebp - 0x28]
or ecx, 7
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x1f
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov al, byte [ebp - 0x24]
pop edi
cmp al, 0x79
je 0x439ac5
cmp al, 0x59
je 0x439ac5
push str.Connection_abandoned._n
push 2
call fcn.0044ada3
add esp, 4
push eax
call fcn.00403710
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x43aca0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.00404e60
mov ecx, dword [ebp + 8]
add esp, 8
mov edi, eax
lea ebx, [edi + 4]
mov dword [ebx], ecx
push 0
push 0
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1030], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [0x482378]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test eax, eax
jne 0x43ad2c
push 0x4191e0
call fcn.004394e0
add esp, 4
mov dword [0x482378], eax
push edi
push eax
call fcn.004386c0
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x43ad60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x1c], 1
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43af10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.00404e60
mov ecx, dword [ebp + 8]
add esp, 8
mov edi, eax
lea ebx, [edi + 4]
mov dword [ebx], ecx
push 0
push 0
push 0
push 0
mov dword [edi], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x38]
push eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004045b0
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [0x482378]
mov dword [edi + 0x44], 0
test eax, eax
jne 0x43afb3
push 0x4191e0
call fcn.004394e0
add esp, 4
mov dword [0x482378], eax
push edi
push eax
call fcn.004386c0
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x43aff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b860
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x482388], 0
push esi
push edi
jne 0x43b8bc
push str.secur32.dll
call fcn.0043b980
push str.sspicli.dll
mov esi, eax
call fcn.0043b980
add esp, 8
test esi, esi
je 0x43b8a9
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x482384], eax
mov dword [0x482388], 1
jmp 0x43b8c1
xor eax, eax
mov dword [0x482388], 1
mov dword [0x482384], eax
jmp 0x43b8c1
mov eax, dword [0x482384]
test eax, eax
je 0x43b921
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push 0
push 8
call eax
push 1
push dword [ebp - 4]
call fcn.00404e60
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 8
call dword [0x482384]
movzx edi, al
test al, al
je 0x43b918
push 0x40
push esi
call fcn.00444ab0
add esp, 8
test eax, eax
je 0x43b96a
mov byte [eax], 0
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00404e40
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 4], 0
call edi
test eax, eax
jne 0x43b944
mov eax, 0x100
mov dword [ebp - 4], eax
jmp 0x43b947
mov eax, dword [ebp - 4]
push 1
push eax
call fcn.00404e60
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x43b96a
push esi
call fcn.00404e40
add esp, 4
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x482394]
push esi
push edi
test ecx, ecx
jne 0x43b9c6
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor esi, esi
lea eax, [esi + esi*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push 1
add esi, 0x200
push esi
push ecx
call fcn.00404f00
add esp, 0xc
mov dword [0x482394], eax
push esi
push eax
call edi
mov ecx, dword [0x482394]
cmp eax, esi
jge 0x43b997
push 0
push dword [ebp + 8]
push 0x472030
push ecx
call fcn.004047a0
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.00404e40
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x43e100
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push edi
push 0x107
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x12c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x43e131
mov ax, word [0x4729e0]
mov word [ecx], ax
mov al, byte [0x4729e2]
mov byte [ecx + 2], al
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43e197
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop
lea eax, [ebp - 0x26c]
push 0x140
push eax
call esi
add esp, 8
lea eax, [ebp - 0x26c]
push eax
push edi
call ebx
test eax, eax
jne 0x43e170
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x274]
push 4
push eax
call esi
add esp, 8
cmp dword [0x482a8c], 0
jne 0x43e234
push str.advapi32.dll
call fcn.0043b980
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x482a8c], eax
test eax, eax
je 0x43e1e7
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x482a8c]
jmp 0x43e1e9
xor ecx, ecx
mov dword [0x482a80], ecx
test eax, eax
je 0x43e204
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x482a8c]
jmp 0x43e206
xor ecx, ecx
mov dword [0x482a84], ecx
test eax, eax
je 0x43e228
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x482a8c], 0
mov dword [0x482a88], eax
je 0x43e297
jmp 0x43e239
mov dword [0x482a88], 0
jmp 0x43e297
mov eax, dword [0x482a88]
mov ecx, dword [0x482a80]
test ecx, ecx
je 0x43e297
cmp dword [0x482a84], 0
je 0x43e297
test eax, eax
je 0x43e297
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x43e297
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x482a84]
test eax, eax
je 0x43e289
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x482a88]
push esi
call fcn.00441e10
add esp, 4
call fcn.0043e480
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x43e320
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.0042d740
add esp, 8
call dword [sym.imp.USER32.dll_GetCapture]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.0042d740
add esp, 8
call dword [sym.imp.USER32.dll_GetClipboardOwner]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 4
push eax
call fcn.0042d740
add esp, 8
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 4
push eax
call fcn.0042d740
add esp, 8
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.0042d740
add esp, 8
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x44]
push 0x20
push eax
call fcn.0042d740
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0042d740
add esp, 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.0042d740
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
Function at 0x43e7a0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
cmp dword [ebp + 0xc], 0
je 0x43e7bf
mov dword [ebp + 0xc], 0
jmp 0x43e7f0
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x43e7f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x43e86c
test ebx, ebx
je 0x43e7f0
cmp ebx, 0x217
jne 0x43e829
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 0x10]
push ebx
push 0x43e780
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
test eax, eax
je 0x43e812
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
call fcn.0043e710
add esp, 8
test eax, eax
jne 0x43e7b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
call fcn.0043ba40
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.00404860
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x2c]
push edi
push 0
push dword [eax + 0xc]
mov esi, dword [ecx]
call fcn.0043cdc0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push 1
push dword [eax + 0x2c]
mov eax, dword [esi]
call eax
push edi
call fcn.00404e40
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43fe00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
mov ebx, dword [eax + edi + 0x1c]
lea ecx, [ebx + edi]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + edi + 0x20]
mov eax, dword [eax + edi + 0x24]
add ecx, edi
add eax, edi
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x43fe50
mov eax, dword [ecx + esi*4]
add eax, edi
push eax
call fcn.0043fb70
add esp, 4
cmp eax, dword [ebp + 0xc]
je 0x43fe59
mov ecx, dword [ebp + 8]
inc esi
cmp esi, ebx
jb 0x43fe35
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
movzx eax, word [eax + esi*2]
mov eax, dword [ecx + eax*4]
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43fe70
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401300
add esp, 0xc
cmp eax, 0xffffffff
jne 0x43fe8f
pop ebp
jmp fcn.00439b20
pop ebp
ret

Function at 0x43ff30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp + 0x10], ebx
jbe 0x43ff9c
inc esi
and esi, 0x800000ff
jns 0x43ff53
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [ebp + 8]
mov cl, byte [esi + eax]
movzx edx, cl
add edi, edx
mov dword [ebp - 4], edx
and edi, 0x800000ff
jns 0x43ff71
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [edi + eax]
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
mov eax, edx
mov byte [edi + eax], cl
mov ecx, edx
movzx eax, byte [esi + eax]
add eax, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax + ecx]
mov ecx, dword [ebp + 0xc]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x43ff42
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ffb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x481180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push edi
push 0x100
push 0
push eax
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x10c], 0
call fcn.004452a0
mov edi, esi
lea eax, [ebp - 0x104]
mov esi, dword [ebp + 0xc]
add esp, 0xc
xor ebx, ebx
sub edi, eax
nop
mov eax, ebx
lea ecx, [ebp - 0x104]
xor edx, edx
add ecx, ebx
div dword [ebp + 0x10]
mov byte [edi + ecx], bl
inc ebx
mov al, byte [edx + esi]
mov byte [ecx], al
cmp ebx, 0x100
jl 0x440000
mov esi, dword [ebp - 0x108]
lea ebx, [ebp - 0x104]
mov edi, esi
mov dword [ebp - 0x108], 0x100
sub ebx, esi
nop word [eax + eax]
mov dl, byte [edi]
movzx eax, byte [ebx + edi]
add eax, dword [ebp - 0x10c]
movzx ecx, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x440061
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esi + ecx]
mov byte [edi], al
inc edi
sub dword [ebp - 0x108], 1
mov dword [ebp - 0x10c], ecx
mov byte [esi + ecx], dl
jne 0x440040
lea ecx, [esi + 0xff]
xor eax, eax
cmp ecx, 0x482a90
jb 0x4400c8
cmp esi, 0x482b8f
ja 0x4400c8
sub esi, 0x482a90
nop word [eax + eax]
mov cl, byte [esi + eax + 0x482a90]
mov byte [eax + 0x482a90], cl
inc eax
cmp eax, 0x100
jl 0x4400a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443ced
mov esp, ebp
pop ebp
ret
mov ecx, 0x40
mov edi, 0x482a90
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00443ced
mov esp, ebp
pop ebp
ret