joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x404370]
push ebx
push esi
push edi
test eax, eax
je 0x401046
mov edi, dword [sym.imp.libdjvulibre.dll_ddjvu_message_peek]
push eax
call edi
mov esi, eax
add esp, 4
test esi, esi
je 0x401046
mov ebx, dword [sym.imp.libdjvulibre.dll_ddjvu_message_pop]
cmp dword [esi], 0
je 0x401091
mov eax, dword [0x404370]
push eax
call ebx
mov ecx, dword [0x404370]
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x401027
mov esi, dword [sym.imp.MSVCR100.dll___iob_func]
push str.djvutxt:
call esi
mov edi, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x40
push eax
call edi
mov eax, dword [ebp + 8]
add esp, 8
lea edx, [ebp + 0xc]
push edx
push eax
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_vfprintf]
add esp, 0xc
push 0x4031a4
call esi
add eax, 0x40
push eax
call edi
add esp, 8
push 0xa
call dword [sym.imp.MSVCR100.dll_exit]
mov edx, dword [esi + 0x14]
mov edi, dword [sym.imp.MSVCR100.dll___iob_func]
push edx
push str.djvutxt:__s_n
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x40
push eax
call ebx
mov eax, dword [esi + 0x1c]
add esp, 0xc
test eax, eax
je 0x4010cd
mov ecx, dword [esi + 0x20]
push ecx
push eax
push str.djvutxt:__s:_d_n
call edi
add eax, 0x40
push eax
call ebx
add esp, 0x10
push 0xa
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x4010e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x404380]
push ebx
push esi
push edi
mov dword [esp + 0x14], eax
test eax, eax
jne 0x401101
mov dword [esp + 0x14], str.page
mov eax, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
mov ecx, dword [0x404374]
push eax
dec ebx
push ebx
push ecx
call dword [sym.imp.libdjvulibre.dll_ddjvu_document_get_pagetext]
mov esi, eax
add esp, 0xc
cmp esi, 2
jne 0x401191
mov edi, dword [sym.imp.libdjvulibre.dll_ddjvu_message_peek]
jmp 0x401130
mov eax, dword [0x404370]
test eax, eax
je 0x401175
push eax
call dword [sym.imp.libdjvulibre.dll_ddjvu_message_wait]
mov edx, dword [0x404370]
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x401175
cmp dword [esi], 0
je 0x4011c5
mov eax, dword [0x404370]
push eax
call dword [sym.imp.libdjvulibre.dll_ddjvu_message_pop]
mov ecx, dword [0x404370]
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
jne 0x401152
mov edx, dword [esp + 0x14]
mov eax, dword [0x404374]
push edx
push ebx
push eax
call dword [sym.imp.libdjvulibre.dll_ddjvu_document_get_pagetext]
mov esi, eax
add esp, 0xc
cmp esi, 2
je 0x401130
cmp dword [0x404380], 0
je 0x401209
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.libdjvulibre.dll_miniexp_io_init]
push 0x48
lea ecx, [esp + 0x20]
push esi
push ecx
mov dword [esp + 0x44], 0x404388
call dword [sym.imp.libdjvulibre.dll_miniexp_pprint_r]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov edi, dword [sym.imp.MSVCR100.dll___iob_func]
push ecx
push str.djvutxt:__s_n
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x40
push eax
call ebx
mov eax, dword [esi + 0x1c]
add esp, 0xc
test eax, eax
je 0x401201
mov edx, dword [esi + 0x20]
push edx
push eax
push str.djvutxt:__s:_d_n
call edi
add eax, 0x40
push eax
call ebx
add esp, 0x10
push 0xa
call dword [sym.imp.MSVCR100.dll_exit]
push esi
push 5
call dword [sym.imp.libdjvulibre.dll_miniexp_nth]
mov esi, eax
add esp, 8
test esi, esi
je 0x4012d9
push esi
call dword [sym.imp.libdjvulibre.dll_miniexp_stringp]
add esp, 4
test eax, eax
je 0x4012d9
push esi
call dword [sym.imp.libdjvulibre.dll_miniexp_to_str]
mov edi, dword [sym.imp.MSVCR100.dll___iob_func]
add esp, 4
cmp dword [0x404388], 0
mov esi, eax
jne 0x40125e
call edi
add eax, 0x20
push eax
push esi
call dword [sym.imp.MSVCR100.dll_fputs]
add esp, 8
jmp 0x4012c5
mov bl, byte [esi]
test bl, bl
je 0x4012c5
inc esi
mov byte [esp + 0x13], 0
cmp bl, 0x5c
je 0x401274
cmp bl, 0x7f
jb 0x401279
mov byte [esp + 0x13], 1
cmp bl, 0x20
jae 0x401294
movzx edx, bl
push edx
push 0x4031b0
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x40129b
cmp byte [esp + 0x13], 0
je 0x4012ac
movzx eax, bl
push eax
push str._03o
call dword [sym.imp.MSVCR100.dll_printf]
jmp 0x4012bc
call edi
add eax, 0x20
movzx ecx, bl
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_putc]
mov bl, byte [esi]
add esp, 8
test bl, bl
jne 0x401264
call edi
add eax, 0x20
push eax
push 0x4031c0
call dword [sym.imp.MSVCR100.dll_fputs]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401460
Capabilities:
Terminate process

Disassembly:
push str.DjVu_text_extraction_utility_n_nUsage:_djvutxt__options___djvufile____outputfile___n_nOptions:_n__pagePAGESPEC____Selects_page_s__to_be_decoded._n__detailKEYWORD___Outputs_S_expression_with_the_text_location._n___________________The_optional_keyword__page____region____para___n____________________line___word___or__char__specify_the_finest_n___________________level_of_detail._Default_is__char_._n__escape___________Output_octal_escape_sequences_for_all_n___________________non_ASCII_UTF_8_characters._n_n
push 0x4033b8
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0xc
push 0xa
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x4018b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4018be
repz ret
jmp fcn.00401b5b
Function at 0x68101cc0
Capabilities:
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x3c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x1c], 1
test byte [0x68103078], 8
jne 0x68101da0
test ebx, ebx
je 0x68101df0
cmp word [ebx], 0
je 0x68101df0
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x68101d21
cmp word [eax + 2], 0
lea ebx, [eax + 2]
je 0x68101df0
cmp esi, 1
mov eax, 0x80000001
lea edx, [ebp - 0x20]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_Error_ReportingExcludedApplications
sbb eax, 0xffffffff
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._RegCreateKeyW_12
sub esp, 0xc
mov esi, eax
test eax, eax
jne 0x68101de0
lea eax, [ebp - 0x1c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._RegSetValueExW_24
mov eax, dword [ebp - 0x20]
sub esp, 0x18
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, esi
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___d__n
mov dword [esp + 8], 0x681051f0
mov dword [esp + 4], 0x68103078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x68101cec
mov esi, 0x80070005
jmp 0x68101d8f
mov esi, 0x80070057
jmp 0x68101d8f

Function at 0x68101e00
Capabilities:
Delete registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x3c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x68103078], 8
jne 0x68101ec0
test ebx, ebx
je 0x68101f10
cmp word [ebx], 0
je 0x68101f10
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x68101e5a
cmp word [eax + 2], 0
lea ebx, [eax + 2]
je 0x68101f10
cmp esi, 1
mov eax, 0x80000001
lea edx, [ebp - 0x1c]
mov dword [esp + 4], str.SoftwareMicrosoftWindows_Error_ReportingExcludedApplications
sbb eax, 0xffffffff
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._RegCreateKeyW_12
sub esp, 0xc
test eax, eax
jne 0x68101f00
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._RegDeleteValueW_8
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
neg ebx
sbb ebx, ebx
and ebx, 0x800700cb
lea esp, [ebp - 0xc]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.__s___d__n
mov dword [esp + 8], str.WerRemoveExcludedApplication
mov dword [esp + 4], 0x68103078
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x68101e25
mov ebx, 0x80070005
jmp 0x68101eaf
mov ebx, 0x80070057
jmp 0x68101eaf
Function at 0x68102590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x681025eb
cmp byte [esi + ebx - 1], 0xa
je 0x681025bf
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x68106084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x68102b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x68106094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x68102d00
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x68106094]
movzx eax, al
bt eax, esi
jae 0x68102d60
mov ecx, dword [0x68106084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x68102c06
test byte [0x681030a8], 8
jne 0x68102ca0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x681030b8], 8
jne 0x68102c50
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x68102bd5
cmp esi, 3
jbe 0x68102c10
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x681053c0]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x68102bd5
mov ecx, dword [0x68106094]
test ecx, ecx
je 0x68102d40
mov dword [esp], 0x681030b8
call dword [0x68106094]
test al, 8
je 0x68102bac
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x68102bac
mov ebx, dword [0x68106094]
test ebx, ebx
je 0x68102d20
mov dword [esp], 0x681030a8
call dword [0x68106094]
test al, 8
je 0x68102b99
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x68102b9f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x68106094
call sym._load_func.part.0
jmp 0x68102b60
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x68106094
call sym._load_func.part.0
jmp 0x68102caa
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x68106094
call sym._load_func.part.0
jmp 0x68102c5e
mov eax, 0xffffffff
jmp 0x68102c06
Function at 0x430e10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bd09b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004b188d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x430e92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004af73b
mov eax, dword [eax]
push 0x58cd24
push eax
call fcn.004a16c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b1b18
test bl, bl
je 0x430e92
push 0x58cd24
lea ecx, [esp + 0xc]
call fcn.004b1ea8
push 0x58cd30
lea ecx, [esp + 0xc]
call fcn.004b1ea8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x430ece
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b1b18
jmp 0x430f99
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x430f52
lea edx, [esp + 0x7c]
push 0x58cd2c
push edx
call fcn.004a16c4
add esp, 8
test eax, eax
je 0x430f52
lea eax, [esp + 0x7c]
push 0x58cd28
push eax
call fcn.004a16c4
add esp, 8
test eax, eax
je 0x430f52
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430ee2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b1b18
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x431790
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4317f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x431800
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bd11b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x59c1f0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x431938
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x431866
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b1b18
xor eax, eax
jmp 0x4319af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004b1c55
push esi
lea ecx, [esp + 0xc]
call fcn.004b1ee4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x58cd64
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43198d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00431790
test eax, eax
jne 0x43198d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00431790
test eax, eax
jne 0x43198d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004a2830
mov esi, eax
add esp, 8
test esi, esi
jne 0x43196c
lea ecx, [esp + 0x14]
push 0x58cd3c
push ecx
call fcn.004a27b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43196c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43196f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004b1c05
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43187e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004b1b18
xor eax, eax
jmp 0x4319af
mov byte [esi], 0
push 0x58cd38
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004b1b18
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x442f40
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x442fae
cmp si, 0x69
ja 0x442fae
add esi, 0xffd0
cmp si, 0x11
je 0x442f7e
push 0x11
call edi
test ax, ax
jge 0x442f7e
or esi, 0x2000
cmp si, 0x10
je 0x442f93
push 0x10
call edi
test ax, ax
jge 0x442f93
or esi, 0x4000
cmp si, 0x12
je 0x442fa8
push 0x12
call edi
test ax, ax
jge 0x442fa8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x442fbb
mov esi, 0xbd
jmp 0x442f6f
cmp si, 0x6e
jne 0x442fc8
mov esi, 0xbe
jmp 0x442f6f
cmp si, 0x6f
jne 0x442f69
mov esi, 0xbf
jmp 0x442f6f

Function at 0x444be0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5aca00]
xor edx, edx
cmp eax, edx
jne 0x444c06
xor eax, eax
mov byte [eax + 0x5ac900], al
inc eax
cmp eax, 0x100
jl 0x444bee
mov dword [0x5aca00], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5ac900
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x444c97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x444c6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x444c38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x444ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x444cf3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x444cda
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c380
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x44c518
cmp ebp, ebx
jle 0x44c518
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x44c3de
dec eax
or eax, 0xfffffff8
inc eax
je 0x44c3e5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x44c3f4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44c3fb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004b1859
add esp, 4
cmp eax, ebx
je 0x44c41c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.004b1859
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x44c50e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x44c4f5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x44c4e1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x44c4d6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x44c4e4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x44c4e4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x44c480
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x44c471
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x44fa80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4be8b8
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x44fab9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004b9230
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004b927c
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0044fb40
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004b92b9
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24