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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5a30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54c1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x48]
call fcn.0040f4d0
push eax
mov eax, str._vlcplugins.7z
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004070c0
add esp, 4
lea esi, [ebx + 0x78]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00407a10
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x46148e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004bb4d8
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x4614b3
mov edx, dword [ebp - 0x48]
push edx
call fcn.004bb4d8
add esp, 4
push 0
push 0
push ebx
push 0x461b00
push 0
push 0
call fcn.004be51d
xor ecx, ecx
add esp, 0x18
test eax, eax
mov dword [ebx + 0x98], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bb4e3
mov esp, ebp
pop ebp
ret
Function at 0x4629b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0f40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54c1b4]
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 0x4629e5
mov eax, dword [esi]
jmp 0x4629e7
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462a96
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004682a0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x462a13
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
mov esi, eax
call fcn.00413580
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x462a34
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
add esp, 4
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x462a50
mov eax, dword [ebx]
jmp 0x462a52
mov eax, ebx
test eax, eax
je 0x462ab2
mov ecx, dword [ebp - 0x30]
cmp dword [ecx - 0xc], 0
jl 0x462a77
push eax
push ecx
call fcn.004bdd5f
add esp, 8
test eax, eax
je 0x462ab2
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jge 0x462ab7
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 0x462a96
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.004bb4e3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x30]
jmp 0x462a77
mov esi, dword [ebx + 0x10]
mov edx, dword [ecx - 0xc]
add esi, eax
cmp esi, edx
jne 0x462a77
dec eax
js 0x462af7
cmp eax, edx
jg 0x462af7
cmp byte [eax + ecx], 0x40
jne 0x462a77
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 0x462af3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x462a98
push 0x80070057
call fcn.00407ea0
int3
Function at 0x468690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef61c
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54c1b4]
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 [0x5503a0], bl
jne 0x4686ed
or dword [0x5503a0], ebx
mov dword [ebp - 4], 0
call fcn.0045fa50
push 0x4f70e0
call fcn.004bd58e
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
mov edx, 0x5503a8
call fcn.0045fa20
push ebx
mov eax, 0x5118c0
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00407820
lea esi, [ebp - 0x48]
call fcn.00403d70
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00407720
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x46873d
mov eax, dword [ebp - 0x48]
push eax
call fcn.004bb4d8
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x468748
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 [0x5503a0], bl
jne 0x46877f
or dword [0x5503a0], ebx
mov byte [ebp - 4], 3
call fcn.0045fa50
push 0x4f70e0
call fcn.004bd58e
add esp, 4
mov ecx, dword [0x550444]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0x18], esi
jb 0x4687ab
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004bb4d8
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.004bb4e3
mov esp, ebp
pop ebp
ret

Function at 0x46bcf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef31e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x54c1b4]
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 [0x5503a0], bl
jne 0x46bd4d
or dword [0x5503a0], ebx
mov dword [ebp - 4], 0
call fcn.0045fa50
push 0x4f70e0
call fcn.004bd58e
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
mov edx, 0x5503a8
call fcn.0045fa20
push ebx
mov eax, 0x5118c0
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00407820
lea esi, [ebp - 0x48]
call fcn.00403d70
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00407720
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x34], esi
jb 0x46bd9d
mov eax, dword [ebp - 0x48]
push eax
call fcn.004bb4d8
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x46bda8
lea eax, [ebp - 0x2c]
push ebx
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [edi]
mov eax, dword [edx + 0x44]
mov ecx, edi
call eax
cmp dword [ebp - 0x18], esi
jb 0x46bdd5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004bb4d8
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.004bb4e3
mov esp, ebp
pop ebp
ret
Function at 0x46da70
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 0x46dacf
mov dword [edi], 0
jmp 0x46da90
mov eax, 0x400000
cmp esi, 0x400000
ja 0x46da9f
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 0x46dad7
test ecx, ecx
je 0x46dacf
test esi, esi
jne 0x46da90
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 0x46daf0
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 0x46db4f
mov dword [edi], 0
jmp 0x46db10
mov eax, 0x400000
cmp esi, 0x400000
ja 0x46db1f
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 0x46db57
test ecx, ecx
je 0x46db4f
test esi, esi
jne 0x46db10
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 0x46e140
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 0x46e150
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 + 0x551700], ecx
inc edx
cmp edx, 0x100
jb 0x46e150
cmp edx, 0x800
jae 0x46e229
lea ebx, [ebx]
mov eax, dword [edx*4 + 0x551300]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x551700]
inc edx
mov dword [edx*4 + 0x5516fc], eax
cmp edx, 0x800
jb 0x46e200
lea esi, [ebp - 0x24]
mov dword [0x54fe68], 0x470c30
call fcn.00470d60
test eax, eax
je 0x46e2e6
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, 0x54d4c0
xor edx, edx
mov eax, dword [ecx - 8]
cmp eax, dword [ebp - 0x20]
jne 0x46e27c
mov eax, dword [ebp - 0x1c]
cmp dword [ecx - 4], eax
jne 0x46e27c
cmp dword [ecx], ebx
je 0x46e2b4
add edx, 0xc
inc edi
add ecx, 0xc
cmp edx, 0x24
jb 0x46e268
or ecx, 0xffffffff
sub ecx, 0
je 0x46e2cc
dec ecx
je 0x46e2b8
dec ecx
jne 0x46e2e6
cmp esi, 6
jb 0x46e2e6
jne 0x46e2dc
cmp dword [ebp - 4], 0xf
jb 0x46e2e6
mov dword [0x54fe68], 0x470ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
jmp 0x46e28b
cmp esi, 5
jb 0x46e2e6
jne 0x46e2dc
mov eax, dword [ebp - 4]
cmp eax, 6
jb 0x46e2e6
cmp eax, 0xa
jmp 0x46e2da
cmp esi, 6
jb 0x46e2e6
jne 0x46e2dc
cmp dword [ebp - 4], 0x100c
je 0x46e2e6
mov dword [0x54fe68], 0x470ce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4724e0
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 0x472502
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 0x472530
mov cl, byte [edi]
and cl, 0xfe
cmp cl, 0xe8
je 0x472530
inc edi
cmp edi, edx
jb 0x472521
mov ebx, edi
sub ebx, eax
mov eax, ebx
sub eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp edi, edx
jae 0x472637
cmp eax, 3
jbe 0x472567
xor esi, esi
mov al, byte [edi + 4]
mov dword [ebp - 8], ebx
test al, al
je 0x4725a4
cmp al, 0xff
je 0x4725a4
and esi, 3
add esi, esi
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x472515
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x47254b
movzx eax, byte [esi + 0x513ba8]
mov ecx, edi
sub ecx, eax
cmp byte [esi + 0x513ba0], 0
mov al, byte [ecx + 4]
je 0x472590
test al, al
je 0x472590
cmp al, 0xff
jne 0x47254b
and esi, 3
add esi, esi
mov dword [ebp - 8], ebx
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x472515
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 0x472607
movzx edx, byte [esi + 0x513ba8]
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 0x4725ee
cmp cl, 0xff
jne 0x472604
mov ebx, dword [ebp - 4]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x4725c2
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 0x472515
cmp eax, 3
jbe 0x47264c
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 0x4801b8
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 0x4801ce
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x4801da
or edi, 1
push 1
call esi
test ax, ax
jns 0x4801e6
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4801f2
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4801fe
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x48035e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x54c1b4]
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.004c3610
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.Update.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.004bb4e3
leave
ret

Function at 0x482d10
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 0x482d38
cmp ebx, dword [esi + 0x148]
je 0x482d38
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x148]
cmp ebx, eax
je 0x482e0f
push edi
test eax, eax
je 0x482d97
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.Update.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 0x482e0e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x482e0e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x482e0e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x482e0e
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.Update.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 0x4833d6
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.Update.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
test eax, eax
jle 0x48342b
push ebx
lea ecx, [esi + 0x1c4]
mov byte [ebp - 1], 0
call sym.Update.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 0x48348f
lea ecx, [esi + 0x1c4]
inc ebx
call sym.Update.exe_public:_int___thiscall_DuiLib::CStdPtrArray::GetSize_void_const
cmp ebx, eax
jl 0x4833f2
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x4834f4
sub eax, 4
je 0x483493
dec eax
dec eax
jne 0x4834eb
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.004c3e65
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.Update.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 0x4834eb
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 0x4834ed
cmp dword [esi + 0x148], 0
je 0x4834eb
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.004801b8
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 0x4834eb
cmp dword [esi + 0x148], 0
je 0x483552
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x483552
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x483552
mov ecx, dword [esi + 0x148]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.004be5bd
pop ecx
pop ecx
test eax, eax
je 0x483552
mov ecx, dword [esi + 0x148]
call sym.Update.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x4834eb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call sym.Update.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x48348f
Function at 0x485a68
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x486011
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 0x486045
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 0x486040
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x48606d
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x486056
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.004bfd90
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 0x486feb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x54c1b4]
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 0x487093
movzx ecx, word [esi]
test cx, cx
je 0x487093
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x487026
cmp cx, 0x5c
jne 0x487028
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x48701a
cmp eax, esi
je 0x487067
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004be66b
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00486feb
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004c378f
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004c375e
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.004bb4e3
leave
ret
Function at 0x4888f9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x488974
cmp dword [esi + 4], 0xffffffff
jne 0x488974
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x5118c0
push edi
call fcn.004c375e
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x488946
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x488946
mov eax, 0x2000000
jmp 0x488979
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00485e1e
add esp, 0x10
test eax, eax
jne 0x488964
mov eax, dword [ebp + 0x10]
jmp 0x488979
push eax
call fcn.004884e8
mov dword [esi], eax
mov eax, dword [0x54e92c]
pop ecx
jmp 0x488979
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc