joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ab00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4d58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
test byte [0x5431e4], 1
jne 0x45ab62
or dword [0x5431e4], 1
call fcn.00442d10
push 0x4ecbd0
call fcn.004b4336
add esp, 4
push 0xffffffffffffffff
push 0
push 0x543134
lea ecx, [edi + 0x24]
call fcn.00404530
cmp dword [edi + 0x38], 8
mov ecx, dword [edi + 0x34]
jb 0x45ab81
mov eax, dword [edi + 0x24]
jmp 0x45ab84
lea eax, [edi + 0x24]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x45ab9b
push 1
mov eax, 0x5062dc
lea ecx, [edi + 0x24]
call fcn.00403f00
mov ecx, dword [edi + 0x5c]
push 0
push 0
push ecx
push 0x45ac90
push 0
push 0
call fcn.004b4b99
add esp, 0x18
mov dword [edi + 0x64], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret

Function at 0x45abe0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x5430b8], 1
mov eax, dword [esi + 0x60]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45ac42
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45ac31
cmp dword [ebp - 4], 0x103
jne 0x45ac31
mov edx, dword [esi + 0x60]
push 0xbb8
push edx
call edi
mov eax, dword [esi + 0x60]
push 0x22b
push eax
call ebx
mov ecx, dword [esi + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
mov eax, dword [esi + 0x64]
test eax, eax
je 0x45ac85
lea edx, [ebp - 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45ac74
cmp dword [ebp - 4], 0x103
jne 0x45ac74
mov eax, dword [esi + 0x64]
push 0x64
push eax
call edi
mov ecx, dword [esi + 0x64]
push 0x22b
push ecx
call ebx
mov edx, dword [esi + 0x64]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], 0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8de0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x45b675
mov eax, dword [esi]
jmp 0x45b677
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b726
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0042a5c0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x45b6a3
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
mov esi, eax
call fcn.00412d80
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x45b6c4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x45b6e0
mov eax, dword [ebx]
jmp 0x45b6e2
mov eax, ebx
test eax, eax
je 0x45b742
mov ecx, dword [ebp - 0x30]
cmp dword [ecx - 0xc], 0
jl 0x45b707
push eax
push ecx
call fcn.004b4477
add esp, 8
test eax, eax
je 0x45b742
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jge 0x45b747
lea eax, [ecx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
jmp 0x45b707
mov esi, dword [ebx + 0x10]
mov edx, dword [ecx - 0xc]
add esi, eax
cmp esi, edx
jne 0x45b707
dec eax
js 0x45b787
cmp eax, edx
jg 0x45b787
cmp byte [eax + ecx], 0x40
jne 0x45b707
lea eax, [ecx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b783
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x45b728
push 0x80070057
call fcn.00408970
int3
Function at 0x460330
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4cf4
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 1
test byte [0x543530], bl
jne 0x46038d
or dword [0x543530], ebx
mov dword [ebp - 4], 0
call fcn.00459860
push 0x4ecc10
call fcn.004b4336
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
mov edx, 0x543538
call fcn.004600a0
push ebx
mov eax, 0x5062dc
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00403f00
push 0xb
mov eax, str.WEMedia.exe
mov ecx, esi
call fcn.00403f00
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x4603c8
lea eax, [ebp - 0x2c]
push ebx
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test byte [0x543530], bl
jne 0x4603ff
or dword [0x543530], ebx
mov byte [ebp - 4], 2
call fcn.00459860
push 0x4ecc10
call fcn.004b4336
add esp, 4
mov eax, dword [0x543594]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x18], esi
jb 0x46042a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret

Function at 0x4625b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4c66
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test byte [0x543530], 1
jne 0x462609
or dword [0x543530], 1
mov dword [ebp - 4], 0
call fcn.00459860
push 0x4ecc10
call fcn.004b4336
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
mov edx, 0x543538
call fcn.004600a0
push 1
mov eax, 0x5062dc
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00403f00
push 0xb
mov eax, str.WEMedia.exe
mov ecx, esi
call fcn.00403f00
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x462649
lea eax, [ebp - 0x2c]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
mov ecx, edi
call edx
cmp dword [ebp - 0x18], esi
jb 0x462677
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret
Function at 0x464300
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
je 0x46435f
mov dword [edi], 0
jmp 0x464320
mov eax, 0x400000
cmp esi, 0x400000
ja 0x46432f
mov eax, esi
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x464367
test ecx, ecx
je 0x46435f
test esi, esi
jne 0x464320
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464380
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [edi]
mov ebx, eax
test esi, esi
je 0x4643df
mov dword [edi], 0
jmp 0x4643a0
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4643af
mov eax, esi
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [edx]
push ebx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4643e7
test ecx, ecx
je 0x4643df
test esi, esi
jne 0x4643a0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4649d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edx, edx
jmp 0x4649e0
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x5448e0], ecx
inc edx
cmp edx, 0x100
jb 0x4649e0
cmp edx, 0x800
jae 0x464ab9
lea ebx, [ebx]
mov eax, dword [edx*4 + 0x5444e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x5448e0]
inc edx
mov dword [edx*4 + 0x5448dc], eax
cmp edx, 0x800
jb 0x464a90
lea esi, [ebp - 0x24]
mov dword [0x543074], 0x4674c0
call fcn.004675f0
test eax, eax
je 0x464b76
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, eax
shr eax, 4
shr esi, 8
and eax, 0xf00f
and esi, 0xff00f
xor edi, edi
mov dword [ebp - 4], eax
mov ecx, 0x5404d8
xor edx, edx
mov eax, dword [ecx - 8]
cmp eax, dword [ebp - 0x20]
jne 0x464b0c
mov eax, dword [ebp - 0x1c]
cmp dword [ecx - 4], eax
jne 0x464b0c
cmp dword [ecx], ebx
je 0x464b44
add edx, 0xc
inc edi
add ecx, 0xc
cmp edx, 0x24
jb 0x464af8
or ecx, 0xffffffff
sub ecx, 0
je 0x464b5c
dec ecx
je 0x464b48
dec ecx
jne 0x464b76
cmp esi, 6
jb 0x464b76
jne 0x464b6c
cmp dword [ebp - 4], 0xf
jb 0x464b76
mov dword [0x543074], 0x467570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
jmp 0x464b1b
cmp esi, 5
jb 0x464b76
jne 0x464b6c
mov eax, dword [ebp - 4]
cmp eax, 6
jb 0x464b76
cmp eax, 0xa
jmp 0x464b6a
cmp esi, 6
jb 0x464b76
jne 0x464b6c
cmp dword [ebp - 4], 0x100c
je 0x464b76
mov dword [0x543074], 0x467570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx]
and esi, 7
mov dword [ebp - 4], 0
cmp eax, 5
jae 0x468d92
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea edx, [edx + eax - 4]
push ebx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
add edi, eax
cmp edi, edx
jae 0x468dc0
mov cl, byte [edi]
and cl, 0xfe
cmp cl, 0xe8
je 0x468dc0
inc edi
cmp edi, edx
jb 0x468db1
mov ebx, edi
sub ebx, eax
mov eax, ebx
sub eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp edi, edx
jae 0x468ec7
cmp eax, 3
jbe 0x468df7
xor esi, esi
mov al, byte [edi + 4]
mov dword [ebp - 8], ebx
test al, al
je 0x468e34
cmp al, 0xff
je 0x468e34
and esi, 3
add esi, esi
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x468da5
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x468ddb
movzx eax, byte [esi + 0x508340]
mov ecx, edi
sub ecx, eax
cmp byte [esi + 0x508338], 0
mov al, byte [ecx + 4]
je 0x468e20
test al, al
je 0x468e20
cmp al, 0xff
jne 0x468ddb
and esi, 3
add esi, esi
mov dword [ebp - 8], ebx
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x468da5
movzx ecx, byte [edi + 2]
movzx edx, al
movzx eax, byte [edi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
sub edx, ebx
lea eax, [edx - 5]
test esi, esi
je 0x468e97
movzx edx, byte [esi + 0x508340]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
mov cl, bl
test cl, cl
je 0x468e7e
cmp cl, 0xff
jne 0x468e94
mov ebx, dword [ebp - 4]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x468e52
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
add ebx, 5
mov byte [edi + 3], dl
mov edx, dword [ebp - 0xc]
mov byte [edi + 2], cl
mov byte [edi + 1], al
mov dword [ebp - 4], ebx
jmp 0x468da5
cmp eax, 3
jbe 0x468edc
mov edx, dword [ebp + 0xc]
pop edi
xor esi, esi
mov eax, ebx
pop ebx
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [eax - 1]
shl esi, cl
pop edi
mov eax, ebx
pop ebx
and esi, 7
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x476a42
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 0x476a58
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x476a64
or edi, 1
push 1
call esi
test ax, ax
jns 0x476a70
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x476a7c
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x476a88
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x476be8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004b9c60
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b1c2d
leave
ret

Function at 0x47958b
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 0x4795b3
cmp ebx, dword [esi + 0x148]
je 0x4795b3
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x148]
cmp ebx, eax
je 0x47968a
push edi
test eax, eax
je 0x479612
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 + 0x148]
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 + 0x148]
mov ecx, esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x148], edi
test ebx, ebx
je 0x479689
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x479689
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x479689
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x479689
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x148], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
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 + 0x148]
mov ecx, esi
call sym.WEMediaSetup.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x479c51
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 + 0x1c4]
xor ebx, ebx
call sym.WEMediaSetup.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x479ca6
push ebx
lea ecx, [esi + 0x1c4]
mov byte [ebp - 1], 0
call sym.WEMediaSetup.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
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 0x479d0a
lea ecx, [esi + 0x1c4]
inc ebx
call sym.WEMediaSetup.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp ebx, eax
jl 0x479c6d
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x479d6f
sub eax, 4
je 0x479d0e
dec eax
dec eax
jne 0x479d66
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004ba495
pop ecx
mov ecx, dword [esi + 0x144]
push VariantTimeToDosDateTime
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.WEMediaSetup.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x479d66
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 0x479d68
cmp dword [esi + 0x148], 0
je 0x479d66
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 + 0x158]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x15c]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.00476a42
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x148]
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 0x479d66
cmp dword [esi + 0x148], 0
je 0x479dcd
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x479dcd
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x479dcd
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004b4c39
pop ecx
pop ecx
test eax, eax
je 0x479dcd
mov ecx, dword [esi + 0x148]
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x479d66
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call sym.WEMediaSetup.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x479d0a
Function at 0x47c25f
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x47c808
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 0x47c83c
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 0x47c837
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x47c864
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x47c84d
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004b63e0
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 0x47d7e2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x53f1e4]
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 0x47d88a
movzx ecx, word [esi]
test cx, cx
je 0x47d88a
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x47d81d
cmp cx, 0x5c
jne 0x47d81f
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x47d811
cmp eax, esi
je 0x47d85e
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004b4cb9
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0047d7e2
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004b9db8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004b9d87
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.004b1c2d
leave
ret
Function at 0x47f0f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x47f16b
cmp dword [esi + 4], 0xffffffff
jne 0x47f16b
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5062dc
push edi
call fcn.004b9d87
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x47f13d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x47f13d
mov eax, 0x2000000
jmp 0x47f170
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047c615
add esp, 0x10
test eax, eax
jne 0x47f15b
mov eax, dword [ebp + 0x10]
jmp 0x47f170
push eax
call fcn.0047ecdf
mov dword [esi], eax
mov eax, dword [0x541b2c]
pop ecx
jmp 0x47f170
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc