joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cf90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4b7780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x42cfd9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4b9b08]
js 0x42cfc5
cmp eax, 0x32
jl 0x42d0c1
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4b9b08], eax
jmp 0x42d0a9
cmp eax, 3
jne 0x42d068
push 0x6c
push dword [0x4bbedc]
call fcn.00403090
mov ecx, dword [0x4b9adc]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x42d011
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x42d0a9
push dword [esi]
lea eax, [ebp - 0x58]
push str.Unable_to_play_sound_file_n_s_nUsing_default_sound_instead
push eax
call fcn.00408a10
push dword [0x49a5c4]
lea eax, [ebp - 0xbc]
push str._.70s_Sound_Error
push eax
call fcn.00408a10
add esp, 0x18
lea eax, [ebp - 0xbc]
push 0x30
push eax
lea eax, [ebp - 0x58]
push eax
push dword [0x4bbf18]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4bbedc]
call fcn.00403590
add esp, 0xc
jmp 0x42d0a9
cmp eax, 4
jne 0x42d0a9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4b9b0c]
js 0x42d082
cmp eax, 0x32
jl 0x42d0c1
cmp dword [0x4bbe50], 2
jne 0x42d09a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x42d0a2
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4b9b0c], eax
mov eax, dword [0x4bbf0c]
cmp dword [eax + 0x134], 0
jne 0x42d0c1
push 2
call fcn.0042e110
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00439c24
mov esp, ebp
pop ebp
ret

Function at 0x42f460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4bbf18]
push 0x42cba0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret

Function at 0x42fcf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b7780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push 0x14
push ecx
push 0x1004
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x18]
push eax
call fcn.00447b98
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov dword [0x4b8560], eax
call fcn.00439c24
mov esp, ebp
pop ebp
ret
Function at 0x4306a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
lea eax, [ebx + 1]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x430747
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x430746
push ebx
push dword [ebp + 0xc]
push edi
call fcn.0043af70
add esp, 0xc
mov byte [edi + ebx], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [ebp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test ebx, ebx
jne 0x430705
push 0
push 1
push 0x8002
push dword [0x4bbf18]
call edi
push dword [0x4bbf18]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43072c
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x430733
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
jne 0x430746
push ebx
push ebx
push 0x8002
push dword [0x4bbf18]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x431890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.0040e1f0
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 [0x4b9b10]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test eax, eax
jne 0x43191c
push 0x4315e0
call fcn.004213c0
add esp, 4
mov dword [0x4b9b10], eax
push edi
push eax
call fcn.00420550
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x431950
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 0x431b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.0040e1f0
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.0040d820
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 [0x4b9b10]
mov dword [edi + 0x44], 0
test eax, eax
jne 0x431ba3
push 0x4315e0
call fcn.004213c0
add esp, 4
mov dword [0x4b9b10], eax
push edi
push eax
call fcn.00420550
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x431bd0
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 0x433220
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4ba33c], 0
push esi
push edi
jne 0x43327c
push str.secur32.dll
call fcn.00433370
push str.sspicli.dll
mov esi, eax
call fcn.00433370
add esp, 8
test esi, esi
je 0x433269
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ba338], eax
mov dword [0x4ba33c], 1
jmp 0x433281
xor eax, eax
mov dword [0x4ba33c], 1
mov dword [0x4ba338], eax
jmp 0x433281
mov eax, dword [0x4ba338]
test eax, eax
je 0x4332e1
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.0040e1f0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 8
call dword [0x4ba338]
movzx edi, al
test al, al
je 0x4332d8
push 0x40
push esi
call fcn.0043ae40
add esp, 8
test eax, eax
je 0x43332a
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.0040e1d0
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 0x433304
mov eax, 0x100
mov dword [ebp - 4], eax
jmp 0x433307
mov eax, dword [ebp - 4]
push 1
push eax
call fcn.0040e1f0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x43332a
push esi
call fcn.0040e1d0
add esp, 4
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4ba348]
push esi
push edi
test ecx, ecx
jne 0x4333b6
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.0040e290
add esp, 0xc
mov dword [0x4ba348], eax
push esi
push eax
call edi
mov ecx, dword [0x4ba348]
cmp eax, esi
jge 0x433387
push 0
push dword [ebp + 8]
push 0x4a8330
push ecx
call fcn.0040da80
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040e1d0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x435c00
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4baa50], 0
jne 0x435cff
push edi
push str.winspool.drv
call fcn.00433370
push str.spoolss.dll
mov edi, eax
call fcn.00433370
add esp, 8
test edi, edi
je 0x435ca7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumPrintersA
push edi
call esi
push str.OpenPrinterA
push edi
mov dword [0x4baa30], eax
call esi
push str.ClosePrinter
push edi
mov dword [0x4baa34], eax
call esi
push str.StartDocPrinterA
push edi
mov dword [0x4baa38], eax
call esi
push str.EndDocPrinter
push edi
mov dword [0x4baa3c], eax
call esi
push str.StartPagePrinter
push edi
mov dword [0x4baa40], eax
call esi
push str.EndPagePrinter
push edi
mov dword [0x4baa44], eax
call esi
push str.WritePrinter
push edi
mov dword [0x4baa48], eax
call esi
pop esi
mov dword [0x4baa4c], eax
mov dword [0x4baa50], 1
pop edi
ret
xor eax, eax
mov dword [0x4baa30], 0
mov dword [0x4baa34], 0
mov dword [0x4baa38], 0
mov dword [0x4baa3c], 0
mov dword [0x4baa40], 0
mov dword [0x4baa44], 0
mov dword [0x4baa48], 0
mov dword [0x4baa4c], eax
mov dword [0x4baa50], 1
pop edi
ret
Function at 0x436430
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4baa60], 0
jne 0x4365b7
push esi
push str.advapi32.dll
mov dword [0x4baa60], 1
call fcn.00433370
add esp, 4
mov dword [0x4baa68], eax
test eax, eax
je 0x4365ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x4bbe18], eax
test eax, eax
je 0x4365ae
mov eax, dword [0x4baa68]
test eax, eax
je 0x4365a4
push str.SetSecurityInfo
push eax
call esi
mov dword [0x4bbe14], eax
test eax, eax
je 0x4365ae
mov eax, dword [0x4baa68]
test eax, eax
je 0x436591
push str.OpenProcessToken
push eax
call esi
mov dword [0x4bbe28], eax
test eax, eax
je 0x4365ae
mov eax, dword [0x4baa68]
test eax, eax
je 0x43657e
push str.GetTokenInformation
push eax
call esi
mov dword [0x4bbe24], eax
test eax, eax
je 0x4365ae
mov eax, dword [0x4baa68]
test eax, eax
je 0x43656b
push 0x4a8e50
push eax
call esi
mov dword [0x4bbe20], eax
test eax, eax
je 0x4365ae
mov eax, dword [0x4baa68]
test eax, eax
je 0x436558
push 0x4a8e70
push eax
call esi
mov dword [0x4bbe1c], eax
test eax, eax
je 0x4365ae
mov eax, dword [0x4baa68]
test eax, eax
je 0x436545
push str.SetEntriesInAclA
push eax
call esi
mov dword [0x4bbe10], eax
test eax, eax
je 0x4365ae
mov eax, 1
mov dword [0x4baa64], eax
pop esi
ret
xor eax, eax
mov dword [0x4bbe10], 0
mov dword [0x4baa64], eax
pop esi
ret
xor eax, eax
mov dword [0x4bbe1c], 0
mov dword [0x4baa64], eax
pop esi
ret
xor eax, eax
mov dword [0x4bbe20], 0
mov dword [0x4baa64], eax
pop esi
ret
xor eax, eax
mov dword [0x4bbe24], 0
mov dword [0x4baa64], eax
pop esi
ret
xor eax, eax
mov dword [0x4bbe28], 0
mov dword [0x4baa64], eax
pop esi
ret
mov dword [0x4bbe14], 0
xor eax, eax
mov dword [0x4baa64], eax
pop esi
ret
mov eax, dword [0x4baa64]
ret
Function at 0x4372c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b7780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0
call fcn.00436f90
add esp, 4
call fcn.00432670
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x110]
push eax
push str.SoftwareSimonTathamPuTTY
push 0x80000001
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43731d
push dword [ebp - 0x110]
call fcn.00437ad0
add esp, 4
push dword [ebp - 0x110]
call ebx
lea eax, [ebp - 0x110]
push eax
push str.SoftwareSimonTatham
push 0x80000001
call edi
test eax, eax
jne 0x43739f
push esi
push str.PuTTY
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push 0x105
lea eax, [ebp - 0x10c]
push eax
push 0
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push dword [ebp - 0x110]
mov esi, eax
call ebx
test esi, esi
pop esi
je 0x43739f
lea eax, [ebp - 0x110]
push eax
push str.Software
push 0x80000001
call edi
test eax, eax
jne 0x43739f
push str.SimonTatham
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0x110]
call ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00439c24
mov esp, ebp
pop ebp
ret

Function at 0x4373d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push str.SoftwareSimonTathamPuTTYSessions
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43743e
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4373f6
sub eax, edx
push 1
lea eax, [eax + eax*2]
inc eax
push eax
call fcn.0040e1f0
mov esi, eax
push esi
push edi
call fcn.00437620
add esp, 0x10
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push esi
call fcn.0040e1d0
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00432900
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437470
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.0040e1f0
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 0x4374c1
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.00437f80
push ebx
call fcn.0040e1d0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
call fcn.0040e1d0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x437620
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov al, byte [esi]
test al, al
je 0x43768f
mov edx, dword [ebp + 0xc]
cmp al, 0x20
je 0x437657
cmp al, 0x5c
je 0x437657
cmp al, 0x2a
je 0x437657
cmp al, 0x3f
je 0x437657
cmp al, 0x25
je 0x437657
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x437657
cmp al, 0x2e
jne 0x43767a
test edi, edi
jne 0x43767a
mov byte [edx], 0x25
movzx eax, byte [esi]
shr eax, 4
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
mov byte [edx + 1], al
add edx, 2
movzx eax, byte [esi]
and eax, 0xf
movzx eax, byte [eax + str.0123456789ABCDEFUnable_to_create_registry_key_nHKEY_CURRENT_USER_s]
inc esi
mov byte [edx], al
inc edx
mov edi, 1
mov al, byte [esi]
test al, al
jne 0x437633
pop edi
mov byte [edx], al
pop esi
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov byte [eax], 0
pop ebp
ret

Function at 0x437a40
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 0x437abd
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 0x437abd
cmp dword [ebp + 8], 1
jne 0x437abd
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.0040e1f0
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 0x437aac
cmp dword [ebp + 8], 1
jne 0x437aac
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.0040e1d0
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 0x437ad0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4b7780]
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 0x437b63
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 0x437b3f
push dword [ebp - 0x110]
call fcn.00437ad0
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 0x437b10
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00439c24
mov esp, ebp
pop ebp
ret
Function at 0x437ba0
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 0x437bb0
sub ecx, edx
mov edx, dword [ebp + 0x10]
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x437bc0
sub edx, esi
push 1
lea eax, [edx + 5]
add eax, ecx
lea eax, [eax + eax*2]
push eax
call fcn.0040e1f0
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push edi
push esi
call fcn.004375a0
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 0x437c35
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 0x437c10
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.0040e1d0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437ee0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x437f2c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x437f1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x437f1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00433430
push eax
push dword [ebp + 8]
push str.Unable_to_delete__s:__s
call fcn.0042f040
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
Function at 0x43a9e1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43aa20
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43aa20
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43aa20
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43aa20
cmp dword [ecx + 0x74], 0xe
jbe 0x43aa20
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x474bc8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x474c07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x474c07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x474c07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x474c07
cmp dword [ecx + 0x74], 0xe
jbe 0x474c07
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x47e9e1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4af0b4
push 0x4af0ac
push str.FlsAlloc
push 0x1f
call fcn.0047e6af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47ea15
push dword [ebp + 8]
mov ecx, esi
call dword [0x49a500]
call esi
jmp 0x47ea1b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x47ea5f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4af0c4
push 0x4af0bc
push str.FlsGetValue
push 0x21
call fcn.0047e6af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47ea96
push dword [ebp + 8]
mov ecx, esi
call dword [0x49a500]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x47ea9e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.am_pm
push 0x4af0c4
push str.FlsSetValue
push 0x22
call fcn.0047e6af
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47ead8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x49a500]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x483578
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048344c
Function at 0x483db5
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b7780]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x483e00
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00484151
test al, al
jne 0x483dfa
sub edx, 2
cmp edx, edi
jne 0x483de0
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x483e22
lea eax, [edi + 2]
cmp edx, eax
je 0x483e22
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00483a7c
add esp, 0x10
jmp 0x483f1c
push esi
lea ecx, [ebp - 0x255]
call fcn.00484151
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x483e65
push dword [ebp - 0x25c]
jmp 0x483e12
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x483ea2
cmp word [ebp - 0x226], 0
je 0x483ec3
cmp word [ebp - 0x226], ax
jne 0x483ea2
cmp word [ebp - 0x224], 0
je 0x483ec3
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00483a7c
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x483f0f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x483e7c
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x483ef7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x483f1c
push 0x48359b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00474230
add esp, 0x10
jmp 0x483eec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439c24
leave
ret