joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4215d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4715f8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x499694]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x499694]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jb 0x42161f
mov eax, dword [edi]
jmp 0x421621
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x421641
push esi
push edi
push ebx
call fcn.00421320
add esp, 0xc
jmp 0x421780
test eax, 0x400
je 0x42174e
cmp dword [edi + 0x14], 8
jb 0x421656
mov esi, dword [edi]
jmp 0x421658
mov esi, edi
mov ebx, 7
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x48], eax
call fcn.00422790
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421680
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00402af0
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 1
jae 0x4216b1
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 3
jb 0x4216e5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0040f3f1
add esp, 4
mov dword [esp + 0x34], ebx
xor edx, edx
or ebx, 0xffffffff
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, ebx
jne 0x421716
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push eax
push edi
push esi
call fcn.00421320
add esp, 0xc
mov eax, esi
jmp 0x421782
push edi
call fcn.004201f0
add esp, 4
mov dword [esp + 0x48], ebx
push esi
test al, al
jne 0x42173c
mov edi, dword [esp + 0x18]
mov dword [edi], 9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x421782
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test esi, esi
je 0x421764
mov dword [esi], 0
call fcn.00423650
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
test al, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 3
jne 0x42177c
mov dword [esp + 0x10], 2
mov ecx, dword [eax]
mov dword [ebx], ecx
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0040ecc7
add esp, 0x3c
ret
Function at 0x4221c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471740
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x499694]
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 0x47d6fc
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00404500
mov byte [esp + 0x38], 1
call fcn.0040d543
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.004045b0
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 0x422b10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4718e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x499694]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x499694]
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 0x422b76
sub eax, ebx
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401540
mov byte [esp + 0x38], 1
call fcn.00422790
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.004042a0
add esp, 0xc
cmp dword [esp + 0x24], 8
jb 0x422bbf
mov edx, dword [esp + 0x10]
push edx
call fcn.0040f3f1
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.0040ecc7
add esp, 0x30
ret 8
Function at 0x42659c
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 0x4265b2
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x4265be
or edi, 1
push 1
call esi
test ax, ax
jns 0x4265ca
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4265d6
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4265e2
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x4281df
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 0x428204
cmp ebx, dword [esi + 0x54]
je 0x428204
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x4282c6
push edi
test eax, eax
je 0x428257
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.00427d0a
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x4282c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x4282c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x4282c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x4282c5
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.00427d0a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4284c9
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.0043e44e
test eax, eax
jle 0x42851e
push ebx
lea ecx, [esi + 0xd0]
mov byte [ebp - 1], 0
call fcn.00424fb5
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 0x42857f
lea ecx, [esi + 0xd0]
inc ebx
call fcn.0043e44e
cmp ebx, eax
jl 0x4284e5
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x4285d8
sub eax, 4
je 0x428583
dec eax
dec eax
jne 0x4285cf
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.00469e26
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 0x42778d
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4285cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x4285d1
cmp dword [esi + 0x54], 0
je 0x4285cf
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.0042659c
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 0x4285cf
cmp dword [esi + 0x54], 0
je 0x428627
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x428627
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x428627
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004698ba
pop ecx
pop ecx
test eax, eax
je 0x428627
mov ecx, dword [esi + 0x54]
call fcn.00437c63
test al, al
jne 0x4285cf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.00428377
jmp 0x42857f
Function at 0x42ab67
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x472003
call fcn.00411c6e
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.0042a157
call fcn.0042674a
push eax
lea ecx, [ebp - 0x94]
call fcn.004253c3
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00426750
mov ecx, eax
call fcn.0042511a
test al, al
je 0x42acaf
push edi
lea ecx, [ebp - 0x94]
call fcn.004251b3
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00425006
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x42ac0b
push str.Error_opening_file
mov ecx, ebx
call fcn.0042a32d
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00424fec
mov al, bl
call fcn.00411cb8
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x42ac20
push esi
push str.File_is_empty
jmp 0x42abe9
cmp edi, 0x400000
jbe 0x42ac30
push esi
push str.File_too_large
jmp 0x42abe9
push edi
mov dword [ebp - 0x2cc], esi
call fcn.0040dc05
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 0x42ac8b
push dword [ebp - 0x2c8]
call fcn.0040f3bc
pop ecx
mov ecx, ebx
call fcn.0042a157
push esi
push str.Could_not_read_file
jmp 0x42abe9
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.0042aa14
push dword [ebp - 0x2c8]
mov bl, al
call fcn.0040f3bc
pop ecx
jmp 0x42abf2
call fcn.00426750
push eax
lea ecx, [ebp - 0x94]
call fcn.00425196
call fcn.00426756
test al, al
je 0x42acd0
call fcn.0042675c
jmp 0x42ace7
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.00425006
push eax
call fcn.0042ff79
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x42acfc
push esi
push str.Error_opening_zip_file
jmp 0x42abe9
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.0042e691
add esp, 0x14
test eax, eax
je 0x42ad2a
push esi
push str.Could_not_find_ziped_file
jmp 0x42abe9
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x42ac18
cmp eax, 0x400000
ja 0x42ac28
push eax
call fcn.0040dc05
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.0042ffd7
add esp, 0x18
cmp eax, esi
je 0x42ada0
cmp eax, 0x600
je 0x42ada0
push edi
call fcn.0040f3bc
pop ecx
call fcn.00426756
test al, al
jne 0x42ad95
push dword [ebp - 0x2c8]
call fcn.0043000f
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x42abe9
call fcn.00426756
test al, al
jne 0x42adb5
push dword [ebp - 0x2c8]
call fcn.0043000f
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.0042aa14
push edi
jmp 0x42aca2
Function at 0x42d1ce
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42d1dc
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 0x42d297
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 + 0x4828a8]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4828a8]
add edx, 8
sub edi, 8
dec esi
jne 0x42d1fa
pop ebx
test edi, edi
je 0x42d2b0
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4828a8]
inc edx
dec edi
jne 0x42d29b
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x42d75d
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 0x42d791
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 0x42d78c
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x42d7b9
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x42d7a2
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004114c0
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 0x42e5db
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x499694]
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 0x42e683
movzx ecx, word [esi]
test cx, cx
je 0x42e683
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x42e616
cmp cx, 0x5c
jne 0x42e618
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x42e60a
cmp eax, esi
je 0x42e657
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046996c
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0042e5db
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0046994b
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0046991a
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.0040ecc7
leave
ret
Function at 0x42fbb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x42fc2b
cmp dword [esi + 4], 0xffffffff
jne 0x42fc2b
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x48b778
push edi
call fcn.0046991a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x42fbfd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x42fbfd
mov eax, 0x2000000
jmp 0x42fc30
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042d56a
add esp, 0x10
test eax, eax
jne 0x42fc1b
mov eax, dword [ebp + 0x10]
jmp 0x42fc30
push eax
call fcn.0042f79f
mov dword [esi], eax
mov eax, dword [0x49df04]
pop ecx
jmp 0x42fc30
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x437e2f
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 0x437e97
cmp dword [ebp + 8], 0x100
jne 0x437e86
cmp word [ebp + 0xc], 0xd
jne 0x437e86
cmp byte [esi + 0x4da], bl
je 0x437e6d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x437e86
cmp byte [esi + 0x4db], bl
jne 0x437e86
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x437e82
push ebx
push ebx
push ebx
push 0x4836d0
push esi
call fcn.00427d0a
xor eax, eax
jmp 0x437e9a
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 0x440a2e
Capabilities:
Log keystrokes via polling

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

Function at 0x443a24
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x499694]
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 0x443a95
cmp dword [esi + 0x10], ebx
je 0x443a95
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0041cb30
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x443a95
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.00425172
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.00427d0a
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040ecc7
leave
ret 0x10
Function at 0x4520f9
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 0x45211e
cmp eax, edi
jge 0x452116
mov eax, esi
call fcn.00451ab7
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 0x45214b
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 0x45212b
mov dword [esi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x45216a
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x452158
xor eax, eax
jmp 0x452160
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 0x45214e
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 0x45219c
mov eax, str.zlib_corrupt
call fcn.0044f38d
jmp 0x4521d7
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4521ac
mov eax, str.read_past_buffer
jmp 0x452195
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x4521c1
mov ecx, edi
call fcn.00451aed
test eax, eax
je 0x4521d7
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004114c0
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 0x424888
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ebp, esp
add ebp, 0x24
push esp
call fcn.004226e8
pop ecx
inc edx
aad 0xc0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
add byte [eax], al
add byte [ebx + 0x708b0c40], cl
sbb al, 0xad
cmp byte [eax + 0x1c], 0x18
je 0x4248ac
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004226e8
cmpsb byte [esi], byte es:[edi]
add edi, dword [eax + 0x1b]
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004226e8
jge 0x42489a
invalid

Function at 0x4269a8
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 7
pop ecx
lea edi, [ebp - 0x20]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x426a15
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x1fc
push str.msuengine.cpp
call fcn.004037d3
push str.Failed_to_stop_wusa_service.
push esi
call fcn.0044012f
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042de36
mov esp, ebp
pop ebp
ret 4
Function at 0x401280
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov eax, 0x1804
call fcn.00401600
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x80d]
mov byte [esp + 0x80c], bl
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
push 0x22
push esi
call fcn.00401750
add esp, 8
test eax, eax
jne 0x4013e8
push 0x20
push esi
call fcn.00401750
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x4012d7
mov edi, 0x40667c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._CLUSTER_NODES
push str._SHOW_CUSTOM_TREE_PAGEfalse
call esi
push edi
push str._SHOW_CUSTOM_TREE_PAGEfalse
call esi
push str.__J_Dsun.java2d.noddrawtrue__Dsun.awt.nopixfmttrue
push str._SHOW_CUSTOM_TREE_PAGEfalse
call esi
mov ecx, dword [esp + 0x1814]
lea eax, [esp + 0xc]
push 0x800
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0xc]
push 0x40617c
push edx
call fcn.004016a3
mov edi, eax
mov al, byte [esp + 0x14]
add esp, 8
cmp al, 0x5c
jne 0x401340
lea eax, [esp + 0x80c]
push 0x406178
push eax
call esi
cmp edi, ebx
je 0x401384
push str.setup.exe
push edi
call fcn.00404010
add esp, 8
test eax, eax
je 0x401370
lea ecx, [esp + 0x80c]
push edi
push ecx
call esi
lea edx, [esp + 0x80c]
push 0x406178
push edx
call esi
push 0x40617c
push ebx
call fcn.004016a3
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x401344
lea eax, [esp + 0x80c]
push str.install_setup.exe
push eax
call esi
push 0x44
call fcn.0040162f
mov esi, eax
push 0x10
mov dword [esi], 0x44
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x2c], ebx
mov word [esi + 0x32], bx
mov dword [esi + 0x34], ebx
call fcn.0040162f
add esp, 8
lea ecx, [esp + 0x80c]
push eax
push esi
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push str._SHOW_CUSTOM_TREE_PAGEfalse
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
add esp, 0x1804
ret
push 0x22
push esi
call fcn.00401750
inc eax
push 0x22
push eax
call fcn.00401750
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x4012d2
inc edi
jmp 0x4012d7