joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4313e0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x480028
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4aa6b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aa6b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x8c]
jb 0x43142a
mov eax, dword [edi]
jmp 0x43142c
mov eax, edi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43144f
cmp esi, ebx
je 0x431448
mov dword [esi], ebx
call fcn.00433130
mov dword [esi + 4], eax
mov al, 1
jmp 0x4314ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x14], ebx
call fcn.00433130
mov dword [esp + 0x18], eax
cmp ebp, 0xb7
jne 0x431491
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.00431210
add esp, 0xc
cmp dword [eax], 3
jne 0x431491
cmp esi, ebx
je 0x4314eb
mov dword [esi], ebx
call fcn.00433130
jmp 0x4314e8
cmp esi, ebx
jne 0x4314e1
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00408040
mov dword [esp + 0x80], ebx
call fcn.00433130
push eax
push ebp
push edi
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
call fcn.00430d00
push 0x4a0fc4
lea eax, [esp + 0x40]
push eax
call fcn.0041fb98
call fcn.00433130
mov dword [esi], ebp
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0041d331
add esp, 0x70
ret

Function at 0x4317c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4800a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x4aa6b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x48c79c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00403c40
mov byte [esp + 0x38], 1
call fcn.0041bafe
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.00403cf0
mov dword [esi], vtable.windows_file_codecvt.0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x4322e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x480240
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4aa6b4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x4aa6b4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x40]
mov eax, 7
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0
mov dword [esp + 0xc], esi
mov word [esi], dx
mov dword [esp + 0x24], eax
xor eax, eax
mov word [esp + 0x10], ax
mov eax, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], edx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x432346
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401ad0
mov byte [esp + 0x38], 1
call fcn.00431ee0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00403bc0
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x43238f
mov edx, dword [esp + 0x10]
push edx
call fcn.0041da61
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041d331
add esp, 0x30
ret 8
Function at 0x432500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4802fa
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4aa6b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4aa6b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [esp + 0x88]
lea eax, [esp + 0x34]
xor ebp, ebp
push eax
mov esi, ecx
mov dword [esp + 0x18], ebp
call fcn.004323b0
mov esi, dword [esi + 0x10]
mov dword [esp + 0x80], ebp
cmp dword [esp + 0x54], esi
je 0x4325ea
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
cmp esi, 1
jbe 0x4325a1
mov eax, edx
cmp ecx, 8
jae 0x43257b
lea eax, [esp + 0x34]
movzx eax, word [eax]
cmp eax, 0x2f
je 0x432588
cmp eax, 0x5c
jne 0x4325a1
mov eax, edx
cmp ecx, 8
jae 0x432593
lea eax, [esp + 0x34]
movzx eax, word [eax + 2]
cmp eax, 0x2f
je 0x4325b4
cmp eax, 0x5c
je 0x4325b4
mov eax, edx
cmp ecx, 8
jae 0x4325ac
lea eax, [esp + 0x34]
cmp word [eax + esi*2 - 2], 0x3a
jne 0x4325ea
push 0xffffffffffffffff
xor ecx, ecx
push ebp
lea edx, [esp + 0x3c]
mov word [esp + 0x20], cx
mov esi, 7
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
call fcn.00401980
lea eax, [esp + 0x18]
mov byte [esp + 0x80], 1
lea ebx, [esi - 6]
jmp 0x43260e
mov esi, 7
xor eax, eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], ax
mov ebx, 2
lea eax, [esp + 0x58]
mov dword [esp + 0x80], ebx
push 0xffffffffffffffff
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebp
push ebp
mov word [edi], cx
push eax
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.00401980
or ebx, 4
test bl, 2
je 0x432647
and ebx, 0xfffffffd
cmp dword [esp + 0x6c], 8
jb 0x432647
mov edx, dword [esp + 0x58]
push edx
call fcn.0041da61
add esp, 4
test bl, 1
je 0x43266f
cmp dword [esp + 0x2c], 8
jb 0x432660
mov eax, dword [esp + 0x18]
push eax
call fcn.0041da61
add esp, 4
xor ecx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], 8
jb 0x432683
mov edx, dword [esp + 0x34]
push edx
call fcn.0041da61
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0041d331
add esp, 0x70
ret 4
Function at 0x4360a1
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x4360b7
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x4360c3
or edi, 1
push 1
call esi
test ax, ax
jns 0x4360cf
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4360db
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4360e7
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x437cd6
cmp ebx, dword [esi + 0x54]
je 0x437cd6
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x437d98
push edi
test eax, eax
je 0x437d29
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.004377dc
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x437d97
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x437d97
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x437d97
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x437d97
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.004377dc
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x437f9b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xd0]
xor ebx, ebx
call fcn.0041bb75
test eax, eax
jle 0x437ff0
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call fcn.00434ac3
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x438051
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0041bb75
cmp ebx, eax
jl 0x437fb7
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x4380aa
sub eax, 4
je 0x438055
dec eax
dec eax
jne 0x4380a1
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0047990c
pop ecx
mov ecx, dword [esi + 0x50]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x43725f
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4380a1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x4380a3
cmp dword [esi + 0x54], 0
je 0x4380a1
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.004360a1
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4380a1
cmp dword [esi + 0x54], 0
je 0x4380f9
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x4380f9
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x4380f9
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004793a0
pop ecx
pop ecx
test eax, eax
je 0x4380f9
mov ecx, dword [esi + 0x54]
call fcn.004480ce
test al, al
jne 0x4380a1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.00437e49
jmp 0x438051
Function at 0x43afb2
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x480bb6
call fcn.004204ae
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0043a5a2
call fcn.0043621e
push eax
lea ecx, [ebp - 0x94]
call fcn.00434ed1
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00436224
mov ecx, eax
call fcn.00434c25
test al, al
je 0x43b0fa
push edi
lea ecx, [ebp - 0x94]
call fcn.00434cc1
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00434c4e
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x43b056
push str.Error_opening_file
mov ecx, ebx
call fcn.0043a778
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00434afa
mov al, bl
call fcn.004204f8
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x43b06b
push esi
push str.File_is_empty
jmp 0x43b034
cmp edi, 0x400000
jbe 0x43b07b
push esi
push str.File_too_large
jmp 0x43b034
push edi
mov dword [ebp - 0x2cc], esi
call fcn.0041c1c0
pop ecx
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push edi
push eax
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x43b0d6
push dword [ebp - 0x2c8]
call fcn.0041da2c
pop ecx
mov ecx, ebx
call fcn.0043a5a2
push esi
push str.Could_not_read_file
jmp 0x43b034
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.0043ae5f
push dword [ebp - 0x2c8]
mov bl, al
call fcn.0041da2c
pop ecx
jmp 0x43b03d
call fcn.00436224
push eax
lea ecx, [ebp - 0x94]
call fcn.00434ca4
call fcn.0043622a
test al, al
je 0x43b11b
call fcn.00436230
jmp 0x43b132
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.00434c4e
push eax
call fcn.004403a5
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x43b147
push esi
push str.Error_opening_zip_file
jmp 0x43b034
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.0043eabd
add esp, 0x14
test eax, eax
je 0x43b175
push esi
push str.Could_not_find_ziped_file
jmp 0x43b034
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x43b063
cmp eax, 0x400000
ja 0x43b073
push eax
call fcn.0041c1c0
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.00440403
add esp, 0x18
cmp eax, esi
je 0x43b1eb
cmp eax, 0x600
je 0x43b1eb
push edi
call fcn.0041da2c
pop ecx
call fcn.0043622a
test al, al
jne 0x43b1e0
push dword [ebp - 0x2c8]
call fcn.0044043b
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x43b034
call fcn.0043622a
test al, al
jne 0x43b200
push dword [ebp - 0x2c8]
call fcn.0044043b
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.0043ae5f
push edi
jmp 0x43b0ed
Function at 0x43d5fa
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43d608
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x43d6c3
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x491b28]
add edx, 8
sub edi, 8
dec esi
jne 0x43d626
pop ebx
test edi, edi
je 0x43d6dc
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x491b28]
inc edx
dec edi
jne 0x43d6c7
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x43db89
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43dbbd
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43dbb8
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43dbe5
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43dbce
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041fd00
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x43ea07
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4aa6b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43eaaf
movzx ecx, word [esi]
test cx, cx
je 0x43eaaf
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x43ea42
cmp cx, 0x5c
jne 0x43ea44
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x43ea36
cmp eax, esi
je 0x43ea83
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00479452
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043ea07
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00479431
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00479400
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d331
leave
ret
Function at 0x43ffdc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x440057
cmp dword [esi + 4], 0xffffffff
jne 0x440057
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x49a824
push edi
call fcn.00479400
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x440029
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x440029
mov eax, 0x2000000
jmp 0x44005c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043d996
add esp, 0x10
test eax, eax
jne 0x440047
mov eax, dword [ebp + 0x10]
jmp 0x44005c
push eax
call fcn.0043fbcb
mov dword [esi], eax
mov eax, dword [0x4af1e4]
pop ecx
jmp 0x44005c
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x448293
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x4482fb
cmp dword [ebp + 8], 0x100
jne 0x4482ea
cmp word [ebp + 0xc], 0xd
jne 0x4482ea
cmp byte [esi + 0x4da], bl
je 0x4482d1
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4482ea
cmp byte [esi + 0x4db], bl
jne 0x4482ea
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x4482e6
push ebx
push ebx
push ebx
push 0x492948
push esi
call fcn.004377dc
xor eax, eax
jmp 0x4482fe
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x4506f1
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x4f4
jmp method.DuiLib::CListUI.2.virtual_268

Function at 0x4536a3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4aa6b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x453714
cmp dword [esi + 0x10], ebx
je 0x453714
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0042ccd0
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x453714
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00434c80
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004377dc
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d331
leave
ret 0x10
Function at 0x461bdc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x461c01
cmp eax, edi
jge 0x461bf9
mov eax, esi
call fcn.0046159a
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor ecx, ecx
test edi, edi
jle 0x461c2e
mov eax, dword [esi + 0xc]
push ebx
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, edi
inc ecx
mov dword [esi + 0xc], eax
test ebx, ebx
jg 0x461c0e
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x461c4d
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x461c3b
xor eax, eax
jmp 0x461c43
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x461c31
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x461c7f
mov eax, str.zlib_corrupt
call fcn.0045ee70
jmp 0x461cba
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x461c8f
mov eax, str.read_past_buffer
jmp 0x461c78
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x461ca4
mov ecx, edi
call fcn.004615d0
test eax, eax
je 0x461cba
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0041fd00
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret
Function at 0x49e413
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x49e44b
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x49e439
mov al, 1
jmp 0x49e49c
cmp dword [ebx + 0x54], ecx
jne 0x49e442
mov al, 2
jmp 0x49e49c
cmp dword [ebx + 0x7c], ecx
jne 0x49e49c
mov al, 3
jmp 0x49e49c
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x49e460
mov al, 4
jmp 0x49e49c
cmp ecx, 5
jne 0x49e480
cmp ebx, 0
jne 0x49e46e
mov al, 5
jmp 0x49e49c
cmp ebx, 1
jne 0x49e477
mov al, 6
jmp 0x49e49c
cmp ebx, 2
jne 0x49e480
mov al, 7
jmp 0x49e49c
cmp ecx, 6
jne 0x49e48c
cmp ebx, 0
jne 0x49e48e
mov al, 8
jmp 0x49e49c
cmp ebx, 1
jne 0x49e495
mov al, 9
cmp ebx, 2
jne 0x49e49c
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x504400
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa79d68]
xor edx, edx
cmp eax, edx
jne 0x504426
xor eax, eax
mov byte [eax + 0xa79c68], al
inc eax
cmp eax, 0x100
jl 0x50440e
mov dword [0xa79d68], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa79c68
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5044b7
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 0x50448a
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 0x504458
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x504530
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 0x504583
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 0x50456a
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