joyce8/EMBER2024-capa huggingface dataset:
Function at 0x624572
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x6abc60]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6245b6
push 0xa
pop esi
cmp word [ebx], si
jne 0x6245b6
or byte [eax + edi + 0x28], 4
jmp 0x6245bb
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x624726
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x6246fe
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x624608
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x624632
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x624651
push 0xa
pop ebx
cmp word [edx], bx
jne 0x62461f
push ebx
add eax, 4
pop edx
jmp 0x624627
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x6245cd
jmp 0x624726
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6246f9
cmp dword [ebp - 0x14], 0
je 0x6246f9
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x6abc60]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x6246d5
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x62469d
mov word [esi], ax
jmp 0x624723
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x6abc60]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x6abc60]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x6abc60]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x624723
cmp word [ebp - 4], ax
jne 0x6246df
cmp esi, ebx
je 0x624695
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0062438f
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x624726
push 0xd
pop eax
jmp 0x624695
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x6abc60]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x624720
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x624726
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x625209
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00625185
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x625378
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x625378
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x62532d
jg 0x625265
test eax, eax
je 0x625323
push 1
push 0x1000
call fcn.0061b920
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x625288
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x62531a
push 0x8000
push ebx
call fcn.00616c71
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x6252b1
jg 0x6252ac
cmp ecx, 0x1000
jb 0x6252b1
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0061cfcc
add esp, 0x10
cmp eax, 0xffffffff
je 0x6252f6
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x6252ac
jl 0x6252dd
test ecx, ecx
jne 0x62529e
push dword [ebp - 0xc]
push ebx
call fcn.00616c71
push esi
call fcn.006174a0
add esp, 0xc
xor ebx, ebx
jmp 0x625386
cmp byte [edi + 0x24], 0
je 0x62530d
cmp dword [edi + 0x20], 5
jne 0x62530d
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x625318
mov ebx, dword [edi + 0x18]
jmp 0x62531a
xor ebx, ebx
push esi
call fcn.006174a0
pop ecx
jmp 0x625386
test ecx, ecx
jg 0x6252ef
jl 0x62532d
test eax, eax
jae 0x6252ef
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0062438f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x62534d
cmp byte [edi + 0x1c], 0
je 0x6252ef
jmp 0x62537e
push ebx
call fcn.0061c4b5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x6252ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x625386
cmp byte [edi + 0x1c], 0
je 0x625383
mov ebx, dword [edi + 0x18]
jmp 0x625386
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0062438f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x626d80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x626dad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x626dad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
or eax, ebx
mov dword [ebp - 8], edx
jne 0x40623a
mov ecx, 0x80
mov esi, edx
mov edi, 0x441240
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x10]
cmp esi, 1
je 0x406377
xor ebx, ebx
lea edi, [eax + 1]
dec esi
jmp 0x40623d
mov esi, dword [ebp + 0x10]
cmp dword [0x4403d0], 0
je 0x4062fd
mov eax, dword [0x43f8b0]
lea ecx, [eax + eax*2]
mov eax, dword [0x4403c4]
lea edx, [eax + ecx*8]
mov ecx, dword [0x43f8b0]
test ecx, ecx
js 0x4062a5
cmp dword [edx + 0xc], 0
mov eax, dword [edx + 8]
ja 0x406271
test eax, eax
je 0x4062a5
add eax, dword [edx]
mov ecx, dword [edx + 4]
adc ecx, dword [edx + 0xc]
mov dword [ebp + 0xc], ecx
mov ecx, dword [0x43f8b0]
cmp edi, eax
jne 0x4062a5
cmp ebx, dword [ebp + 0xc]
jne 0x4062a5
mov eax, esi
xor ecx, ecx
add dword [edx + 8], eax
mov eax, dword [0x4403cc]
adc ecx, dword [edx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x4403c8]
jmp 0x4062cd
mov eax, dword [0x4403cc]
inc ecx
mov dword [0x43f8b0], ecx
mov ecx, dword [0x4403c8]
mov dword [edx + 0x18], edi
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
mov dword [edx + 0x20], esi
mov dword [edx + 0x24], 0
push dword [0x4403d0]
shl esi, 9
add ecx, esi
push esi
push 1
push dword [ebp - 8]
adc eax, 0
mov dword [0x4403c8], ecx
mov dword [0x4403cc], eax
call fcn.0041daa7
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
shld ebx, edi, 9
lea eax, [ebp - 0x14]
push eax
push ebx
shl edi, 9
push edi
push dword [0x441d28]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0
lea eax, [ebp + 0xc]
shl esi, 9
push eax
push esi
push dword [ebp - 8]
push dword [0x441d28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
je 0x406342
cmp dword [ebp + 0xc], esi
je 0x406377
mov ecx, dword [0x4403d4]
inc ecx
mov dword [0x4403c0], 1
mov dword [0x4403d4], ecx
cmp ecx, 0xa
jg 0x406377
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 0xc]
push esi
push edi
push str.WriteFile_error_bRet:_u_WriteSize:_u_dwSize:_u_ErrCode:_u
call fcn.0040ffe0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4063e0
Capabilities:
Encode data using xor

Disassembly:
push esi
test ecx, ecx
mov eax, 1
push edi
mov esi, edx
mov edi, 0x10
cmovne eax, ecx
mov ecx, eax
lea esi, [esi + 1]
shr ecx, 1
mov edx, ecx
xor edx, 0xa3000000
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xa3000000
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xa3000000
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xa3000000
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xa3000000
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xa3000000
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xa3000000
and cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xa3000000
and dl, 1
cmove eax, ecx
mov byte [esi - 1], al
sub edi, 1
jne 0x4063f3
pop edi
pop esi
ret
Function at 0x408860
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], edx
push edi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 8], eax
lea esi, [eax + 1]
push esi
call fcn.0041d7a6
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
jne 0x40889a
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov eax, esi
cmp byte [eax], 0
je 0x4088f9
nop dword [eax + eax]
cmp edi, 0x104
jge 0x4088e1
movsx ecx, byte [esi]
xor edx, edx
call fcn.00408c00
cmp ebx, eax
jne 0x4088e1
movsx eax, byte [esi]
push ebx
push eax
push str._C:_is_belong_to_phydrive_d
call fcn.0040ffe0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov al, byte [esi]
mov byte [edi + ecx], al
inc edi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4088e6
sub eax, edx
inc esi
add esi, eax
cmp byte [esi], cl
jne 0x4088b0
mov eax, dword [ebp - 4]
push eax
call fcn.0041d78b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0
mov edi, ecx
lea ecx, [ebp - 8]
shld eax, edx, 9
push ecx
shl edx, 9
push eax
push edx
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 0x4000
call fcn.0041d7a6
add esp, 4
mov esi, eax
lea eax, [ebp + 0xc]
push 0
push eax
push 0x4000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call fcn.0041d78b
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 0xc]
push edi
push str.Try_write_part2_bRet:_u_dwSize:_u_code:_u
call fcn.0040ffe0
add esp, 0x10
test edi, edi
je 0x409e09
cmp dword [ebp + 0xc], 0x4000
jne 0x409e09
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4100f0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x43f004]
xor eax, esp
mov dword [esp + 0x10c], eax
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
lea eax, [esp + 0xc]
push 0x104
push 0x104
push eax
call fcn.00401350
push dword [eax + 4]
push dword [eax]
call fcn.0041d594
add esp, 0x20
lea eax, [esp]
push 0
push 0
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x41016d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp dword [ebp + 8], 0
je 0x410181
test eax, eax
jne 0x410185
xor eax, eax
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00418e9d
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x41016d
mov ecx, dword [esp + 0x10c]
mov eax, 1
xor ecx, esp
call fcn.00418e9d
mov esp, ebp
pop ebp
ret
Function at 0x410790
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x43b10c]
movq xmm0, qword [str.SOFTWARE_]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x104
mov word [ebp - 8], ax
lea eax, [ebp - 0x114]
push 0
push eax
movq qword [ebp - 0x10], xmm0
call fcn.0041a3d0
add esp, 0xc
mov dword [ebp - 0x120], 0xffffffff
xor edi, edi
mov dword [ebp - 0x124], 4
mov dword [ebp - 0x11c], edi
mov esi, 0x30
mov dword [ebp - 0x118], edi
mov dword [ebx], edi
nop
cmp byte [esi + str.SoftwareMicrosoftWindows_NTCurrentVersionUBR], 0x5c
je 0x41083e
sub esi, 1
jne 0x410800
lea eax, [ebp - 0x11c]
push eax
push 0x2001d
push esi
push str.SOFTWARE
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41090e
mov dword [ebp - 0x11c], edi
jmp 0x410962
push 9
lea eax, [ebp - 0x10]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
call fcn.0041f015
add esp, 0xc
test eax, eax
je 0x4108a5
lea eax, [esi + 0xa]
cmp eax, 0x104
jae 0x4108ad
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0041d7b1
push str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0041f14b
lea eax, [esi + 9]
add esp, 0x18
cmp eax, 0x104
jae 0x410986
mov byte [ebp + eax - 0x114], 0
jmp 0x4108e1
cmp esi, 0x104
jb 0x4108c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e9d
mov esp, ebp
pop ebp
ret
push str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.0041d7b1
add esp, 0xc
mov byte [ebp + esi - 0x114], 0
lea eax, [ebp - 0x118]
inc esi
push eax
push 0x20019
push 0
lea eax, [ebp - 0x114]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41090e
mov dword [ebp - 0x118], edi
jmp 0x410951
lea eax, [ebp - 0x124]
push eax
push ebx
lea eax, [ebp - 0x120]
push eax
push 0
lea eax, [esi + str.SoftwareMicrosoftWindows_NTCurrentVersionUBR]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
je 0x41094c
test eax, eax
jne 0x410951
cmp dword [ebp - 0x120], 4
jne 0x410951
cmp dword [ebp - 0x124], edi
jbe 0x410951
mov edi, 1
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x410962
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x410973
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418e9d
mov esp, ebp
pop ebp
ret
call fcn.00418fcd
int3
Function at 0x411660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, edx
push esi
push edi
lea esi, [ecx + 0x200]
mov edi, ebx
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x18]
lea edi, [ebx + 0x10]
mov edx, dword [ebx + 0x20]
mov esi, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x18], edx
add edx, 0xffffffe0
mov dword [ebx + 0x1c], esi
adc esi, 0xffffffff
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x4c], esi
or eax, 0xffffffff
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x48], edx
mov dword [edi], 0
test esi, esi
je 0x4116ca
nop dword [eax + eax]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x433fe0]
sub esi, 1
jne 0x4116b0
not eax
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x413200
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x43f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x43bd14
lea eax, [ebp - 0x108]
push 0x40
push eax
call fcn.004013a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
xor edi, edi
xor esi, esi
nop word [eax + eax]
push edi
push 0x43bd30
lea eax, [ebp - 0x88]
push 0x40
push eax
call fcn.004013a0
mov eax, dword [0x44040c]
add esp, 0x10
add eax, 0x304
add eax, esi
push str.._ventoylanguages.ini
push 0x80
push eax
push 0x43bd68
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x108]
push eax
call ebx
sub esi, 0xffffff80
inc edi
cmp esi, 0x1900
jl 0x413240
push 0x100000
call fcn.0041d7a6
mov esi, eax
add esp, 4
mov dword [ebp - 0x118], esi
test esi, esi
je 0x413486
push str.._ventoylanguages.ini
push 0x80000
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
cmp word [esi], 0
mov ebx, esi
mov edi, dword [0x44040c]
mov dword [ebp - 0x10c], esi
je 0x41346a
nop word [eax + eax]
cmp dword [0x4403fc], 0xc8
jge 0x413464
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 9
jl 0x413447
mov ecx, 0x43bd6c
mov edx, ebx
mov esi, 0xe
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x413447
add ecx, 4
add edx, 4
sub esi, 4
jae 0x413310
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x413447
lea eax, [ebx + 0x12]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.._ventoylanguages.ini
push 0x100
lea eax, [edi + 0x200]
push eax
push 0x43bd68
push 0x43bd80
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.._ventoylanguages.ini
push 0xa
push 0x43bd98
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ebx, ebx
mov dword [edi + 0x300], eax
xor ecx, ecx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ecx
nop word [eax + eax]
mov eax, dword [0x44040c]
lea esi, [ebx + 0x1c04]
push str.._ventoylanguages.ini
push 0x800
add esi, edi
add eax, 0x304
push esi
push 0x43bd68
add eax, ecx
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esi], 0
je 0x41340e
mov ecx, ebx
mov eax, ebx
nop dword [eax + eax]
movzx edx, word [ecx + edi + 0x1c06]
test dx, dx
je 0x413408
cmp word [ecx + edi + 0x1c04], 0x23
jne 0x4133f8
cmp edx, 0x40
jne 0x4133f8
mov dword [ecx + edi + 0x1c04], 0xa000d
add eax, 2
mov ecx, eax
cmp word [edi + eax + 0x1c04], 0
jne 0x4133d0
mov ebx, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
add ebx, 0x800
sub ecx, 0xffffff80
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ecx
cmp ecx, 0x1900
jl 0x413390
inc dword [0x4403fc]
add edi, 0x1ac04
mov ebx, dword [ebp - 0x10c]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2]
add ebx, 2
mov dword [ebp - 0x10c], ebx
cmp word [ebx], 0
jne 0x4132e0
mov esi, dword [ebp - 0x118]
push esi
call fcn.0041d78b
add esp, 4
push dword [0x4403fc]
push str.Total__d_languages_...
call fcn.0040ffe0
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418e9d
mov esp, ebp
pop ebp
ret
Function at 0x416a60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
or edx, 0xffffffff
push edi
add dword [esi + 0xa4], 0xfffffffc
lea edi, [esi + 0xa8]
mov ebx, dword [esi + 0xa4]
test ebx, ebx
je 0x416a9a
nop
movzx eax, byte [edi]
lea edi, [edi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x441840]
sub ebx, 1
jne 0x416a80
mov edi, dword [esi + 0xa4]
not edx
movzx ecx, byte [edi + esi + 0xab]
movzx eax, byte [edi + esi + 0xaa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + esi + 0xa9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + esi + 0xa8]
shl ecx, 8
or ecx, eax
cmp edx, ecx
jne 0x416c98
lea ebx, [esi + 0xa0]
mov dword [ebx], 2
mov al, byte [esi + 0xa9]
test al, 0x3f
jne 0x416c8f
test al, 0x40
je 0x416b22
push edi
lea edi, [esi + 0xa8]
mov ecx, esi
push ebx
mov edx, edi
call fcn.00416960
add esp, 8
cmp eax, 1
jne 0x416c98
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov al, byte [esi + 0xa9]
jmp 0x416b2e
or ecx, 0xffffffff
lea edi, [esi + 0xa8]
or edx, 0xffffffff
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edx
test al, al
jns 0x416b5c
push dword [esi + 0xa4]
mov edx, edi
mov ecx, esi
push ebx
call fcn.00416960
add esp, 8
cmp eax, 1
jne 0x416c98
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
jmp 0x416b62
or eax, 0xffffffff
or ecx, 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov edx, dword [esi + 0xa4]
mov eax, edx
mov ecx, dword [ebx]
sub eax, ecx
cmp eax, 2
jb 0x416c98
mov al, byte [ecx + esi + 0xa8]
inc ecx
mov dword [ebx], ecx
cmp al, 0x21
jne 0x416c8f
mov al, byte [ecx + esi + 0xa8]
inc ecx
mov dword [ebx], ecx
cmp al, 1
jne 0x416c8f
sub edx, ecx
cmp edx, 1
jb 0x416c98
mov dl, byte [ecx + esi + 0xa8]
lea eax, [ecx + 1]
mov edi, dword [esi + 0x4a8]
mov dword [ebx], eax
cmp dl, 0x27
ja 0x416c8f
movzx eax, dl
mov ecx, eax
and eax, 1
shr ecx, 1
add eax, 2
add ecx, 0xb
shl eax, cl
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x30], eax
test ecx, ecx
je 0x416c2d
cmp eax, dword [edi + 0x34]
jbe 0x416bf1
pop edi
pop esi
mov eax, 4
pop ebx
ret
mov dword [edi + 0x2c], eax
cmp ecx, 2
jne 0x416c2d
cmp dword [edi + 0x38], eax
jae 0x416c2d
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x416c11
push ecx
call fcn.0041d78b
mov eax, dword [edi + 0x30]
add esp, 4
push eax
call fcn.0041d7a6
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
jne 0x416c2d
mov dword [edi + 0x38], eax
mov eax, 3
pop edi
pop esi
pop ebx
ret
mov dword [edi + 0x68], 0
mov dword [edi + 0x40], 0
mov byte [edi + 0x50], 1
mov dword [edi + 0x6ee4], 0
mov edx, dword [esi + 0xa4]
mov ecx, dword [ebx]
cmp ecx, edx
jae 0x416c67
mov al, byte [ecx + esi + 0xa8]
inc ecx
mov dword [ebx], ecx
test al, al
jne 0x416c8f
cmp ecx, edx
jb 0x416c55
pop edi
mov dword [esi + 0x40], 0
xor eax, eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
pop esi
mov dword [ebx], 0
pop ebx
ret
pop edi
pop esi
mov eax, 6
pop ebx
ret
pop edi
pop esi
mov eax, 7
pop ebx
ret
Function at 0x41e521
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
mov dword [ebp - 0x68c], eax
je 0x41e51c
invalid
invalid
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0041dc7b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041dc30
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
inc dword [ecx - 0x3e27a3a]
invalid
dec dword [edx - 0x3e17a3a]
invalid
call [ebx - 0x3e07a3a]
invalid
inc dword [edx - 0x3df7a3a]
invalid
dec dword [ebx - 0x3de7a3a]
invalid
jmp dword [esi - 0x3dd7a3a]
invalid
dec dword [edi - 0x3dc7a3a]
invalid
inc dword [eax - 0x3db7a3a]
invalid
dec dword [edx - 0x3da7a3a]
invalid
inc dword [edx - 0x3d97a3a]
invalid
invalid
je 0x41e51c
invalid