joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002780d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x1002782e
xor eax, eax
jmp 0x10027983
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x1002785a
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x10027857
inc edx
cmp edx, ecx
jb 0x1002784a
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x10027967
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x10027892
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x100278cf
cmp al, 0xff
je 0x100278cf
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x10027960
dec ecx
shl esi, cl
and esi, 7
je 0x10027872
movzx eax, byte [esi + 0x101e86dc]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x101e86d4], 0
mov al, byte [ecx + 4]
je 0x100278b9
test al, al
je 0x100278b9
cmp al, 0xff
jne 0x10027872
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x10027841
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x100278fc
add ebx, edi
add ebx, edx
jmp 0x10027900
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x10027936
movzx eax, byte [esi + 0x101e86dc]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x10027925
cmp al, 0xff
jne 0x10027936
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x100278f0
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x100278c4
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10027a4a
Capabilities:
Read .ini file

Disassembly:
push 0x258
mov eax, 0x101dbd27
call fcn.1005dbe7
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x10027a72
xor al, al
jmp 0x10027bd2
call fcn.10027d70
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10079700
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x264]
push eax
call fcn.10027fb2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push esi
cmovae eax, dword [ebp - 0x248]
mov esi, 0x10270400
push 0x104
push ecx
push esi
push eax
push 0x101e87b8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1008755c
pop ecx
pop ecx
test eax, eax
jne 0x10027b81
and dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x230]
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
mov ecx, edi
push eax
push 0x101e87b8
call fcn.10027bda
test al, al
jne 0x10027b4b
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
xor bl, bl
jmp 0x10027bc1
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100812cd
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.10002690
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.10027e71
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x10027bb0
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.10002960
push 0
push 1
lea ecx, [ebp - 0x260]
mov bl, 1
call fcn.10002690
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.10002690
mov al, bl
call fcn.1005dba2
ret 8

Function at 0x10027cec
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.100216ee
mov ecx, eax
call fcn.100749e1
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10270400
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xcc], 0
jne 0x10027d3c
xor eax, eax
jmp 0x10027d49
lea eax, [ebp - 0xcc]
push eax
call fcn.100812ef
pop ecx
push eax
lea eax, [ebp - 0xcc]
mov ecx, esi
push eax
call fcn.10002750
cmp dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
seta al
xor ecx, ebp
pop esi
call fcn.1005db7c
mov esp, ebp
pop ebp
ret 4

Function at 0x10027d9f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.100216ee
mov ecx, eax
call fcn.100749e1
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10270400
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xcc]
push eax
call fcn.100812ef
cmp eax, 1
pop ecx
mov ecx, dword [ebp - 4]
setg al
xor ecx, ebp
call fcn.1005db7c
mov esp, ebp
pop ebp
ret
Function at 0x10028db3
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10028eb2
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x10028eb1
cmp dword [ebp - 4], 0
jne 0x10028eb1
push edi
call fcn.1005dc8d
pop ecx
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10028eb1
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x10028eaa
mov eax, dword [ebp - 8]
push 0
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
push 0
push dword [ebp - 4]
push dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x10028e98
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10028e93
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
push ecx
push eax
mov dword [edi], vtable.Gdiplus::Bitmap.0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], eax
jmp 0x10028e95
xor edi, edi
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x10]
call fcn.1005d847
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x10028ebd
xor eax, eax
jmp 0x10028f36
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
mov ecx, dword [esi + 0x10]
test eax, eax
je 0x10028edb
test ecx, ecx
je 0x10028ed5
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x10], 0
jmp 0x10028eb9
call fcn.10005810
mov ecx, dword [esi + 0x10]
mov dword [esi], eax
call fcn.10005840
mov ecx, esi
mov dword [esi + 4], eax
call fcn.10028d47
test al, al
je 0x10028f0d
push 0
push dword [esi + 0x10]
mov byte [esi + 8], 1
call fcn.10028d33
mov ecx, eax
call fcn.100284a0
push dword [ebp + 8]
mov ecx, esi
call fcn.10028d9e
test al, al
je 0x10028f33
push 1
push dword [ebp + 8]
mov byte [esi + 8], 1
push dword [esi + 0x10]
call fcn.10028d33
mov ecx, eax
call fcn.10028418
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10029011
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100290be
push ebx
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.10078c00
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0x10]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
push dword [ebp + 0x10]
call fcn.10028cc7
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100290bc
mov ecx, esi
call fcn.10005810
mov ebx, dword [ebp - 4]
mov ecx, esi
mov dword [ebx], eax
call fcn.10005840
mov ecx, ebx
mov dword [ebx + 4], eax
mov dword [ebx + 0x10], esi
call fcn.10028d47
mov byte [ebx + 8], al
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10029fcb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
xor ebx, ebx
mov esi, ecx
push 0x208
push ebx
push eax
mov dword [ebp - 0x210], ebx
call fcn.10079700
add esp, 0xc
cmp dword [esi + 0x116c], ebx
je 0x1002a063
cmp dword [esi + 0x11e4], ebx
jbe 0x1002a029
add esi, 0x11d4
cmp dword [esi + 0x14], 8
jb 0x1002a021
mov esi, dword [esi]
push esi
push str._sTempSkin_
jmp 0x1002a077
add esi, 0x1174
cmp dword [esi + 0x14], 8
jb 0x1002a039
mov eax, dword [esi]
jmp 0x1002a03b
mov eax, esi
push eax
lea eax, [ebp - 0x20c]
push str._sTempSkin_
push eax
call fcn.10021d12
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002a086
jmp 0x1002a069
add esi, 0x1174
cmp dword [esi + 0x14], 8
jb 0x1002a071
mov esi, dword [esi]
push esi
push str._sSkin_
lea eax, [ebp - 0x20c]
push eax
call fcn.10021d12
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.100025f0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005db7c
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a0a9
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x101dc10d
call fcn.1005dbe7
mov esi, ecx
mov edi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
push eax
call fcn.10029fcb
mov byte [ebp - 4], 1
call fcn.10021df3
movss xmm0, dword [0x101e551c]
fstp dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x5c]
comiss xmm1, dword [0x101e5518]
jb 0x1002a144
comiss xmm0, xmm1
jbe 0x1002a144
push 0x101e5474
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029174
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.100040e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
movss xmm0, dword [ebp - 0x5c]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x101e5520]
cvtpd2ps xmm0, xmm0
jmp 0x1002a207
comiss xmm1, xmm0
movsd xmm2, qword [0x101e5530]
jb 0x1002a195
cvtps2pd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1002a195
push 0x101e5490
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029174
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.100040e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
movss xmm0, dword [ebp - 0x5c]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x101e5528]
jmp 0x1002a13b
cvtps2pd xmm0, xmm1
lea eax, [ebp - 0x58]
comisd xmm0, xmm2
jb 0x1002a1dc
push 0x101e54ac
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029174
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.100040e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
movss xmm0, dword [ebp - 0x5c]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x101e5530]
jmp 0x1002a13b
push 0x101e54c8
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029174
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.100040e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
movss xmm0, dword [ebp - 0x5c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
movss dword [esi + 0x1200], xmm0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002a25b
push 0x101e54c8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10029174
add esp, 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.100040e0
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
movss xmm0, dword [ebp - 0x5c]
movss dword [esi + 0x1200], xmm0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100046f0
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.10002690
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10002690
mov eax, edi
call fcn.1005dba2
ret 4
Function at 0x1002b180
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x101dc392
call fcn.1005dbe7
mov esi, ecx
cmp byte [esi + 0x1204], 0
mov edi, dword [ebp + 8]
jne 0x1002b1a4
xor eax, eax
jmp 0x1002b300
xor ebx, ebx
mov dword [esi + 0x11fc], 1
cmp word [0x10270400], bx
jne 0x1002b1bd
mov eax, ebx
jmp 0x1002b1c8
push 0x10270400
call fcn.100812ef
pop ecx
push eax
push 0x10270400
lea ecx, [esi + 0x11a4]
call fcn.10002750
lea ecx, [esi + 0x11bc]
cmp dword [ecx + 0x10], ebx
je 0x1002b1f2
push 0x101e5698
call fcn.10021996
test eax, eax
jne 0x1002b1fe
mov dword [esi + 0x1160], 1
jmp 0x1002b204
mov dword [esi + 0x1160], ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10079700
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.1002a0a9
cmp dword [eax + 0x14], 8
jb 0x1002b22f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x102704b0
push eax
call fcn.10021d12
add esp, 0xc
lea ecx, [ebp - 0x248]
push ebx
push 1
call fcn.10002690
cmp dword [esi + 0x1160], ebx
jne 0x1002b2ea
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002b2ea
mov dword [esi + 0x1160], 1
call fcn.100770ae
push ebx
push 0x4f
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x101e5698
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.100812ef
pop ecx
push eax
push 0x101e5698
lea ecx, [ebp - 0x230]
call fcn.10002750
mov dword [ebp - 4], ebx
call fcn.100770ae
lea ecx, [ebp - 0x230]
push ecx
push 0x91
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push ebx
push 1
call fcn.10002690
mov ecx, esi
call fcn.10029f90
mov ecx, esi
call fcn.10029f81
push edi
mov ecx, esi
call fcn.1002b308
call fcn.1005dba2
ret 4
Function at 0x1002cdf7
Capabilities:
Read .ini file

Disassembly:
call fcn.1002cdb9
mov ecx, eax
jmp fcn.1002f48b
Function at 0x1002f81c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, 0x208
lea eax, [ebp - 0x414]
push esi
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x418], ebx
call fcn.10079700
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10079700
mov eax, dword [ebx + 0x24]
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x41c], ecx
cmp ecx, eax
je 0x1002f98c
mov esi, ebx
push edi
mov ebx, dword [ecx + 0x14]
lea edi, [ebx + 0xc]
push edi
call fcn.100812ef
pop ecx
test eax, eax
jle 0x1002f96f
push edi
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.10021d12
mov esi, dword [ebp - 0x418]
add esp, 0xc
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x1002f8b4
mov eax, dword [esi]
jmp 0x1002f8b6
mov eax, esi
push eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x101e8f60
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push 0x101e8f60
push eax
call fcn.1008755c
pop ecx
pop ecx
test eax, eax
je 0x1002f903
lea eax, [ebp - 0x20c]
push eax
call fcn.100887ff
pop ecx
mov ecx, dword [ebx + 4]
mov byte [ecx], al
push edi
lea eax, [ebp - 0x414]
push str.Use_s
push eax
call fcn.10021d12
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1002f920
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x20c]
mov esi, str.nothing
push eax
push esi
lea eax, [ebp - 0x414]
push eax
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1008755c
pop ecx
pop ecx
test eax, eax
je 0x1002f969
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 8]
call fcn.100812cd
pop ecx
pop ecx
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x41c]
call fcn.1002d0bc
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x41c]
cmp ecx, dword [eax]
jne 0x1002f877
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1005db7c
mov esp, ebp
pop ebp
ret

Function at 0x10030b35
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x328]
add ecx, 0x4b8
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x358]
call fcn.1004dded
mov ecx, esi
call fcn.100315f3
mov ecx, esi
pop esi
jmp fcn.10032f5b
Function at 0x1003389f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x34
mov eax, 0x101dcbe9
call fcn.1005dbe7
mov esi, ecx
mov eax, dword [esi + 0x38c]
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x100338c5
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov esi, eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10070cf0
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1005804b
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.1001d2c0
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1003399c
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x1003392f
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x10033937
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1003399c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x1003392f
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
inc eax
push eax
push ecx
push eax
push edx
call fcn.100571d0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
mov edi, 0xa2
push ebx
push ebx
push ebx
push edi
call esi
push ebx
push ebx
push ebx
push 0x56
call esi
push ebx
push 2
push ebx
push 0x56
call esi
push ebx
push 2
push ebx
push edi
call esi
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.1001d2c0
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.10002690
call fcn.1005dba2
ret 0x18
Function at 0x10036609
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x101dd114
call fcn.1005dbe7
mov edi, ecx
call fcn.100216ee
mov ecx, eax
call fcn.1005efdf
push eax
lea ecx, [ebp - 0x40]
call fcn.100025f0
and dword [ebp - 4], 0
mov esi, str.LatelyCharFace.xml
push esi
call fcn.100812ef
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10004340
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10070cf0
pop ecx
pop ecx
xor ebx, ebx
lea esi, [edi + 0x338]
inc ebx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], bl
cmp esi, eax
je 0x10036674
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.1001d481
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100366bd
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1001c909
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.10037e28
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.1001d2c0
jmp 0x1003676e
push 0x48
call fcn.1005d806
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x100366e8
cmp dword [esi + 0x14], 0x10
jb 0x100366da
mov ecx, dword [esi]
jmp 0x100366dc
mov ecx, esi
push ecx
mov ecx, eax
call fcn.10059670
mov edi, eax
jmp 0x100366ea
xor edi, edi
push 0x38
mov byte [ebp - 4], bl
call fcn.1005d806
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10036718
push 0x10270643
push 0x101e89f4
push 0x101e89fc
mov ecx, eax
call fcn.10059560
jmp 0x1003671a
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.1005a4d0
push 0x50
call fcn.1005d806
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x10036746
push 0x101eb0ac
mov ecx, eax
call fcn.10059850
jmp 0x10036748
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.1005a4d0
cmp dword [esi + 0x14], 0x10
jb 0x1003675b
mov esi, dword [esi]
push esi
mov ecx, edi
call fcn.1005aef0
test edi, edi
je 0x1003676e
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.1001d2c0
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.10002690
mov eax, ebx
call fcn.1005dba2
ret