joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027746
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 0x10027767
xor eax, eax
jmp 0x100278bc
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 0x10027793
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x10027790
inc edx
cmp edx, ecx
jb 0x10027783
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x100278a0
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x100277cb
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x10027808
cmp al, 0xff
je 0x10027808
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x10027899
dec ecx
shl esi, cl
and esi, 7
je 0x100277ab
movzx eax, byte [esi + 0x101e86dc]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x101e86d4], 0
mov al, byte [ecx + 4]
je 0x100277f2
test al, al
je 0x100277f2
cmp al, 0xff
jne 0x100277ab
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 0x1002777a
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 0x10027835
add ebx, edi
add ebx, edx
jmp 0x10027839
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x1002786f
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 0x1002785e
cmp al, 0xff
jne 0x1002786f
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 0x10027829
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 0x100277fd
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 0x10027983
Capabilities:
Read .ini file

Disassembly:
push 0x258
mov eax, 0x101dbc86
call fcn.1005d984
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x100279ab
xor al, al
jmp 0x10027b0b
call fcn.10027ca9
push 0x208
mov esi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10079740
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, edi
push dword [ebp - 0x264]
push eax
call fcn.10027eeb
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, 0x10270410
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.100875a3
pop ecx
pop ecx
test eax, eax
jne 0x10027aba
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.10027b13
test al, al
jne 0x10027a84
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
xor bl, bl
jmp 0x10027afa
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1008131d
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.10027daa
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 2
cmp ebx, eax
je 0x10027ae9
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.1005d93f
ret 8

Function at 0x10027c25
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.1002165c
mov ecx, eax
call fcn.10074893
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10270410
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0xcc], 0
jne 0x10027c75
xor eax, eax
jmp 0x10027c82
lea eax, [ebp - 0xcc]
push eax
call fcn.1008133f
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.1005d919
mov esp, ebp
pop ebp
ret 4

Function at 0x10027cd8
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.1002165c
mov ecx, eax
call fcn.10074893
push eax
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x10270410
push str.UserID
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0xcc]
push eax
call fcn.1008133f
cmp eax, 1
pop ecx
mov ecx, dword [ebp - 4]
setg al
xor ecx, ebp
call fcn.1005d919
mov esp, ebp
pop ebp
ret
Function at 0x10028cec
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 0x10028deb
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 0x10028dea
cmp dword [ebp - 4], 0
jne 0x10028dea
push edi
call fcn.1005da2d
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 0x10028dea
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 0x10028de3
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 0x10028dd1
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x10028dcc
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 0x10028dce
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.1005d5e4
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x10028df6
xor eax, eax
jmp 0x10028e6f
mov eax, dword [ecx + 8]
and dword [ecx + 8], 0
mov ecx, dword [esi + 0x10]
test eax, eax
je 0x10028e14
test ecx, ecx
je 0x10028e0e
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x10], 0
jmp 0x10028df2
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.10028c80
test al, al
je 0x10028e46
push 0
push dword [esi + 0x10]
mov byte [esi + 8], 1
call fcn.10028c6c
mov ecx, eax
call fcn.100283d9
push dword [ebp + 8]
mov ecx, esi
call fcn.10028cd7
test al, al
je 0x10028e6c
push 1
push dword [ebp + 8]
mov byte [esi + 8], 1
push dword [esi + 0x10]
call fcn.10028c6c
mov ecx, eax
call fcn.10028351
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10028f4a
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 0x10028ff7
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.10078c40
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.10028c00
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10028ff5
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.10028c80
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 0x1002a2a2
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.10079740
add esp, 0xc
cmp dword [esi + 0x116c], ebx
je 0x1002a33a
cmp dword [esi + 0x11e4], ebx
jbe 0x1002a300
add esi, 0x11d4
cmp dword [esi + 0x14], 8
jb 0x1002a2f8
mov esi, dword [esi]
push esi
push str._sTempSkin_
jmp 0x1002a34e
add esi, 0x1174
cmp dword [esi + 0x14], 8
jb 0x1002a310
mov eax, dword [esi]
jmp 0x1002a312
mov eax, esi
push eax
lea eax, [ebp - 0x20c]
push str._sTempSkin_
push eax
call fcn.10021c4b
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002a35d
jmp 0x1002a340
add esi, 0x1174
cmp dword [esi + 0x14], 8
jb 0x1002a348
mov esi, dword [esi]
push esi
push str._sSkin_
lea eax, [ebp - 0x20c]
push eax
call fcn.10021c4b
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.1005d919
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a380
Capabilities:
Check if file exists

Disassembly:
push 0x54
mov eax, 0x101dc085
call fcn.1005d984
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.1002a2a2
mov byte [ebp - 4], 1
call fcn.10021d2c
movss xmm0, dword [0x101e551c]
fstp dword [ebp - 0x5c]
movss xmm1, dword [ebp - 0x5c]
comiss xmm1, dword [0x101e5518]
jb 0x1002a41b
comiss xmm0, xmm1
jbe 0x1002a41b
push 0x101e5474
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100290ad
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 0x1002a4de
comiss xmm1, xmm0
movsd xmm2, qword [0x101e5530]
jb 0x1002a46c
cvtps2pd xmm0, xmm1
comisd xmm2, xmm0
jbe 0x1002a46c
push 0x101e5490
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100290ad
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 0x1002a412
cvtps2pd xmm0, xmm1
lea eax, [ebp - 0x58]
comisd xmm0, xmm2
jb 0x1002a4b3
push 0x101e54ac
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100290ad
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 0x1002a412
push 0x101e54c8
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100290ad
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 0x1002a532
push 0x101e54c8
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100290ad
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.1005d93f
ret 4
Function at 0x1002b457
Capabilities:
Check if file exists

Disassembly:
push 0x23c
mov eax, 0x101dc30a
call fcn.1005d984
mov esi, ecx
cmp byte [esi + 0x1204], 0
mov edi, dword [ebp + 8]
jne 0x1002b47b
xor eax, eax
jmp 0x1002b5d7
xor ebx, ebx
mov dword [esi + 0x11fc], 1
cmp word [0x10270410], bx
jne 0x1002b494
mov eax, ebx
jmp 0x1002b49f
push 0x10270410
call fcn.1008133f
pop ecx
push eax
push 0x10270410
lea ecx, [esi + 0x11a4]
call fcn.10002750
lea ecx, [esi + 0x11bc]
cmp dword [ecx + 0x10], ebx
je 0x1002b4c9
push 0x101e5698
call fcn.100218cf
test eax, eax
jne 0x1002b4d5
mov dword [esi + 0x1160], 1
jmp 0x1002b4db
mov dword [esi + 0x1160], ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.10079740
add esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, esi
push eax
call fcn.1002a380
cmp dword [eax + 0x14], 8
jb 0x1002b506
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x102704c0
push eax
call fcn.10021c4b
add esp, 0xc
lea ecx, [ebp - 0x248]
push ebx
push 1
call fcn.10002690
cmp dword [esi + 0x1160], ebx
jne 0x1002b5c1
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002b5c1
mov dword [esi + 0x1160], 1
call fcn.100770de
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.1008133f
pop ecx
push eax
push 0x101e5698
lea ecx, [ebp - 0x230]
call fcn.10002750
mov dword [ebp - 4], ebx
call fcn.100770de
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.1002a267
mov ecx, esi
call fcn.1002a258
push edi
mov ecx, esi
call fcn.1002b5df
call fcn.1005d93f
ret 4
Function at 0x1002ce1f
Capabilities:
Read .ini file

Disassembly:
call fcn.1002cde1
mov ecx, eax
jmp fcn.1002f64c
Function at 0x1002f9dd
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.10079740
push esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10079740
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 0x1002fb4d
mov esi, ebx
push edi
mov ebx, dword [ecx + 0x14]
lea edi, [ebx + 0xc]
push edi
call fcn.1008133f
pop ecx
test eax, eax
jle 0x1002fb30
push edi
lea eax, [ebp - 0x414]
push str.Is_s
push eax
call fcn.10021c4b
mov esi, dword [ebp - 0x418]
add esp, 0xc
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x1002fa75
mov eax, dword [esi]
jmp 0x1002fa77
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.100875a3
pop ecx
pop ecx
test eax, eax
je 0x1002fac4
lea eax, [ebp - 0x20c]
push eax
call fcn.10088846
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.10021c4b
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x1002fae1
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.100875a3
pop ecx
pop ecx
test eax, eax
je 0x1002fb2a
lea eax, [ebp - 0x20c]
push eax
push dword [ebx + 8]
call fcn.1008131d
pop ecx
pop ecx
mov esi, dword [ebp - 0x418]
lea ecx, [ebp - 0x41c]
call fcn.1006e15c
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0x41c]
cmp ecx, dword [eax]
jne 0x1002fa38
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d919
mov esp, ebp
pop ebp
ret

Function at 0x100310c4
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.1004dce8
mov ecx, esi
call fcn.10031bce
mov ecx, esi
pop esi
jmp fcn.10033670
Function at 0x10033fb4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x34
mov eax, 0x101dcc24
call fcn.1005d984
mov esi, ecx
mov eax, dword [esi + 0x38c]
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x10033fda
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.1006163b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10057db4
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.1001d2c0
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100340b1
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x10034044
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 0x1003404c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100340b1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x10034044
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.1003a769
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.1005d93f
ret 0x18
Function at 0x10036cab
Capabilities:
Check if file exists

Disassembly:
push 0x50
mov eax, 0x101dd17c
call fcn.1005d984
mov edi, ecx
call fcn.1002165c
mov ecx, eax
call fcn.10043927
push eax
lea ecx, [ebp - 0x40]
call fcn.100025f0
and dword [ebp - 4], 0
mov esi, str.LatelyCharFace.xml
push esi
call fcn.1008133f
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.1006163b
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 0x10036d16
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 0x10036d5f
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.100384a9
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.1001d2c0
jmp 0x10036e10
push 0x48
call fcn.1005d5a3
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x10036d8a
cmp dword [esi + 0x14], 0x10
jb 0x10036d7c
mov ecx, dword [esi]
jmp 0x10036d7e
mov ecx, esi
push ecx
mov ecx, eax
call fcn.100593e0
mov edi, eax
jmp 0x10036d8c
xor edi, edi
push 0x38
mov byte [ebp - 4], bl
call fcn.1005d5a3
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10036dba
push 0x10270653
push 0x101e89f4
push 0x101e89fc
mov ecx, eax
call fcn.100592d0
jmp 0x10036dbc
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.1005a240
push 0x50
call fcn.1005d5a3
pop ecx
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x10036de8
push 0x101eb0ac
mov ecx, eax
call fcn.100595c0
jmp 0x10036dea
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.1005a240
cmp dword [esi + 0x14], 0x10
jb 0x10036dfd
mov esi, dword [esi]
push esi
mov ecx, edi
call fcn.1005ac60
test edi, edi
je 0x10036e10
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.1005d93f
ret