joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d9b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x47b800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47c92c], 0
push esi
push edi
jne 0x42db17
push fcn.0042d740
mov dword [0x47c92c], 1
call fcn.0043e2c0
push 0x47c8e8
push 0x47c8d4
call fcn.00432660
movups xmm0, xmmword [0x47c8d4]
mov eax, dword [0x47c8e4]
add esp, 0xc
mov dword [0x47c928], 0
movups xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x74], 2
nop
movups xmm0, xmmword [0x47c420]
mov esi, 0x49c
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x47c430]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x47c440]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x47c450]
movups xmmword [ebp - 0x40], xmm0
xor eax, dword [esi + 0x47c430]
mov ecx, dword [ebp - 0x30]
xor ecx, dword [esi + 0x47c420]
xor edi, dword [esi + 0x47c424]
xor edx, dword [esi + 0x47c428]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x47c42c]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
call fcn.00432660
mov eax, dword [ebp - 0x30]
add esp, 8
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x47c420], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x47c424], edi
mov dword [esi + 0x47c428], edx
mov dword [esi + 0x47c42c], ecx
mov dword [esi + 0x47c430], eax
sub esi, 0x14
jns 0x42da61
sub dword [ebp - 0x74], 1
jne 0x42da30
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00432660
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [0x47c8e4], eax
movups xmmword [0x47c8d4], xmm0
mov dword [0x47c8d0], 0x14
mov dword [0x47c92c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004437dd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42ea10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x47b800]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
test eax, eax
jle 0x42ebdb
push esi
push edi
mov edi, dword [edx + 0x14]
cmp eax, edi
mov byte [ebp - 0x45], cl
cmovle edi, eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0x48], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x47], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x46], al
mov eax, dword [edx]
mov dword [ebp - 0x60], edi
call eax
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov esi, eax
push dword [ebp - 0x58]
push esi
mov ecx, dword [ecx + 8]
call ecx
push 4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 8]
call eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x50]
push esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x4c]
add esp, 0x20
inc ecx
xor eax, eax
mov dword [ebp - 0x4c], ecx
test edi, edi
jle 0x42ebc1
cmp edi, 8
jb 0x42eba0
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x42ead1
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x42eba0
cmp edi, 0x40
jb 0x42eb5c
mov ecx, edi
and ecx, 0x8000003f
jns 0x42eae9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea edi, [ebp - 0x34]
sub esi, ebx
lea ecx, [ebx + 0x20]
sub edi, ebx
mov dword [ebp - 0x5c], edi
mov ebx, edi
nop
movups xmm0, xmmword [ecx - 0x20]
lea edi, [ebp - 0x44]
movups xmm1, xmmword [edi + eax]
mov edi, dword [ebp - 0x60]
lea ecx, [ecx + 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [ebp + eax - 0x34]
add eax, 0x40
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
cmp eax, edx
jl 0x42eb00
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x42eb9c
mov ecx, edi
and ecx, 0x80000007
jns 0x42eb6b
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edx, edi
lea esi, [ebp - 0x44]
sub edx, ecx
lea ecx, [eax + ebx]
sub esi, ebx
nop word [eax + eax]
movq xmm1, qword [ecx + esi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add eax, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp eax, edx
jl 0x42eb80
cmp eax, edi
jge 0x42ebbe
lea esi, [ebp - 0x44]
lea edx, [eax + ebx]
sub esi, ebx
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea edx, [edx + 1]
xor byte [edx - 1], cl
inc eax
cmp eax, edi
jl 0x42ebb0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp + 0x18]
add ebx, edi
mov edx, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x54], ebx
mov dword [ebp + 0x18], eax
test eax, eax
jg 0x42ea45
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004437dd
mov esp, ebp
pop ebp
ret
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 [0x47b800]
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.00444ce0
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.00444ce0
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.004437dd
mov esp, ebp
pop ebp
ret
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 [0x47b800]
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.00444ce0
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.00444ce0
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.004437dd
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 [0x47b800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47c948], 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.004488c3
add esp, 4
push eax
call fcn.00403710
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437dd
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.004488c3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.004488c3
push eax
call fcn.00448c3a
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 0x46e1b4
push 2
call fcn.004488c3
add esp, 4
push eax
call fcn.00403710
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004437dd
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 [0x47b800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47c948], 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.004488c3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.004488c3
push eax
call fcn.00448c3a
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437dd
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.004488c3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.004488c3
push eax
call fcn.00448c3a
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.004437dd
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.004437dd
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 [0x47b800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47c948], 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.004488c3
add esp, 4
push eax
call fcn.00403710
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437dd
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.004488c3
add esp, 4
push eax
call fcn.00403710
push 2
call fcn.004488c3
push eax
call fcn.00448c3a
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.004488c3
add esp, 4
push eax
call fcn.00403710
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004437dd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004437dd
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 [0x47c978]
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 [0x47c978], 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 [0x47c978]
mov dword [edi + 0x44], 0
test eax, eax
jne 0x43afb3
push 0x4191e0
call fcn.004394e0
add esp, 4
mov dword [0x47c978], 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 [0x47c988], 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 [0x47c984], eax
mov dword [0x47c988], 1
jmp 0x43b8c1
xor eax, eax
mov dword [0x47c988], 1
mov dword [0x47c984], eax
jmp 0x43b8c1
mov eax, dword [0x47c984]
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 [0x47c984]
movzx edi, al
test al, al
je 0x43b918
push 0x40
push esi
call fcn.004444f0
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 [0x47c994]
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 [0x47c994], eax
push esi
push eax
call edi
mov ecx, dword [0x47c994]
cmp eax, esi
jge 0x43b997
push 0
push dword [ebp + 8]
push 0x46f020
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 [0x47b800]
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 [0x46f9d0]
mov word [ecx], ax
mov al, byte [0x46f9d2]
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 [0x47d08c], 0
jne 0x43e234
push str.advapi32.dll
call fcn.0043b980
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x47d08c], eax
test eax, eax
je 0x43e1e7
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x47d08c]
jmp 0x43e1e9
xor ecx, ecx
mov dword [0x47d080], ecx
test eax, eax
je 0x43e204
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x47d08c]
jmp 0x43e206
xor ecx, ecx
mov dword [0x47d084], ecx
test eax, eax
je 0x43e228
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x47d08c], 0
mov dword [0x47d088], eax
je 0x43e297
jmp 0x43e239
mov dword [0x47d088], 0
jmp 0x43e297
mov eax, dword [0x47d088]
mov ecx, dword [0x47d080]
test ecx, ecx
je 0x43e297
cmp dword [0x47d084], 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 [0x47d084]
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 [0x47d088]
push esi
call fcn.00441900
add esp, 4
call fcn.0043e480
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004437dd
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 [0x47b800]
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.004437dd
mov esp, ebp
pop ebp
ret
Function at 0x43f910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push str.plink:
push 2
call fcn.004488c3
add esp, 4
push eax
call fcn.00403710
add esp, 8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 2
call fcn.004488c3
add esp, 4
push eax
call fcn.00440060
push 2
call fcn.004488c3
push eax
push 0xa
call fcn.0044e4f7
add esp, 0x18
push 1
call fcn.0044f1e2
int3

Function at 0x43fb50
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 0x43fb6f
pop ebp
jmp fcn.00439b20
pop ebp
ret
Function at 0x440030
Capabilities:
Terminate process

Disassembly:
push esi
push 0x464e88
call fcn.00404600
mov esi, eax
push esi
push 0x46d9c8
push str.plink:__s_n_s_n
call fcn.0043fbe0
push esi
call fcn.00404e40
add esp, 0x14
push 0
call fcn.0044f1e2
int3