joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411f60
Capabilities:
Check if file exists
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x18]
xor bl, bl
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
push edi
mov edi, dword [ebp + 0xc]
test edx, edx
je 0x4120dd
test edi, edi
je 0x4120dd
test eax, eax
je 0x4120dd
test ecx, ecx
je 0x4120dd
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00432ee0
add esp, 0xc
test esi, esi
je 0x411ff0
cmp word [esi], 0
je 0x411ff0
push esi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00438a66
add esp, 0xc
jmp 0x412004
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4120dd
push 0
lea eax, [ebp - 0x210]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4120dd
add eax, 2
push 0x4596b0
push eax
call fcn.004312c9
mov esi, eax
add esp, 8
test esi, esi
je 0x4120dd
push esi
push dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4120d4
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 0x34
push eax
push 0x45894c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4120d4
mov ecx, dword [ebp - 0x218]
test ecx, ecx
je 0x4120d4
movzx eax, word [ecx + 0x12]
mov bl, 1
mov edx, dword [ebp - 0x21c]
mov word [edx], ax
movzx eax, word [ecx + 0x10]
mov edx, dword [ebp - 0x220]
mov word [edi], ax
movzx eax, word [ecx + 0x16]
mov word [edx], ax
movzx eax, word [ecx + 0x14]
mov ecx, dword [ebp - 0x224]
mov word [ecx], ax
push esi
call fcn.00430e13
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004312d2
mov esp, ebp
pop ebp
ret

Function at 0x4120f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
call fcn.00432ee0
add esp, 0xc
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x214]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x412165
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x412165
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004312d2
mov esp, ebp
pop ebp
ret
Function at 0x412180
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x27c]
push 0x20a
push 0
push eax
call fcn.00432ee0
push 0x20a
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.00432ee0
add esp, 0x18
mov dword [ebp - 0x4b4], 0
lea eax, [ebp - 0x4b4]
push eax
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x4b4]
test eax, eax
je 0x412228
lea ecx, [ebp - 0x488]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x412228
push 0x104
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push str.tencentwemeet_temp
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x41228e
call fcn.004102f0
cmp eax, 3
jl 0x412287
push str.WemeetFileUtil::GetWemeetServiceTempPath
push 0xda
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_file_util.cc
push 3
lea ecx, [ebp - 0x368]
call fcn.00404330
add eax, 0x10
mov dword [ebp - 4], 1
push str.PathAppend_error
push eax
call fcn.00402c00
add esp, 8
lea ecx, [ebp - 0x368]
call fcn.00404f70
xor al, al
jmp 0x412392
xorps xmm0, xmm0
mov dword [ebp - 0x490], 0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x48c], 0
movups xmmword [ebp - 0x4a0], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4122b5
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00403080
lea eax, [ebp - 0x4a0]
mov dword [ebp - 4], 2
push eax
call fcn.004128f0
mov ecx, dword [ebp - 0x48c]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x412334
mov edx, dword [ebp - 0x4a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41232a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4123ac
push ecx
push edx
call fcn.00430e05
add esp, 8
lea eax, [ebp - 0x4b0]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x4b0], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x412382
push 0x60
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00432ee0
add esp, 0xc
lea eax, [ebp - 0x70]
push 0x60
push eax
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x27c]
mov ecx, edi
push eax
call fcn.004115b0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004312d2
mov esp, ebp
pop ebp
ret
call fcn.00435fbe
int3
Function at 0x413d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x413dab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x413dab
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x413d9a
cmp esi, edx
jae 0x413dab
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x413d88
cmp esi, edx
jae 0x413dab
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x415940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4540eb
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x46a180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004102f0
cmp eax, 6
jl 0x4159b8
push str.WemeetTimer::StartTimer::_lambda_6ac8a01194aaec5a444539a4dbfaea87_::operator___
push 0x28
push str.D:qci_workspace_root_workspaces__qci_pipeline_10854701_1_appWindows_serviceupdate_serviceutilwemeet_timer.cc
push 6
lea ecx, [ebp - 0xf8]
call fcn.00404330
add eax, 0x10
mov dword [ebp - 4], 0
push str.install_timer_time_out__stop_service.
push eax
call fcn.00402c00
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.00404f70
lea ecx, [ebp - 0xfc]
call fcn.00415df0
push 0
push 0x458d38
push str._c_net_stop_WemeetUpdateSvc
push 0x458f68
push str.open
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xfc]
call fcn.00417870
lea ecx, [ebp - 0xfc]
call fcn.00415e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004312d2
mov esp, ebp
pop ebp
ret
Function at 0x4166d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4542ae
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x46a180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 2
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x416894
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x41689e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 3
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
test eax, eax
je 0x4167c1
cmp word [eax], bx
je 0x4167c1
push 0x459290
lea eax, [ebp - 0x10]
push str.SoftwareTencent_s
push eax
call fcn.00416340
add esp, 0xc
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x4167a3
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
xor eax, eax
mov byte [ebp - 4], 3
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x4167c1
cmp dword [ebp + 0x10], eax
je 0x4167fa
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4167d9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x4167e4
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
mov ecx, 1
mov dword [ebp + 0x10], 0x105
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x105
or ecx, eax
jge 0x416823
push 0x105
mov ecx, edi
call fcn.00413ae0
lea eax, [ebp + 0x10]
push eax
push dword [edi]
lea ecx, [ebp - 0x24]
push dword [ebp + 0xc]
call fcn.00417650
mov ecx, dword [edi]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x41684f
push dword [ecx - 8]
push ecx
call fcn.00439bd5
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x41688a
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x41688a
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
cmp dword [ebp + 0xc], edx
jne 0x41687e
mov eax, dword [edi]
cmp dword [eax - 0xc], edx
je 0x41687e
push 0x459310
mov ecx, edi
call fcn.004176d0
jmp 0x4167c1
mov ecx, edi
call fcn.00416290
jmp 0x4167c1
push 0x80070057
call fcn.00406380
push 0x80004005
call fcn.00406380
push 0x80004005
call fcn.00406380
int3
Function at 0x417480
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454435
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46a180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x417627
cmp word [eax], 0
je 0x417627
mov dword [ebp - 4], 0
call fcn.004139e0
mov ecx, eax
test ecx, ecx
je 0x417645
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x105
or eax, ecx
mov dword [ebp - 4], 1
jge 0x417509
push 0x105
lea ecx, [ebp - 0x10]
call fcn.00413ae0
mov edi, dword [ebp - 0x10]
push 0
push 0x23
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
jne 0x41751e
xor eax, eax
jmp 0x417532
push dword [edi - 8]
push edi
call fcn.00439bd5
add esp, 8
test eax, eax
js 0x41763b
cmp eax, dword [edi - 8]
jg 0x41763b
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
mov dword [edi - 0xc], eax
push edi
mov word [edi + eax*2], cx
call esi
or ebx, 0xffffffff
test eax, eax
je 0x417612
push 0x459290
lea eax, [ebp - 0x10]
push str.Tencent_s
push eax
call fcn.00416070
mov edi, dword [ebp - 0x10]
add esp, 0xc
push edi
call esi
test eax, eax
jne 0x417581
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push edi
call esi
test eax, eax
je 0x41759c
lea eax, [ebp - 0x10]
push str.UpdateSvr.ini
push eax
call fcn.00416070
mov edi, dword [ebp - 0x10]
add esp, 8
lea ecx, [ebp - 0x14]
call fcn.00415d90
mov ecx, dword [ebp + 0x18]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4175d1
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4175d1
push eax
push ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push str._d:_d:new_s:old_s
push eax
call fcn.00416340
add esp, 0x18
jmp 0x4175e8
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push str._d:_d
push eax
call fcn.00416340
add esp, 0x10
mov esi, dword [ebp - 0x14]
push edi
push esi
push dword [ebp + 0x10]
push str.Status
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x417612
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x417627
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x80070057
call fcn.00406380
push 0x80004005
call fcn.00406380
int3
Function at 0x417650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4176c1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x41768f
cmp eax, 2
jne 0x4176ab
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4176bb
test ecx, ecx
je 0x4176b6
test cl, 1
jne 0x4176ab
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4176bb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4303b1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.0043a8dc
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x4303f0
sub eax, 1
je 0x4303eb
sub eax, 1
je 0x4303e7
xor eax, eax
leave
ret
push 3
jmp 0x4303f2
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x431b3f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x431b7e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x431b7e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x431b7e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x431b7e
cmp dword [ecx + 0x74], 0xe
jbe 0x431b7e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44aeef
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044abaf

Function at 0x452410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x45243d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x45243d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407d18
Capabilities:
Encode data using xor
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push 0
push 0
push 0
cld
call dword es:[sym.imp.KERNEL32.dll_GetShortPathNameW]
sub eax, 3
mov edx, dword [ecx]
imul eax, edx
cmp al, 0x7c
je 0x407d6a
lea eax, [esp + 4]
push eax
push esp
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
cmp eax, dword [edx + ebp]
je 0x407dad
mov eax, 0x407d65
lea eax, [edx + eax]
push ebp
push eax
push 0
call sub.KERNEL32.dll_EnumResourceTypesW
test eax, eax
jne 0x407d83
jmp 0x407dad
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
cld
or eax, 7
xchg dword [esp + 0xc], edx
lea eax, es:[eax + 0x78968f]
sub eax, 0x783648
add dword es:[edx - 0x1b4], eax
mov ecx, dword [esp]
sub esp, 0xffffffec
mov eax, 0
mov dx, cs
push dx
push ecx
retf
invalid
add byte [eax], al
add byte [eax], al
stosb byte es:[edi], al
std
push eax
clc
adc word [edx], 0x13fa
mov dword [0xbbeff177], eax
or edi, dword [eax + 0x4e]
jbe 0x407df1
mov eax, 0xe6926f70
or al, 0x33
add byte [eax], 0x89
lea eax, [ebx + 0x55aae63f]
and al, 0x66
pop ds
pop ds
invalid
shr dword [ebx - 0x4a], 1
sbb al, 0x51
pushal
add byte [edi + 0x6cbf2571], dl
call 0x7f9a90e3
push ss
bound eax, qword [eax]
mov dl, 0xdd
push es
add byte [ecx + 0x1b], dh
mov dl, 0x11
push edi
mov cl, 0x12
retf 0x57c
Function at 0x4011c0
Capabilities:
Copy file
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp + 0xe4]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x48973c
push eax
call edi
mov ebx, dword [esp + 0x224]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0xf4]
push ebx
push ecx
call esi
lea edx, [esp + 0xf4]
push str..ttf
push edx
call esi
push 0x180
lea eax, [esp + 0xf8]
push 0x8101
push eax
call fcn.00401740
mov ebp, eax
add esp, 0xc
cmp ebp, 0xffffffff
jne 0x401234
push str.Couldnt_create_data_file
call fcn.004016c0
add esp, 4
mov ecx, dword [esp + 0x220]
mov edx, dword [esp + 0x21c]
push ecx
push edx
push ebp
call fcn.004014a0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x401262
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
push ebp
call fcn.004013c0
add esp, 4
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x174]
push eax
push ecx
call edi
lea edx, [esp + 0x10]
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0xb4]
push eax
push ecx
call edi
lea edx, [esp + 0xb4]
push str._fonts
push edx
call esi
lea eax, [esp + 0x10]
push str._fonts_
push eax
call esi
lea ecx, [esp + 0x10]
push ebx
push ecx
call esi
lea edx, [esp + 0x10]
push str..ttf
push edx
call esi
lea eax, [esp + 0x50]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x50]
push 0x489704
push ecx
call esi
lea edx, [esp + 0x50]
push ebx
push edx
call esi
lea eax, [esp + 0x50]
push str..fot
push eax
call esi
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x178]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x1b4]
push ebx
push ecx
call edi
lea edx, [esp + 0x1b4]
push str..ttf
push edx
call esi
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x1b4]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
push 0
call dword [sym.imp.GDI32.dll_CreateScalableFontResourceA]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceA]
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xf4]
push ecx
call fcn.00401390
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x401390
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4013a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4013a9
xor eax, eax
test eax, eax
je 0x4013ba
push eax
call fcn.00401cf0
add esp, 4
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x4014a0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x48c1c0]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x40164d
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x48c0c0]
lea edi, [ecx*4 + 0x48c0c0]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x40164d
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x40150e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x40151f
push 2
push ebp
push eax
call fcn.00402300
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x40167e
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x4015c9
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x40157a
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x401567
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x40154a
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40166f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x4015c5
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x401546
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40163e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401612
cmp eax, 5
jne 0x4015fb
mov dword [0x48bdf0], eax
mov dword [0x48bdec], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.00401cf0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x401632
cmp byte [ebp], 0x1a
jne 0x401632
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x48bdec], 0x1c
jmp 0x401657
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x48bdec], 9
pop edi
pop esi
pop ebp
mov dword [0x48bdf0], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x4015c5
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4016af
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x4015c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x4015c9