joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436710
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 0x436a00
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4ba7e4]
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.0044b150
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x436a57
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x436a54
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x436a40
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.00436890
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.00436610
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.0044b150
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x436a98
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x436a98
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x436a84
lea esi, [ebx + 0x60]
push esi
call fcn.00436890
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00436610
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0043fb70
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x43d660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bb908], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x43d6a9
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.00467b05
add esp, 4
push eax
call fcn.00404780
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
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.00467b05
add esp, 4
push eax
call fcn.00404780
push 2
call fcn.00467b05
push eax
call fcn.004681a4
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 0x43d745
cmp al, 0x59
je 0x43d745
push 0x4a93d4
push 2
call fcn.00467b05
add esp, 4
push eax
call fcn.00404780
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x43d760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bb908], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
je 0x43d7b9
push eax
push 0x104
push str.The_session_log_file___.s__already_exists._nLogging_will_not_be_enabled._n
push 2
call fcn.00467b05
add esp, 4
push eax
call fcn.00404780
push 2
call fcn.00467b05
push eax
call fcn.004681a4
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
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.00467b05
add esp, 4
push eax
call fcn.00404780
push 2
call fcn.00467b05
push eax
call fcn.004681a4
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 0x43d850
cmp al, 0x59
je 0x43d850
cmp al, 0x6e
je 0x43d83d
cmp al, 0x4e
jne 0x43d7a9
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x43d870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4bb908], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
je 0x43d8b9
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.00467b05
add esp, 4
push eax
call fcn.00404780
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
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.00467b05
add esp, 4
push eax
call fcn.00404780
push 2
call fcn.00467b05
push eax
call fcn.004681a4
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 0x43d955
cmp al, 0x59
je 0x43d955
push str.Connection_abandoned._n
push 2
call fcn.00467b05
add esp, 4
push eax
call fcn.00404780
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x43f990
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4bb948], 0
push esi
push edi
jne 0x43f9ec
push str.secur32.dll
call fcn.0043fad0
push str.sspicli.dll
mov esi, eax
call fcn.0043fad0
add esp, 8
test esi, esi
je 0x43f9d9
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4bb944], eax
mov dword [0x4bb948], 1
jmp 0x43f9f1
xor eax, eax
mov dword [0x4bb948], 1
mov dword [0x4bb944], eax
jmp 0x43f9f1
mov eax, dword [0x4bb944]
test eax, eax
je 0x43fa4a
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.004060a0
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
push 8
call dword [0x4bb944]
movzx esi, al
test al, al
je 0x43fa3d
push 0x40
push edi
call fcn.0044a3e0
add esp, 8
test eax, eax
je 0x43fa46
mov byte [eax], 0
jmp 0x43fa46
push edi
call fcn.00406080
add esp, 4
test esi, esi
jne 0x43fa92
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 4]
push eax
push 0
mov dword [ebp - 4], 0
call esi
mov ecx, dword [ebp - 4]
test eax, eax
mov edx, 0x100
cmove ecx, edx
push 1
push ecx
mov dword [ebp - 4], ecx
call fcn.004060a0
add esp, 8
mov edi, eax
lea eax, [ebp - 4]
push eax
push edi
call esi
mov esi, eax
test esi, esi
jne 0x43fa92
push edi
call fcn.00406080
add esp, 4
xor eax, eax
test esi, esi
cmovne eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43fad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4bb954]
push esi
push edi
test ecx, ecx
jne 0x43fb16
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.00406150
add esp, 0xc
mov dword [0x4bb954], eax
push esi
push eax
call edi
mov ecx, dword [0x4bb954]
cmp eax, esi
jge 0x43fae7
push 0
push dword [ebp + 8]
push 0x4aa240
push ecx
call fcn.00405930
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.00406080
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x442360
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4ba7e4]
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 0x442391
mov ax, word [0x4aabf0]
mov word [ecx], ax
mov al, byte [0x4aabf2]
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 0x4423f7
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 0x4423d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
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 [0x4bc04c], 0
jne 0x442494
push str.advapi32.dll
call fcn.0043fad0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x4bc04c], eax
test eax, eax
je 0x442447
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x4bc04c]
jmp 0x442449
xor ecx, ecx
mov dword [0x4bc040], ecx
test eax, eax
je 0x442464
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x4bc04c]
jmp 0x442466
xor ecx, ecx
mov dword [0x4bc044], ecx
test eax, eax
je 0x442488
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x4bc04c], 0
mov dword [0x4bc048], eax
je 0x4424f7
jmp 0x442499
mov dword [0x4bc048], 0
jmp 0x4424f7
mov eax, dword [0x4bc048]
mov ecx, dword [0x4bc040]
test ecx, ecx
je 0x4424f7
cmp dword [0x4bc044], 0
je 0x4424f7
test eax, eax
je 0x4424f7
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x4424f7
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x4bc044]
test eax, eax
je 0x4424e9
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x4bc048]
push esi
call fcn.00446140
add esp, 4
call fcn.004426e0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x442580
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4ba7e4]
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.00431800
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.00431800
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.00431800
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.00431800
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.00431800
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.00431800
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.00431800
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.00431800
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x442a40
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [ebp + 8]
push edi
nop
cmp dword [ebp + 0xc], 0
je 0x442a5f
mov dword [ebp + 0xc], 0
jmp 0x442a92
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x442a92
call ebx
mov ebx, eax
cmp ebx, 0x3e5
je 0x442b07
test ebx, ebx
je 0x442a8c
cmp ebx, 0x217
jne 0x442ac7
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x10]
push edi
push 0x442a20
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
test eax, eax
je 0x442ab4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push esi
call fcn.004429b0
add esp, 8
test eax, eax
jne 0x442a50
call ebx
mov ebx, eax
push ebx
call fcn.0043fb90
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.004059f0
mov ecx, dword [esi + 0x2c]
add esp, 0xc
mov edi, eax
mov esi, dword [ecx]
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0
push dword [ebx + 0xc]
call fcn.00440f80
add esp, 4
push eax
mov eax, dword [esi]
push 1
push dword [ebx + 0x2c]
call eax
push edi
call fcn.00406080
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x442e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push str.plink:
push 2
call fcn.00467b05
add esp, 4
push eax
call fcn.00404780
add esp, 8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 2
call fcn.00467b05
add esp, 4
push eax
call fcn.004444c0
push 2
call fcn.00467b05
push eax
push 0xa
call fcn.00477042
add esp, 0x18
push 1
call fcn.00477f9a
int3

Function at 0x4430a0
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.004013b0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4430bf
pop ebp
jmp fcn.0043d9b0
pop ebp
ret
Function at 0x444490
Capabilities:
Terminate process

Disassembly:
push esi
push 0x49fef0
call fcn.00405720
mov esi, eax
push esi
push str.Release_0.70
push str.plink:__s_n_s_n
call fcn.00444030
push esi
call fcn.00406080
add esp, 0x14
push 0
call fcn.00477f9a
int3
Function at 0x444990
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4bc06c], 0
jne 0x444abd
push esi
push str.advapi32.dll
mov dword [0x4bc06c], 1
call fcn.0043fad0
add esp, 4
mov dword [0x4bc074], eax
test eax, eax
je 0x444ab4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x4bd40c], eax
test eax, eax
je 0x444ab4
mov eax, dword [0x4bc074]
test eax, eax
je 0x4449f7
push str.SetSecurityInfo
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bc074]
jmp 0x4449f9
xor ecx, ecx
mov dword [0x4bd408], ecx
test ecx, ecx
je 0x444ab4
test eax, eax
je 0x444a1c
push str.OpenProcessToken
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bc074]
jmp 0x444a1e
xor ecx, ecx
mov dword [0x4bd41c], ecx
test ecx, ecx
je 0x444ab4
test eax, eax
je 0x444a41
push str.GetTokenInformation
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bc074]
jmp 0x444a43
xor ecx, ecx
mov dword [0x4bd418], ecx
test ecx, ecx
je 0x444ab4
test eax, eax
je 0x444a62
push 0x4ad680
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bc074]
jmp 0x444a64
xor ecx, ecx
mov dword [0x4bd414], ecx
test ecx, ecx
je 0x444ab4
test eax, eax
je 0x444a83
push 0x4ad6a0
push eax
call esi
mov ecx, eax
mov eax, dword [0x4bc074]
jmp 0x444a85
xor ecx, ecx
mov dword [0x4bd410], ecx
test ecx, ecx
je 0x444ab4
test eax, eax
je 0x444a9d
push str.SetEntriesInAclA
push eax
call esi
jmp 0x444a9f
xor eax, eax
mov dword [0x4bd404], eax
test eax, eax
je 0x444ab4
mov eax, 1
mov dword [0x4bc070], eax
pop esi
ret
xor eax, eax
mov dword [0x4bc070], eax
pop esi
ret
mov eax, dword [0x4bc070]
ret
Function at 0x445d70
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
lea edi, [eax + eax*2]
push 1
push edi
call fcn.004060a0
mov esi, dword [ebp + 8]
add esp, 8
mov ebx, eax
mov edx, dword [esi + 4]
push edi
push ebx
push edx
push dword [esi]
lea ecx, [edx + 1]
mov dword [esi + 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x445dc1
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.00446880
push ebx
call fcn.00406080
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
call fcn.00406080
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x445f20
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dl, byte [edi]
test dl, dl
je 0x445fa5
push esi
mov esi, dword [ebp + 0xc]
mov al, dl
cmp al, 0x20
je 0x445f69
cmp al, 0x5c
je 0x445f69
cmp al, 0x2a
je 0x445f69
cmp al, 0x3f
je 0x445f69
cmp al, 0x25
je 0x445f69
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x445f69
cmp al, 0x2e
jne 0x445f5a
test ebx, ebx
je 0x445f69
cmp al, 0x2e
movzx edx, dl
movzx ecx, al
cmovne edx, ecx
mov byte [esi], dl
jmp 0x445f8e
mov byte [esi], 0x25
movzx eax, byte [edi]
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [esi + 1], al
add esi, 2
movzx eax, byte [edi]
and eax, 0xf
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [esi], al
mov dl, byte [edi + 1]
inc edi
inc esi
mov ebx, 1
mov al, dl
test dl, dl
jne 0x445f36
mov byte [esi], dl
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov byte [eax], bl
pop ebx
pop ebp
ret

Function at 0x446140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
call fcn.00445890
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x4461cb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
je 0x4461c3
nop dword [eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x4461c3
push eax
lea eax, [ebp - 0x404]
push eax
call ebx
add esp, 8
lea eax, [ebp - 0x408]
push 0
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call edi
test eax, eax
jne 0x446190
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00449391
mov esp, ebp
pop ebp
ret
Function at 0x446350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4463cd
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4463cd
cmp dword [ebp + 8], 1
jne 0x4463cd
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.004060a0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4463bc
cmp dword [ebp + 8], 1
jne 0x4463bc
mov eax, dword [ebp - 4]
mov byte [esi + eax], 0
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00406080
add esp, 4
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4463e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4ba7e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push 0x105
push eax
push 0
push esi
call edi
test eax, eax
jne 0x446473
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop word [eax + eax]
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44644f
push dword [ebp - 0x110]
call fcn.004463e0
add esp, 4
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push esi
call edi
test eax, eax
je 0x446420
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00449391
mov esp, ebp
pop ebp
ret

Function at 0x4464b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4464c0
sub ecx, edx
mov edx, dword [ebp + 0x10]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x4464d0
sub edx, esi
lea eax, [ecx + 5]
add eax, edx
push 1
lea eax, [eax + eax*2]
push eax
call fcn.004060a0
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push edi
push esi
call fcn.00445ea0
add esp, 0x18
lea eax, [ebp - 4]
push eax
push str.SoftwareSimonTathamPuTTYSshHostKeys
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x446545
mov edx, dword [ebp + 0x14]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x446520
sub ecx, edi
lea eax, [ecx + 1]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00406080
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4467e0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x44682c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44681f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x44681f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043fb90
push eax
push dword [ebp + 8]
push str.Unable_to_delete__s:__s
call fcn.00443fd0
add esp, 0x10
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
xor eax, eax
pop ebp
ret
xor eax, eax
mov edx, 0x80
push 0
cmp ecx, 2
cmove eax, edx
push eax
xor eax, eax
cmp ecx, 2
setne al
xor edx, edx
add eax, 2
cmp ecx, 2
push eax
push 0
mov eax, 3
cmove eax, edx
mov edx, 0x40000000
push eax
mov eax, 0x80000000
cmove eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 0x10]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
setne al
mov dword [ecx], edx
pop ebp
ret