joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431f00
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 [0x4bd800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bea4c], 0
push esi
push edi
jne 0x432067
push fcn.00431c90
mov dword [0x4bea4c], 1
call fcn.00443110
push 0x4bea08
push 0x4be9f4
call fcn.00436e50
movups xmm0, xmmword [0x4be9f4]
mov eax, dword [0x4bea04]
add esp, 0xc
mov dword [0x4bea48], 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 [0x4be540]
mov esi, 0x49c
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [0x4be550]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x4be560]
movups xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [0x4be570]
movups xmmword [ebp - 0x40], xmm0
xor eax, dword [esi + 0x4be550]
mov ecx, dword [ebp - 0x30]
xor ecx, dword [esi + 0x4be540]
xor edi, dword [esi + 0x4be544]
xor edx, dword [esi + 0x4be548]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
xor ecx, dword [esi + 0x4be54c]
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.00436e50
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 + 0x4be540], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4be544], edi
mov dword [esi + 0x4be548], edx
mov dword [esi + 0x4be54c], ecx
mov dword [esi + 0x4be550], eax
sub esi, 0x14
jns 0x431fb1
sub dword [ebp - 0x74], 1
jne 0x431f80
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00436e50
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [0x4bea04], eax
movups xmmword [0x4be9f4], xmm0
mov dword [0x4be9f0], 0x14
mov dword [0x4bea4c], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449f7b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x432fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x4bd800]
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 0x43319b
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 0x433181
cmp edi, 8
jb 0x433160
lea edx, [ebx - 1]
lea ecx, [ebp + edi - 0x45]
add edx, edi
cmp ebx, ecx
ja 0x433091
lea ecx, [ebp - 0x44]
cmp edx, ecx
jae 0x433160
cmp edi, 0x40
jb 0x43311c
mov ecx, edi
and ecx, 0x8000003f
jns 0x4330a9
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 0x4330c0
mov ebx, dword [ebp - 0x54]
mov ecx, edi
and cl, 0x3f
cmp cl, 8
jb 0x43315c
mov ecx, edi
and ecx, 0x80000007
jns 0x43312b
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 0x433140
cmp eax, edi
jge 0x43317e
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 0x433170
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 0x433005
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x433d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xd8
pop ebp
jmp fcn.00434400
Function at 0x434500
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 0x4347d0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4bd800]
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.0044bf00
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x434827
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x434824
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x434810
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.004346e0
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00434400
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044bf00
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x434868
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x434868
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x434854
lea esi, [ebx + 0x6c]
push esi
call fcn.004346e0
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00434400
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00440760
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x436b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 8], 0xc0
pop ebp
jmp fcn.004370b0
Function at 0x4371b0
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 0x4374a0
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4bd800]
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.0044bf00
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x4374f7
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x4374f4
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x4374e0
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00437330
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004370b0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044bf00
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x437538
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x437538
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x437524
lea esi, [ebx + 0x60]
push esi
call fcn.00437330
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004370b0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00440760
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x43e200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bd800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bea68], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x43e249
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.0046a9af
add esp, 4
push eax
call fcn.00404800
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
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.0046a9af
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0046a9af
push eax
call fcn.0046b062
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 0x43e2e5
cmp al, 0x59
je 0x43e2e5
push 0x4ae3e4
push 2
call fcn.0046a9af
add esp, 4
push eax
call fcn.00404800
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x43e300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bd800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bea68], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
je 0x43e359
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nLogging_will_not_be_enabled._n
push 2
call fcn.0046a9af
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0046a9af
push eax
call fcn.0046b062
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
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.0046a9af
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0046a9af
push eax
call fcn.0046b062
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 0x43e401
cmp cl, 0x59
je 0x43e401
cmp cl, 0x6e
je 0x43e3ee
xor eax, eax
cmp cl, 0x4e
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x43e420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bd800]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bea68], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x43e469
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.0046a9af
add esp, 4
push eax
call fcn.00404800
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
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.0046a9af
add esp, 4
push eax
call fcn.00404800
push 2
call fcn.0046a9af
push eax
call fcn.0046b062
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 0x43e505
cmp al, 0x59
je 0x43e505
push str.Connection_abandoned._n
push 2
call fcn.0046a9af
add esp, 4
push eax
call fcn.00404800
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x43f770
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.00406130
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 [0x4bea98]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test eax, eax
jne 0x43f7fc
push 0x43f4c0
call fcn.0043de80
add esp, 4
mov dword [0x4bea98], eax
push edi
push eax
call fcn.0043d010
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x43f830
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 0x43f9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.00406130
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.00405760
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 [0x4bea98]
mov dword [edi + 0x44], 0
test eax, eax
jne 0x43fa83
push 0x43f4c0
call fcn.0043de80
add esp, 4
mov dword [0x4bea98], eax
push edi
push eax
call fcn.0043d010
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x43fab0
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 0x440570
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4beaa8], 0
push esi
push edi
jne 0x4405cc
push str.secur32.dll
call fcn.004406c0
push str.sspicli.dll
mov esi, eax
call fcn.004406c0
add esp, 8
test esi, esi
je 0x4405b9
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4beaa4], eax
mov dword [0x4beaa8], 1
jmp 0x4405d1
xor eax, eax
mov dword [0x4beaa8], 1
mov dword [0x4beaa4], eax
jmp 0x4405d1
mov eax, dword [0x4beaa4]
test eax, eax
je 0x440631
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.00406130
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 8
call dword [0x4beaa4]
movzx edi, al
test al, al
je 0x440628
push 0x40
push esi
call fcn.0044b190
add esp, 8
test eax, eax
je 0x44067a
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.00406110
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 0x440654
mov eax, 0x100
mov dword [ebp - 4], eax
jmp 0x440657
mov eax, dword [ebp - 4]
push 1
push eax
call fcn.00406130
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x44067a
push esi
call fcn.00406110
add esp, 4
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4406c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4beab4]
push esi
push edi
test ecx, ecx
jne 0x440706
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.004061d0
add esp, 0xc
mov dword [0x4beab4], eax
push esi
push eax
call edi
mov ecx, dword [0x4beab4]
cmp eax, esi
jge 0x4406d7
push 0
push dword [ebp + 8]
push 0x4af250
push ecx
call fcn.004059c0
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.00406110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x442f50
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4bd800]
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 0x442f81
mov ax, word [0x4afc00]
mov word [ecx], ax
mov al, byte [0x4afc02]
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 0x442fe7
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 0x442fc0
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 [0x4bf1ac], 0
jne 0x443084
push str.advapi32.dll
call fcn.004406c0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x4bf1ac], eax
test eax, eax
je 0x443037
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x4bf1ac]
jmp 0x443039
xor ecx, ecx
mov dword [0x4bf1a0], ecx
test eax, eax
je 0x443054
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x4bf1ac]
jmp 0x443056
xor ecx, ecx
mov dword [0x4bf1a4], ecx
test eax, eax
je 0x443078
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x4bf1ac], 0
mov dword [0x4bf1a8], eax
je 0x4430e7
jmp 0x443089
mov dword [0x4bf1a8], 0
jmp 0x4430e7
mov eax, dword [0x4bf1a8]
mov ecx, dword [0x4bf1a0]
test ecx, ecx
je 0x4430e7
cmp dword [0x4bf1a4], 0
je 0x4430e7
test eax, eax
je 0x4430e7
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x4430e7
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x4bf1a4]
test eax, eax
je 0x4430d9
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x4bf1a8]
push esi
call fcn.00446cb0
add esp, 4
call fcn.004432d0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449f7b
mov esp, ebp
pop ebp
ret
Function at 0x443170
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4bd800]
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.00431c90
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.00431c90
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.00431c90
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.00431c90
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.00431c90
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.00431c90
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.00431c90
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.00431c90
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00449f7b
mov esp, ebp
pop ebp
ret