joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e746
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x416008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x214], 7
mov dword [ebp - 0x218], 0
mov word [ebp - 0x228], ax
mov ebx, 3
mov dword [ebp - 4], eax
cmp dword [0x4175b0], ebx
jle 0x4017f0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
nop word [eax + eax]
mov eax, dword [0x4175b4]
push str._files
push dword [eax + ebx*4]
call esi
test eax, eax
jne 0x401714
mov edi, dword [0x4175c4]
mov esi, dword [0x4175c0]
cmp esi, edi
je 0x4017ce
push ecx
lea edx, [ebp - 0x228]
mov ecx, esi
call fcn.004013f0
add esi, 0x18
add esp, 4
cmp esi, edi
jne 0x4016f7
jmp 0x4017ce
mov eax, dword [0x4175b4]
push str.__si_timeout
push dword [eax + ebx*4]
call esi
test eax, eax
jne 0x40172d
inc ebx
jmp 0x4017ce
mov eax, dword [0x4175b4]
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x240], ax
cmp word [edx], ax
je 0x40176f
mov eax, edx
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401760
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x240]
call fcn.00401d10
push ecx
lea edx, [ebp - 0x228]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x240]
call fcn.004013f0
mov byte [ebp - 4], 0
add esp, 4
mov eax, dword [ebp - 0x22c]
cmp eax, 8
jb 0x4017b1
inc eax
push eax
push dword [ebp - 0x240]
call fcn.00401f70
xor eax, eax
mov dword [ebp - 0x22c], 7
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
inc ebx
cmp ebx, dword [0x4175b0]
jl 0x4016d0
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x4017f6
lea eax, [ebp - 0x228]
push 1
push 0
push eax
mov eax, dword [0x4175b4]
push dword [eax + 8]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x40182b
push eax
lea eax, [ebp - 0x210]
push str.ShellExecute_failed._Error_code_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp - 0x214]
cmp eax, 8
jb 0x401843
inc eax
push eax
push dword [ebp - 0x228]
call fcn.00401f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004026e2
mov esp, ebp
pop ebp
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x22008aef
Capabilities:
Check for vm using instruction vpcext

Disassembly:
je 0x22008aee
aas
cmp byte [edi], 0x82
invalid
pop ds
inc ecx
outsb dx, byte [esi]
je 0x22008ab2
aas
or bh, 0xa4
push edx
dec esi
inc ecx
add byte [edx + 0x20411f4e], bl
test dword [edx], ebp
invalid
Function at 0x8dd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008dd1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8dd07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8dd06a
add dl, dl
jne 0x8dd089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8dd0dc
xor eax, eax
add dl, dl
jne 0x8dd096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8dd17d
add dl, dl
jne 0x8dd0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8dd0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8dd0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8dd0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8dd0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8dd075
mov eax, 1
add dl, dl
jne 0x8dd0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8dd0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8dd0e1
sub eax, ebx
mov ebx, 1
jne 0x8dd128
mov ecx, 1
add dl, dl
jne 0x8dd10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8dd119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8dd105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8dd075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8dd13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8dd14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8dd136
cmp eax, 0x7d00
jae 0x8dd16d
cmp eax, 0x500
jb 0x8dd168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8dd075
cmp eax, 0x7f
ja 0x8dd170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8dd075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8dd19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8dd075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x4030e4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x412008], 0x8088405
inc edx
mov dword [ebx + 0x412008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40aa03
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00404914
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067f4
mov edi, eax
cmp edi, 0x104
jbe 0x40aa26
mov eax, edi
add eax, eax
call fcn.00402e04
mov esi, eax
jmp 0x40aa28
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.004067f4
push edi
push esi
call fcn.0040688c
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x40aa61
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x40aa4b
mov eax, esp
cmp esi, eax
je 0x40aa6e
mov eax, esi
call fcn.00402e20
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x40aaa8
cmp bl, 0
je 0x40aaa4
cmp bl, 0x41
jl 0x40aa9f
cmp bl, 0x5a
jg 0x40aa9f
or bl, 0x20
xor al, bl
inc esi
jmp 0x40aa83
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x40a9e8

Function at 0x40c6b0
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x417d9c
mov eax, esi
mov edx, 8
test al, 1
je 0x40c6cc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c6ce
shr eax, 1
dec edx
jne 0x40c6bf
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c6b8
pop esi
ret

Function at 0x40c6fb
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x417d98], 0
jne 0x40c707
call fcn.0040c6b0
push 1
push 0x417d98
call fcn.004066b0
mov eax, edi
test esi, esi
je 0x40c732
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x417d9c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c70d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xd693bc2
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x1c190930
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40757c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x4075c6
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x407595
jmp 0x4075c6
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4075b6
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x408158
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40818d
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x4081b7
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x4081b7
test edi, edi
je 0x408184
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x408184
test edi, edi
je 0x4081bf
mov eax, edi
jmp 0x408186
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x408186
int3
Function at 0x40b262
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestCeilingFloor.exe_gMozillaPoisonSize], eax
call fcn.00408158
pop ecx
mov ecx, dword [sym.TestCeilingFloor.exe_gMozillaPoisonSize]
mov dword [sym.TestCeilingFloor.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40b29a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestCeilingFloor.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x10005936
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10005945
pop dword [ebp - 0x48]
mov eax, 0x10005945
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x65db4e58
sub dword [ebp - 0x58], 0x1789090d
mov dword [ebp - 0x54], 0xcaf31641
sub dword [ebp - 0x54], 0x98bfc9fc
mov dword [ebp - 0x50], 0x78815f2
add dword [ebp - 0x50], 0x44c42e3c
mov dword [ebp - 0x4c], 0x9f72bdf0
add dword [ebp - 0x4c], 0x608d4210
lea eax, [ebp - 0x58]
push eax
mov eax, 0x8bf6c7a7
sub eax, 0x7bf4c7a3
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xdeaba8db
add dword [ebp - 0x58], 0x95c6c07b
mov dword [ebp - 0x54], 0xfc98fa2
add dword [ebp - 0x54], 0x31a2d1d3
mov dword [ebp - 0x50], 0xf14ab42f
add dword [ebp - 0x50], 0x7224b83d
mov dword [ebp - 0x4c], 0x44c344f7
sub dword [ebp - 0x4c], 0x44c344f7
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x8ef48c6a
add eax, 0x810d7396
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3d405
push 0
call eax
mov ecx, 0x1941a1dd
sub ecx, 0x1941572a
xor edx, edx
add edx, eax
mov ebx, 0x1002bc00
add ebx, dword [ebp - 0x48]
mov edi, 0x721afc17
sub edi, 0x6e814f5b
xor dword [ebp - 0x34], ebx
mov esi, dword [ebx]
add dword [ebp - 0x24], eax
xor esi, edi
xor dword [ebp - 0x10], edx
mov dword [edx], esi
xor dword [ebp - 8], 0x7054b5cf
add edx, 4
add ebx, 4
loop 0x10005a5e
add eax, 0xb9a03fff
add eax, 0x4660dda0
mov ebx, eax
add eax, 5
mov ecx, 0x8752aefb
add ecx, 0x88ad5105
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x405100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [0x54e4cc], 0
mov al, cl
push ebx
push esi
push edi
mov byte [esp + 0xf], al
jne 0x40512d
test al, al
je 0x40534b
push 0
push str.General_I_O_error_during_saving__Is_the_file_in_use_
jmp 0x40533c
mov edi, dword [0x789c40]
mov ebx, dword [0x789c44]
push 0x4ddb40
push dword [0x54e4d0]
call fcn.004893d7
mov esi, eax
add esp, 8
test esi, esi
je 0x405194
push esi
test ebx, ebx
je 0x40515f
push ebx
call fcn.004894ab
jmp 0x405166
push 0x20
call fcn.00488f97
add esp, 8
push esi
push 0xa
call fcn.00488f97
add esp, 8
push esi
test edi, edi
je 0x405181
push edi
call fcn.004894ab
jmp 0x405188
push 0x20
call fcn.00488f97
add esp, 8
push esi
call fcn.00489118
add esp, 4
cmp byte [0x552470], 0
je 0x405212
cmp dword [0x50aec0], 0
je 0x405212
cmp byte [0x50add6], 0
je 0x405212
cmp dword [0x50aec0], 0
je 0x405212
mov ecx, dword [0x50aec0]
call fcn.0047b5b0
test eax, eax
je 0x405212
mov ecx, dword [0x552474]
call fcn.0041f820
mov esi, eax
test esi, esi
je 0x405212
push 0x4ddb40
push dword [0x54e4d4]
call fcn.004893d7
mov edi, eax
add esp, 8
test edi, edi
jne 0x4051f9
push esi
call fcn.00488f53
jmp 0x40520f
push edi
push esi
call fcn.004894ab
push esi
call fcn.00488f53
add esp, 0xc
push edi
call fcn.00489118
add esp, 4
push 0x4ddcbc
push dword [0x54e4cc]
call fcn.004893d7
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40532e
mov ecx, 0x55273c
call fcn.00404420
mov ecx, 0x5525a1
mov dword [0x55285b], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405246
sub ecx, edx
mov byte [0x5525a0], cl
mov ecx, 0x5525f2
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405260
sub ecx, edx
mov byte [0x5525f1], cl
mov ecx, 0x552643
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405277
sub ecx, edx
mov byte [0x552642], cl
mov ecx, 0x552694
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405290
sub ecx, edx
mov byte [0x552693], cl
mov ecx, 0x5526e5
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4052a7
movups xmm0, xmmword [0x4ec720]
sub ecx, edx
mov esi, 0x5524c0
mov byte [0x5526e4], cl
mov edi, 0x4f60a0
movups xmmword [0x552510], xmm0
mov ecx, 0x1b2
movups xmm0, xmmword [0x4ec730]
movups xmmword [0x552520], xmm0
movups xmm0, xmmword [0x4ec740]
movups xmmword [0x552530], xmm0
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov al, cl
shl al, 3
sub al, cl
xor byte [ecx + 0x4f60a0], al
inc ecx
cmp ecx, 0x6c8
jl 0x4052f3
push ebx
push 0x6c8
push 1
push 0x4f60a0
call fcn.0048a20c
push ebx
mov esi, eax
call fcn.00489118
add esp, 0x14
cmp esi, 0x6c8
je 0x405354
cmp byte [esp + 0xf], 0
je 0x40534b
push 0
push str.General_I_O_error_during_config_saving__Is_the_file_in_use_
push str.System_message
push 0
call fcn.00441180
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b00
Capabilities:
Check if file exists

Disassembly:
push edi
test ecx, ecx
je 0x409b2b
call fcn.00445fd0
mov edi, eax
test edi, edi
je 0x409b2b
push esi
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov esi, eax
call fcn.00488f53
add esp, 4
test esi, esi
setne al
pop esi
pop edi
ret
xor al, al
pop edi
ret

Function at 0x409b30
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x54e3ac]
mov edx, 0x6f
mov ecx, dword [0x54e3c0]
add eax, 0x12078
nop word [eax + eax]
mov dword [eax], ecx
lea eax, [eax + 0x9e0]
mov dword [eax - 0x9dc], ecx
mov dword [eax - 0x9d8], ecx
mov dword [eax - 0x9d4], ecx
mov dword [eax - 0x9d0], ecx
mov dword [eax - 0x9cc], ecx
mov dword [eax - 0x9c8], ecx
mov dword [eax - 0x9c4], ecx
mov dword [eax - 0x9c0], ecx
mov dword [eax - 0x9bc], ecx
mov dword [eax - 0x9b8], ecx
mov dword [eax - 0x9b4], ecx
mov dword [eax - 0x9b0], ecx
mov dword [eax - 0x9ac], ecx
mov dword [eax - 0x9a8], ecx
mov dword [eax - 0x9a4], ecx
mov dword [eax - 0x9a0], ecx
mov dword [eax - 0x99c], ecx
mov dword [eax - 0x998], ecx
mov dword [eax - 0x994], ecx
mov dword [eax - 0x990], ecx
mov dword [eax - 0x98c], ecx
mov dword [eax - 0x988], ecx
mov dword [eax - 0x984], ecx
mov dword [eax - 0x980], ecx
mov dword [eax - 0x97c], ecx
mov dword [eax - 0x978], ecx
mov dword [eax - 0x974], ecx
mov dword [eax - 0x970], ecx
mov dword [eax - 0x96c], ecx
mov dword [eax - 0x968], ecx
sub edx, 1
jne 0x409b50
push esi
push edi
mov dword [0x4f6094], edx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [0x4f6094]
xor edx, edx
mov ecx, 1
test eax, ecx
je 0x409c41
mov dword [esi*4 + 0x4f6790], edx
inc esi
cmp esi, 8
je 0x409c49
inc edx
rol ecx, 1
cmp edx, 0x20
jb 0x409c30
mov dword [0x4f6094], esi
xor ecx, ecx
lea eax, [ecx + 0xfe]
inc ecx
movzx eax, ax
lea eax, [eax + eax*4]
mov byte [eax*8 + 0x4e8f1c], 0
mov byte [eax*8 + 0x4e8f1e], 0
cmp cx, 8
jb 0x409c51
xor edi, edi
test esi, esi
je 0x409cc8
xor edx, edx
nop dword [eax]
mov eax, dword [edx*4 + 0x4f6790]
lea ecx, [eax*2 + 0x4eca98]
add ecx, eax
lea eax, [edx + edx*4]
mov dword [eax*8 + 0x4eb6bc], ecx
lea eax, [edi + 0xfe]
movzx eax, ax
lea eax, [eax + eax*4]
lea ecx, [eax*8 + 0x4e8f00]
mov byte [eax*8 + 0x4e8f1e], 1
cmp byte [ecx + 0x1e], 0
je 0x409cc0
call fcn.0042dae0
inc edi
movzx edx, di
cmp edx, esi
jb 0x409c80
pop edi
pop esi
ret
Function at 0x40cb30
Capabilities:
Get common file path

Disassembly:
push ecx
cmp byte [0x4ecae6], 0
je 0x40cb8e
mov eax, dword [0x4f676c]
cmp word [eax], 0
je 0x40cb57
push eax
call fcn.0048b680
add esp, 4
test eax, eax
je 0x40cb74
mov eax, dword [0x4f676c]
push eax
push 0
push 0
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [0x4f676c]
call fcn.0048b680
add esp, 4
push 0x104
push dword [0x4f676c]
call fcn.0048af7e
add esp, 8
mov byte [0x4ecae6], 0
cmp byte [0x54e623], 0
je 0x40cb9c
call fcn.00428ce0
call fcn.004127b0
mov word [0x54e629], 0x100
call fcn.00412610
call fcn.0040c820
cmp byte [0x54e4ed], 0
je 0x40cbc9
mov byte [0x54e4ed], 0
call fcn.0040c150
pop ecx
ret
Function at 0x4100b0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x4c
push esi
push edi
lea eax, [esp + 8]
mov word [esp + 8], 0x1e02
push eax
push dword [0x54e460]
mov edi, edx
mov byte [esp + 0x12], 3
mov esi, ecx
call dword [sym.imp.SDL2.dll_SDL_GetWindowWMInfo]
add esp, 8
test eax, eax
je 0x410290
mov eax, dword [esp + 0x10]
push str.LocalFT2CloneHwnd
push 0
push 0xf001f
mov dword [0x54e428], eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov ecx, eax
mov dword [0x50ade4], ecx
test ecx, ecx
jne 0x410165
push str.LocalFT2CloneHwnd
push 4
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x50ade8], eax
test eax, eax
je 0x410280
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x50ade0], eax
test eax, eax
je 0x410280
mov ecx, dword [0x54e428]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [0x50ade0], 0
jmp 0x410280
cmp esi, 2
jl 0x410280
mov eax, dword [edi + 4]
cmp byte [eax], 0
je 0x410280
mov esi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 4
push 0
push 0
push 0xf001f
push ecx
call esi
mov dword [0x50ade0], eax
test eax, eax
je 0x41026a
mov ecx, dword [eax]
push eax
mov dword [0x50adec], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [0x50ade4]
mov dword [0x50ade0], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.LocalFT2CloneFilename
push 0x20a
push 0
push 4
push 0
push 0xffffffffffffffff
mov dword [0x50ade4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x50ade4], eax
test eax, eax
je 0x410262
push 0x20a
push 0
push 0
push 0xf001f
push eax
call esi
mov esi, eax
mov dword [0x50ade0], esi
test esi, esi
je 0x410262
mov ecx, dword [edi + 4]
mov edx, esi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x410210
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0
push 0
push 0x401
push dword [0x50adec]
mov dword [0x50ade0], 0
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x50
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [0x50ade4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50ade4], 0
mov al, 1
pop edi
pop esi
add esp, 0x4c
ret
push dword [0x50ade4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x50ade4], 0
push 1
push 0x201
call dword [sym.imp.SDL2.dll_SDL_EventState]
add esp, 8
pop edi
xor al, al
pop esi
add esp, 0x4c
ret