joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c763
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5994c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push esi
push edi
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x14], ebx
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x30]
call fcn.0041c7f2
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x194], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x30], eax
mov eax, esp
mov dword [esp + 0x18], esp
push str.0_0__0__0
sub esi, ecx
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
call fcn.004304f6
push ecx
mov byte [esp + 0x1a0], 1
mov eax, esp
mov dword [esp + 0x18], esp
push 0x5e67e8
push eax
call fcn.004304f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c626
lea eax, [esp + 0x14]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x3c]
call fcn.004324bf
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
mov esi, 0x5e4b34
push esi
push eax
call fcn.004304f6
push ecx
mov byte [esp + 0x1a0], 2
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_left
push eax
call fcn.004304f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c626
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.004304f6
push ecx
mov byte [esp + 0x1a0], 3
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_right
push eax
call fcn.004304f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c626
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.004304f6
push ecx
mov byte [esp + 0x1a0], 4
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_top
push eax
call fcn.004304f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c626
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push esi
push eax
call fcn.004304f6
push ecx
mov byte [esp + 0x1a0], 5
mov eax, esp
mov dword [esp + 0x1c], esp
push str.margin_bottom
push eax
call fcn.004304f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c626
push edi
push ecx
mov eax, esp
mov dword [esp + 0x14], esp
push str.cnm_showdow
push eax
call fcn.004304f6
push ecx
mov byte [esp + 0x1a0], 6
mov eax, esp
mov dword [esp + 0x1c], esp
push str.skin
push eax
call fcn.004304f6
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], bl
call fcn.0041c626
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x38]
push 0xf
call fcn.004324bf
or dword [esp + 0x194], 0xffffffff
mov eax, dword [esp + 0x184]
add eax, 0xfffffff0
call fcn.004011c0
lea ecx, [esp + 0x30]
call fcn.00431125
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48f46a
Capabilities:
Create thread

Disassembly:
push 0x18
call fcn.004656b0
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x48f47b
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
mov dword [eax], edx
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
push 0x48f4a5
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov dword [eax + 0xc], edx
call fcn.004a060a
add esp, 0x18
ret

Function at 0x48f7b9
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.0049bec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x48f800
xor eax, eax
inc eax
leave
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x5f1dbc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004328f9
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48f849
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
jmp 0x48f7fb
push esi
push dword [ebp - 4]
xor esi, esi
inc esi
push esi
push str.switch
push str.updatecheck
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x48f875
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
pop esi
leave
ret
xor esi, esi
jmp 0x48f865

Function at 0x48f9c4
Capabilities:
Delete file

Disassembly:
mov eax, 0x59afaf
call fcn.00595190
sub esp, 0xc
push ebx
push edi
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x30]
push edi
mov byte [ebp - 4], 1
call fcn.004821e5
pop ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x12c
push 0
push dword [ebp + 0xc]
lea eax, [esi + 0x28]
push edi
push eax
call fcn.00484265
mov ecx, dword [ebp + 8]
add esp, 0x14
xor edi, edi
test eax, eax
mov dword [ecx], eax
je 0x48fa51
lea eax, [ebx - 0x10]
call fcn.004011c0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
inc edi
jmp 0x48fa30
Function at 0x48fa95
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x59afaf
call fcn.00595190
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
and dword [ebp - 4], 0
lea esi, [edi + 0x30]
push esi
call fcn.004821e5
pop ecx
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48fae5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._s__update:0
mov byte [ebp - 4], 1
call fcn.00432874
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
push 0xffffffffffffffff
push ebx
push esi
xor ecx, ecx
call fcn.00481231
add esp, 0x14
xor esi, esi
test eax, eax
jne 0x48fb38
lea eax, [ebx - 0x10]
call fcn.004011c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x48fad5
inc esi
jmp 0x48fb25

Function at 0x48fb3b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x59a608
call fcn.00595190
sub esp, 0x214
mov eax, dword [0x61b884]
push ebx
push esi
mov esi, 0x61b884
push edi
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x61b884]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x206
lea eax, [ebp - 0x21e]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x220], di
call fcn.0049bec0
add esp, 0xc
push edi
call fcn.0049ed48
pop ecx
push edx
push eax
push str.http:__2398.35go.net_defend_o1_jcqgx.ini
lea eax, [ebp - 0x14]
call fcn.00426b68
mov esi, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00433650
test eax, eax
mov ebx, dword [ebp - 0x10]
pop ecx
pop ecx
jne 0x48fc33
cmp dword [ebx - 0xc], edi
je 0x48fc33
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x48fc33
push str.jcqgx.ini
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
add edi, 0x24
push edi
call fcn.004328d3
push dword [edi]
lea eax, [ebp - 0x10]
call fcn.00480e2c
test eax, eax
mov eax, dword [ebp - 0x10]
pop ecx
jne 0x48fc1e
add eax, 0xfffffff0
jmp 0x48fc36
add eax, 0xfffffff0
call fcn.004011c0
lea eax, [esi - 0x10]
call fcn.004011c0
xor eax, eax
inc eax
jmp 0x48fc45
lea eax, [ebx - 0x10]
call fcn.004011c0
lea eax, [esi - 0x10]
call fcn.004011c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x49053f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x59825a
call fcn.00595190
sub esp, 0x260
push ebx
push esi
push edi
push 0x5e6264
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov edi, ecx
mov dword [ebp - 0x20], esi
call fcn.004328f9
mov dword [ebp - 4], esi
call fcn.0044f759
movzx eax, byte [eax + 0x20]
mov dword [ebp - 0x14], esi
cmp eax, esi
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
je 0x4905a4
cmp dword [edi + 0x14], esi
jne 0x4905a4
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20119
push esi
push eax
push ecx
mov dword [ebp - 0x10], esi
call ebx
cmp eax, esi
je 0x4905c3
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x10]
push edx
push 0x20219
push esi
push eax
push ecx
mov dword [ebp - 0x10], esi
call ebx
cmp eax, esi
jne 0x49066a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [0x61b884]
mov ecx, 0x61b884
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x208
lea eax, [ebp - 0x26a]
mov byte [ebp - 4], 2
push esi
push eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x26c], si
call fcn.0049bec0
mov edi, dword [edi + 0xc]
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push edi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4906f4
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4906bb
cmp eax, 2
je 0x4906bb
cmp eax, 7
je 0x4906bb
cmp eax, 4
jne 0x49068f
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x26c]
call fcn.004a3ccf
lea eax, [ebp - 0x60]
push eax
call fcn.0049bdc3
add esp, 0x14
lea ecx, [ebp - 0x60]
jmp 0x4906ce
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401367
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, esi
jmp 0x49073c
cmp eax, 0xb
jne 0x4906d9
push 0xa
push 0x20
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
call fcn.004a3df7
lea eax, [ebp - 0x60]
push eax
call fcn.0049bdc3
add esp, 0x18
jmp 0x490665
lea eax, [ebp - 0x26c]
push eax
call fcn.0049bdc3
pop ecx
lea ecx, [ebp - 0x26c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00401400
lea ecx, [ebp - 0x10]
call fcn.00481341
lea ecx, [ebp - 0x10]
call fcn.0048142d
lea eax, [ebp - 0x10]
lea edi, [ebp - 0x18]
call fcn.004013bf
cmp dword [ebp - 0x14], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x490707
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401367
mov ebx, dword [ebp + 8]
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004011c0
cmp dword [ebp - 0x14], esi
je 0x49072f
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004011c0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x495191
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [esi], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [edi], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x49521a
push eax
call fcn.0049a638
pop ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x49520c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5e6df4
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x49520c
cmp dword [ebp - 0xc], ebx
je 0x49520c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov dword [edi], ecx
mov eax, dword [eax + 0xc]
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], ebx
je 0x49521a
push dword [ebp - 4]
call fcn.0049bf3a
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x4952ea
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5971f1
call fcn.00595190
sub esp, 0x20c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, 0x61b884
mov dword [ebp - 0x10], edi
call fcn.004014c8
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0x10], 1
mov word [ebp - 0x218], di
call fcn.0049bec0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004328d3
push esi
call fcn.00495256
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x495445
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0049bec0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x49549e
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x495554
mov eax, dword [ebp - 0x94]
dec eax
je 0x495540
dec eax
jne 0x495554
mov eax, dword [ebp - 0xa0]
xor edx, edx
push 6
pop ecx
inc edx
cmp eax, ecx
jne 0x4954ed
cmp dword [ebp - 0x9c], edx
jne 0x4954d7
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
add eax, 8
jmp 0x49553c
cmp dword [ebp - 0x9c], edi
jne 0x495525
xor eax, eax
cmp byte [ebp + 0x76], dl
setne al
lea eax, [eax + eax + 7]
jmp 0x49553c
cmp eax, 5
jne 0x495517
cmp dword [ebp - 0x9c], 2
jne 0x4954fe
push eax
jmp 0x49551e
cmp dword [ebp - 0x9c], 1
jne 0x49550b
mov edi, ecx
jmp 0x495554
cmp dword [ebp - 0x9c], edi
jne 0x495554
push 3
jmp 0x49551e
cmp eax, 4
ja 0x495521
push 4
pop edi
jmp 0x495554
cmp eax, ecx
jb 0x495554
cmp dword [ebp - 0x9c], 2
jae 0x495532
cmp eax, ecx
jbe 0x495554
cmp byte [ebp + 0x76], dl
jne 0x495554
call fcn.0049536d
mov edi, eax
jmp 0x495554
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x49583c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x495855
mov eax, dword [ebp - 4]
jmp 0x49592f
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x49590a
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5ea3c0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x5ea3c0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5ea3c0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x5ea3c0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5ea3c0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x5ea3c0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x5ea3c0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x5ea3c0]
dec ebp
jne 0x495874
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x495926
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x5ea3c0]
dec ecx
jne 0x495914
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x495964
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x495a0f
push edi
push 1
push esi
call fcn.0049e021
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x495a0c
push edi
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x495a05
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x5ee4f0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x495a05
cmp dword [ebp - 4], 0
je 0x495a05
push 0x14
call fcn.004656b0
mov esi, eax
test esi, esi
pop ecx
je 0x495a0c
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
mov dword [esi + 0xc], ecx
lea ecx, [ebp - 0x10]
push ecx
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
and dword [eax], 0
push eax
push 0x5e6df4
push edi
mov dword [esi], vtable.cf::FileVersionInfo.0
mov dword [esi + 4], edi
call sub.VERSION.dll_VerQueryValueW
mov eax, esi
jmp 0x495a0e
push edi
call fcn.0049ca88
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x495c02
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
mov esi, ecx
mov ax, word [esi + 8]
mov word [ebp - 0x14], ax
mov ax, word [esi + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x12], ax
call edi
mov word [ebp - 0x10], ax
mov ax, word [esi + 0xc]
mov word [ebp - 0xe], ax
mov ax, word [esi + 8]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0x4e4
call edi
mov word [ebp - 8], ax
mov word [ebp - 6], 0x4e4
xor edi, edi
mov ebx, 0x104
movzx eax, word [ebp + edi*2 - 0x14]
movzx ecx, word [ebp + edi*2 - 0x12]
push dword [ebp + 8]
inc edi
movzx ecx, cx
push ecx
movzx eax, ax
push eax
push str.StringFileInfo_04x_04x_ls
push ebx
lea eax, [ebp - 0x220]
push ebx
push eax
inc edi
call fcn.0049bdf5
and dword [ebp - 4], 0
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x495ca7
cmp dword [ebp - 4], 0
jne 0x495cb5
cmp edi, 8
jb 0x495c55
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, dword [ebp - 4]
push esi
call fcn.0049bdc3
pop ecx
mov ecx, esi
mov esi, dword [ebp + 0xc]
call fcn.0041e3df
mov al, 1
jmp 0x495cae
Function at 0x495d81
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
xor esi, esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x495e27
push edi
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 8], ebx
mov edi, eax
jne 0x495e12
cmp edi, 0x200000
ja 0x495e12
lea eax, [edi + 2]
push eax
call fcn.0049a638
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x495e12
mov eax, dword [ebp - 4]
cmp eax, edi
jne 0x495e12
mov byte [eax + esi], bl
mov eax, dword [ebp - 4]
mov byte [eax + esi + 1], bl
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
xor esi, esi
mov dword [ebp - 0xc], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
pop edi
je 0x495e27
push esi
call fcn.0049bf3a
pop ecx
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 0xc
Function at 0x498ca0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x599ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
push esi
push edi
mov eax, dword [0x60b1e0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
mov eax, dword [ebp]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x498e7d
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
je 0x498e7d
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x498e7d
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x498e70
test edi, edi
jbe 0x498e70
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.00499250
push esi
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [esp + 0x1c]
call fcn.00448ed8
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x48]
push eax
lea esi, [esp + 0x20]
call fcn.004947ee
cmp dword [esp + 0x24], 0
je 0x498e25
mov eax, dword [ebp]
push eax
mov eax, esi
call fcn.00493760
test eax, eax
je 0x498d9c
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00494a2c
mov byte [esp + 0x40], 2
call fcn.0049374c
mov edx, dword [esp + 0x4c]
push eax
push edx
call fcn.004328bf
mov byte [esp + 0x40], 1
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x20]
call fcn.00493760
test eax, eax
je 0x498dda
mov eax, dword [ebx]
push eax
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x24]
call fcn.00494a2c
mov byte [esp + 0x40], 3
call fcn.0049374c
mov ecx, dword [esp + 0x50]
push eax
push ecx
call fcn.004328bf
mov dword [esp + 0x10], vtable.cf::BkJson::Handle.0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0
call fcn.004947ab
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x498e10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0
call fcn.004947ab
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x498e7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x34
ret