joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5589ba
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x58fb93
call fcn.0056bd9e
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x558a93
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x558a93
cmp ebx, 0x43
je 0x5589fc
cmp ebx, 0x2d
jne 0x558a93
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x558a93
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.00401f20
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.00402180
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00401f50
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.004d6ddc
call fcn.0056be76
ret 4

Function at 0x560b99
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp byte [ebp + 0xc], 0
movzx eax, ax
jne 0x560bde
test edi, edi
jl 0x560bde
cmp ax, 0x20
je 0x560bd3
cmp word [ebp + 8], 0x71
jne 0x560bde
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x565f92
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5fd890]
jne 0x565f9c
repz ret
jmp fcn.005706f6

Function at 0x569546
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x569577
call fcn.0056c138
mov dword [eax], esi
call fcn.0056c125
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00566d85
add esp, 0x14
push 0x16
pop eax
jmp 0x5695cc
test dword [ebp + 0xc], 0xfffffff9
jne 0x569553
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5695a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0056c14b
pop ecx
call fcn.0056c125
mov eax, dword [eax]
jmp 0x5695cc
test al, 0x10
jne 0x5695ca
test al, 1
je 0x5695ca
test byte [ebp + 0xc], 2
je 0x5695ca
call fcn.0056c138
mov dword [eax], 5
call fcn.0056c125
mov dword [eax], 0xd
jmp 0x56959b
xor eax, eax
pop esi
pop ebp
ret
Function at 0x57f698
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0057005a
and dword [ebp - 4], 0
cmp dword [0x609544], 0
mov ebx, eax
jne 0x57f749
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x57f7fa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x57f7fa
push eax
call fcn.0056ffe8
mov dword [esp], 0x5cb190
push edi
mov dword [0x609544], eax
call esi
push eax
call fcn.0056ffe8
mov dword [esp], 0x5cb17c
push edi
mov dword [0x609548], eax
call esi
push eax
call fcn.0056ffe8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x60954c], eax
call esi
push eax
call fcn.0056ffe8
pop ecx
mov dword [0x609554], eax
test eax, eax
je 0x57f749
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0056ffe8
pop ecx
mov dword [0x609550], eax
mov eax, dword [0x609550]
cmp eax, ebx
je 0x57f7a1
cmp dword [0x609554], ebx
je 0x57f7a1
push eax
call fcn.00570063
push dword [0x609554]
mov esi, eax
call fcn.00570063
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x57f7a1
test edi, edi
je 0x57f7a1
call esi
test eax, eax
je 0x57f798
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x57f798
test byte [ebp - 0xc], 1
jne 0x57f7a1
or dword [ebp + 0x10], 0x200000
jmp 0x57f7da
mov eax, dword [0x609548]
cmp eax, ebx
je 0x57f7da
push eax
call fcn.00570063
pop ecx
test eax, eax
je 0x57f7da
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x57f7da
mov eax, dword [0x60954c]
cmp eax, ebx
je 0x57f7da
push eax
call fcn.00570063
pop ecx
test eax, eax
je 0x57f7da
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x609544]
call fcn.00570063
pop ecx
test eax, eax
je 0x57f7fa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x57f7fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x406243
pop dword [ebp - 0x3c]
mov eax, 0x6f65017d
sub eax, 0x6f249f3a
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xc0e91dad
sub dword [ebp - 0x4c], 0x7296d862
mov dword [ebp - 0x48], 0xe76d662f
add dword [ebp - 0x48], 0x4ac5e616
mov dword [ebp - 0x44], 0x7c23891d
add dword [ebp - 0x44], 0xd028bb11
mov dword [ebp - 0x40], 0xbe1c8ce2
add dword [ebp - 0x40], 0x41e3731e
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x3e2b85f
sub eax, 0x3a2375b
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xed0fa2f4
add dword [ebp - 0x4c], 0x8762c662
mov dword [ebp - 0x48], 0x84d3f415
add dword [ebp - 0x48], 0xbc986d60
mov dword [ebp - 0x44], 0x615c2122
sub dword [ebp - 0x44], 0xfdecb4b6
mov dword [ebp - 0x40], 0x90dfa64
sub dword [ebp - 0x40], 0x90dfa64
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3871b
push 0
call eax
mov ecx, 0x4daf
xor esi, esi
add esi, eax
mov edi, 0x4ee0f39e
sub edi, 0x4e9a0f9e
add edi, dword [ebp - 0x3c]
mov ebx, 0x2af89be8
sub ebx, 0xfe7ea68e
sub dword [ebp - 0x30], edx
mov edx, dword [edi]
mov dword [ebp - 0x28], 0x6c8684eb
add edx, ebx
mov dword [ebp - 0x10], 0x6be0e072
mov dword [esi], edx
xor dword [ebp - 0x10], edx
add esi, 4
add edi, 0x7c9a7f77
add edi, 0x8365808d
loop 0x40635c
add eax, 0x120b9d01
add eax, 0xedf58c8e
xor ebx, ebx
add ebx, eax
add eax, 0xa056b18b
add eax, 0x5fa94e7a
mov ecx, 0xdf9d532f
add ecx, 0x20a2acd1
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc
Function at 0x405302
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7a0ca0], 0x44
push eax
xor eax, eax
push 0x7a0ca0
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40533d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4053e3
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405699
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405417
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7a2728], eax
jmp 0x4055b0
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405435
test eax, eax
je 0x40555b
test byte [ebp + 0xc], 2
je 0x40555b
mov esi, 0x79fca0
push edi
push esi
call fcn.00405acd
test ebx, ebx
je 0x405452
push 0x409328
push esi
call fcn.00405af0
jmp 0x405458
push edi
call fcn.004055fd
cmp byte [edi], 0
jne 0x405466
cmp byte [0x79fca0], 0x5c
jne 0x405471
push 0x409010
push edi
call fcn.00405af0
push edi
call fcn.00405ae3
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405551
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004055e1
cmp byte [eax], 0
je 0x4054b7
cmp byte [ebp - 0x18], 0
je 0x4054b7
lea esi, [ebp - 0x18]
mov al, byte [esi]
cmp al, 0x2e
jne 0x4054d2
cmp byte [esi + 1], 0
je 0x405530
cmp al, al
jne 0x4054d2
cmp byte [esi + 1], al
jne 0x4054d2
cmp byte [esi + 2], 0
je 0x405530
push esi
push ebx
call fcn.00405acd
test byte [ebp - 0x148], 0x10
je 0x4054f7
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405530
push dword [ebp + 0xc]
push edi
call fcn.004053e3
jmp 0x405530
push edi
call fcn.00405783
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405528
test byte [ebp + 0xc], 4
je 0x405520
push edi
push 0xfffffffffffffff1
call fcn.00404e36
push 0
push edi
call fcn.0040581a
jmp 0x405530
inc dword [0x7a2728]
jmp 0x405530
push edi
push 0xfffffffffffffff2
call fcn.00404e36
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405495
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x40555b
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x4055b0
cmp dword [ebp - 8], esi
jne 0x405570
inc dword [0x7a2728]
jmp 0x4055b0
push edi
call fcn.00405df2
test eax, eax
je 0x4055b0
push edi
call fcn.004055b6
push edi
call fcn.00405783
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4055a8
test byte [ebp + 0xc], 4
je 0x405568
push edi
push 0xfffffffffffffff1
call fcn.00404e36
push esi
push edi
call fcn.0040581a
jmp 0x4055b0
push edi
push 0xffffffffffffffe5
call fcn.00404e36
pop edi
pop esi
leave
ret 8
Function at 0x405e8f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7a122c], esi
push edi
jne 0x405ec9
mov ecx, 0x7a1228
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ea5
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7a1628
jl 0x405ea0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405efe
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1228]
xor eax, esi
inc ecx
dec edx
jne 0x405ee1
pop edi
pop esi
not eax
ret 0xc

Function at 0x401018
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
push dword [ebp + 8]
call fcn.00401050
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x411014
Capabilities:
Terminate process

Disassembly:
jmp 0x411560
jmp fcn.00411cc0
cmp ecx, dword [section..data]
jne 0x41156a
repz ret
jmp 0x411082
Function at 0x40f377
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x5d160e]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40f3c4
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40f3db
mov eax, 0x47734a
jmp 0x40f4d9
mov dword [ebp - 0x14], esp
push dword [ebp + 8]
push dword [0x5d160e]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40f403
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40f41a
mov eax, 0x47734a
jmp 0x40f4d9
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40f43c
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40f453
mov eax, 0x47734a
jmp 0x40f4d9
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.0044f770
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f486
push ebx
call fcn.0044cad8
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f49d
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x40f4ba
push 6
call fcn.0044cade
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40f4d4
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0044cad2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40f4d9
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f4ea
push ebx
call fcn.0044cad8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x416057
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 8
call fcn.0044cad2
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x4160a1
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4160d2
mov ebx, dword [0x5d17b6]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4160f6
mov ebx, dword [0x5d17b6]
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
cdq
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [0x5d17b6]
mov dword [ebp - 8], ebx
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
cdq
mov ebx, dword [ebp - 8]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 4]
push ebx
call fcn.0044cad8
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x421ad2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x421b0d
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0044f750
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x421b70
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044d3b0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x421b94
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0044f750
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x421bf7
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044d3b0
add esp, 0x1c
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x421c1b
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x8000
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0xc4
call fcn.0044f750
add esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x421c7e
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.0044d3b0
add esp, 0x1c
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x421c86
mov esp, ebp
pop ebp
ret
Function at 0x426062
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4260a8
push 6
call fcn.0044cade
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x4776ad]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.00403641
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0044d8a0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4260fb
push ebx
call fcn.0044cad8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x426134
push 6
call fcn.0044cade
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x426150
push eax
mov ebx, eax
call fcn.004015c4
inc eax
push eax
call fcn.0044cad2
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x426155
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x426166
push ebx
call fcn.0044cad8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x44d4a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00452590
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x44d5f0
test ecx, ecx
je 0x44d5f0
inc ecx
push ecx
call fcn.00467eec
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045b2b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x44d519
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x44d5dd
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.00467eec
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x44d5a1
cmp eax, 0xea
jne 0x44d5c9
push esi
call fcn.00467f15
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00467eec
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x44d56c
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x44d5af
cmp eax, 2
jne 0x44d5c9
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.00452500
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.00467f15
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00467f15
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x44d61e
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x44d62a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x44d62a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.00452500
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x44d6d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
push edi
ja 0x44d750
je 0x44d741
cmp eax, 0x80000101
ja 0x44d73a
je 0x44d741
cmp eax, reloc.WSOCK32.dll_connect
je 0x44d71d
cmp eax, reloc.WSOCK32.dll_getpeername
jne 0x44d765
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 3
test eax, eax
je 0x44d7ab
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x44d7ab
mov ebp, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 1
mov ebx, ecx
inc ebx
jmp 0x44d7ab
cmp eax, 0x80000201
jne 0x44d765
mov ebx, 4
lea ebp, [esp + 0x44]
mov dword [esp + 0xc], ebx
jmp 0x44d7ab
cmp eax, 0x80000401
je 0x44d796
cmp eax, 0x80000501
je 0x44d782
cmp eax, 0x80000601
je 0x44d76e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.0045b2d8
jmp 0x44d7a3
fld dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.0045b2d8
jmp 0x44d7a3
mov eax, dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea ebp, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00452590
mov edi, dword [esp + 0x3c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0
test edx, edx
je 0x44d886
test ecx, ecx
je 0x44d886
inc ecx
push esi
push ecx
call fcn.00467eec
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045b2b0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x44d828
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44d87c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44d871
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00467f15
add esp, 4
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0x18
ret