joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e55f8
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x638], edi
lea eax, [edi + 8]
mov dword [edi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], edi
jb 0x40306a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
cmp dword [edi + 0x34], 8
jb 0x403087
mov eax, dword [edi + 0x20]
jmp 0x40308a
lea eax, [edi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4030a4
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4030be
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 3
push ecx
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], ecx
call fcn.005c8572
push eax
call fcn.005d639c
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005be3a0
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x403177
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.005be3a0
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x403168
test eax, eax
je 0x403168
add eax, eax
cmp eax, 0x412
jae 0x403163
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x40316e
call fcn.005ad1a5
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x20]
call fcn.004028a0
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4031a3
cmp dword [edi + 0x34], 8
jb 0x403189
mov ecx, dword [edi + 0x20]
jmp 0x40318c
lea ecx, [edi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4031a3
push 1
push 0x6947dc
lea ecx, [edi + 0x20]
call fcn.00404680
cmp dword [edi + 0x30], 0
jne 0x4031b8
push 3
push 0x6947e0
lea ecx, [edi + 0x20]
call fcn.004028f0
mov dword [edi + 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret
Function at 0x4031e0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x48], 0
je 0x4031fc
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
jb 0x4031f5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x403213
push eax
call fcn.005ad7e4
add esp, 4
mov dword [edi + 0x68], 0
mov eax, dword [edi + 0x64]
lea esi, [edi + 0x50]
cmp eax, 8
jb 0x403229
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004029f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40323f
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40325a
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004029f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x403270
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40328b
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004029f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4032a1
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x4032bb
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.004029f0
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x4032da
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x405c70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x405c90
xor al, al
jmp 0x405dfb
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.005be3a0
add esp, 0xc
push 0x5eda48
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.00406070
add esp, 4
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x478]
call fcn.00402820
push eax
push 0x5eda54
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00409310
add esp, 0x14
lea ecx, [ebp - 0x42c]
call fcn.00402750
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405d46
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x444]
push ecx
call fcn.005b98da
add esp, 8
mov dword [ebp - 0x47c], eax
mov edx, dword [ebp - 0x47c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004043b0
lea ecx, [ebp - 0x444]
call fcn.00402750
mov al, 1
jmp 0x405dfb
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.005be3a0
add esp, 0xc
push 0x5eda64
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x45c]
push eax
call fcn.00406070
add esp, 4
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
call fcn.00402820
push eax
push 0x5eda74
lea ecx, [ebp - 0x414]
push ecx
call fcn.00409310
add esp, 0x14
lea ecx, [ebp - 0x45c]
call fcn.00402750
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405df9
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x474]
push ecx
call fcn.005b98da
add esp, 8
mov dword [ebp - 0x484], eax
mov edx, dword [ebp - 0x484]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004043b0
lea ecx, [ebp - 0x474]
call fcn.00402750
mov al, 1
jmp 0x405dfb
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret
Function at 0x405e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5828
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5eda84
mov eax, dword [ebp + 8]
push eax
call fcn.005c1def
add esp, 8
test eax, eax
jne 0x405e57
mov eax, 1
jmp 0x405f1f
lea ecx, [ebp - 0x28]
call fcn.00404430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00405c70
add esp, 8
movzx eax, al
test eax, eax
jne 0x405e9b
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402750
mov eax, dword [ebp - 0x44]
jmp 0x405f1f
lea ecx, [ebp - 0x28]
push ecx
call fcn.005b91eb
add esp, 4
lea edx, [ebp - 0x40]
push edx
call fcn.00406210
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00402820
push eax
push 0
lea ecx, [ebp - 0x28]
call fcn.00402820
push eax
push 0x5eda98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x405efe
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x40]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402750
mov eax, dword [ebp - 0x4c]
jmp 0x405f1f
mov dword [ebp - 0x50], 1
lea ecx, [ebp - 0x40]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402750
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret

Function at 0x406020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.004080c0
mov ecx, eax
call fcn.005b9bea
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x5edaa0
push 0x5edab4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40605d
mov dword [ebp - 4], 1
jmp 0x406064
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x406d10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5aba
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0
push 0x5edba8
lea eax, [ebp - 0x248]
push eax
call fcn.00406070
add esp, 4
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x254], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x254]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.00404990
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00402750
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.005be3a0
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.00402820
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x5edbbc
push 0x5edbe8
push str.Theme
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402790
mov edx, dword [ebp - 0x24c]
or edx, 1
mov dword [ebp - 0x24c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402750
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret

Function at 0x406e30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5aea
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.theme.ini
lea eax, [ebp - 0x40]
push eax
call fcn.00406070
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00404990
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402750
lea ecx, [ebp - 0x28]
call fcn.00402820
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00402750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret
Function at 0x40d0e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x40d0f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x40d14b
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x40d119
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x40d13c
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x40d110
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x6aabf0], eax
jmp 0x40d0ef
jmp 0x40d156
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x40d18e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x6aa7f0]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x6aabf0]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x6aabf0], edx
jmp 0x40d14d
mov dword [0x6acbf0], fcn.004122e0
call fcn.0040d5c0
test eax, eax
jne 0x40d1ab
mov dword [0x6acbf0], 0x4123f0
mov esp, ebp
pop ebp
ret

Function at 0x40d2a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x40d2b6
xor eax, eax
jmp 0x40d2ef
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.005c611e
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x40d2e1
xor eax, eax
jmp 0x40d2ef
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.005c5d30
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x40d300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x40d316
xor eax, eax
jmp 0x40d34f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.005c6c3d
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x40d341
xor eax, eax
jmp 0x40d34f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.005c5d30
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41a850
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], 0
mov ecx, dword [ebp - 0x120]
add ecx, 0x210
call fcn.0041bf80
call fcn.00477d10
movzx eax, al
test eax, eax
je 0x41a8a7
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.00477ad0
movzx ecx, al
test ecx, ecx
je 0x41a8d1
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
call fcn.00477b90
movzx edx, al
test edx, edx
je 0x41a8fc
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.005be3a0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x41a945
mov ecx, dword [ebp - 0x120]
call fcn.00419e80
mov dword [ebp - 0x124], eax
jmp 0x41a98f
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x11c], 0
jmp 0x41a96a
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
cmp dword [ebp - 0x11c], 0xa
jge 0x41a98f
cmp dword [ebp - 0x124], 0
jne 0x41a98f
mov ecx, dword [ebp - 0x120]
call fcn.0041a310
mov dword [ebp - 0x124], eax
jmp 0x41a95b
mov ecx, dword [ebp - 0x120]
add ecx, 0x210
call fcn.0041c240
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret
Function at 0x41acc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
call fcn.0040af20
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x210
call fcn.0046f780
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
jmp 0x41acfe
push 0
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 8]
call fcn.0041bb50
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x210
call fcn.00419140
push eax
lea ecx, [ebp - 8]
call fcn.0046f230
movzx ecx, al
test ecx, ecx
je 0x41ade1
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._n_n_n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 8]
call fcn.0041baf0
add eax, 0xa8
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5edfa0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5edfa4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 8]
call fcn.0041baf0
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x5edfa8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 8]
call fcn.0041baf0
add eax, 0xa8
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xa8
push ecx
call fcn.005c7500
add esp, 8
test eax, eax
jne 0x41addc
lea ecx, [ebp - 8]
call fcn.0041baf0
add eax, 0x28
push eax
mov edx, dword [ebp + 8]
add edx, 0x28
push edx
call fcn.005c7500
add esp, 8
test eax, eax
jne 0x41addc
mov byte [ebp - 1], 1
jmp 0x41ade1
jmp 0x41acf0
call fcn.004777d0
movzx eax, al
test eax, eax
je 0x41adfd
pop ebp
push ecx
push ebx
push ebp
pop edx
pop edi
push edx
push esp
push esi
pop ebp
push edx
push edx
pop ecx
pop esp
pop esp
pop esi
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x41ae1b
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.005c7590
add esp, 4
test eax, eax
jne 0x41ae1f
xor al, al
jmp 0x41ae33
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x210
call fcn.0041c0c0
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41e9a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x89], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x421ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6228
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x421af0
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x421afc
mov al, 1
jmp 0x421c9f
mov dword [ebp - 0x48], 8
call fcn.00423230
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00423230
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00423260
add esp, 8
movzx eax, al
test eax, eax
je 0x421b3f
xor al, al
jmp 0x421c9f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00420550
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00422d00
mov ecx, eax
call fcn.0041bb10
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00423c00
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422d00
mov ecx, eax
call fcn.0041bb10
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00423cf0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x421bba
cmp dword [ebp - 0x38], 1
je 0x421bc1
cmp dword [ebp - 0x38], 3
je 0x421c5b
jmp 0x421c73
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00422d00
mov ecx, eax
call fcn.0041bb10
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x421c24
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00422d00
mov ecx, eax
call fcn.0041bb10
push eax
call fcn.005c6c3d
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x421c24
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00420fa0
mov al, byte [ebp - 0x2d]
jmp 0x421c9f
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x421c47
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00420fa0
mov al, byte [ebp - 0x2e]
jmp 0x421c9f
cmp dword [ebp - 0x34], 0
jne 0x421c59
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004229a0
jmp 0x421c8b
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00420fa0
mov al, byte [ebp - 0x2f]
jmp 0x421c9f
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00420fa0
mov al, byte [ebp - 0x30]
jmp 0x421c9f
jmp 0x421b52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret
Function at 0x423de0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.00477bf0
movzx eax, al
test eax, eax
je 0x423e13
push eax
push esi
push edi
pop ebp
pop esi
pop edi
pop ebx
push esi
pop ecx
pop esp
push edi
pop eax
pop ebp
push ebp
pop ecx
push edx
pop esp
pop esi
pop esp
push esp
pop eax
pop ebp
push edi
push ebx
pop ecx
push esi
push ecx
call fcn.00477a10
movzx ecx, al
test ecx, ecx
je 0x423e3d
push edi
pop edi
push ebx
push eax
push ebp
push ecx
push edi
push edx
pop esp
push edi
pop edi
pop ecx
push esp
push eax
pop esi
pop edx
push ecx
pop esi
pop ecx
pop edi
pop ebx
push esi
pop edx
push esi
pop edx
pop ecx
pop ecx
pop eax
pop ebx
pop esp
mov edx, dword [ebp + 8]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x423e66
mov dword [ebp - 8], 1
jmp 0x423e6d
mov dword [ebp - 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423ff0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6ac
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x6ac], ecx
mov dword [ebp - 0x69c], 0
xor eax, eax
mov word [ebp - 0x18], ax
xor ecx, ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
xor edx, edx
mov word [ebp - 0x284], dx
push 0x206
push 0
lea eax, [ebp - 0x282]
push eax
call fcn.005be3a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x5ee340
call fcn.005c1d51
add esp, 4
push eax
lea edx, [ebp - 0x284]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.005c7744
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x694], cx
push 0x206
push 0
lea edx, [ebp - 0x692]
push edx
call fcn.005be3a0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x48c], ax
push 0x206
push 0
lea ecx, [ebp - 0x48a]
push ecx
call fcn.005be3a0
add esp, 0xc
mov dword [ebp - 0x698], 0
mov dword [ebp - 0x6a4], 0
mov dword [ebp - 0x6a0], 0
mov byte [ebp - 0x7c], 0
push 0x63
push 0
lea edx, [ebp - 0x7b]
push edx
call fcn.005be3a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x6a0]
push ecx
lea edx, [ebp - 0x6a4]
push edx
lea eax, [ebp - 0x698]
push eax
push 0x104
lea ecx, [ebp - 0x694]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [ebp - 0x6a8], eax
cmp dword [ebp - 0x6a8], 0
je 0x42414b
mov eax, dword [ebp - 0x698]
push eax
push str._08X
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0041c2e0
add esp, 0xc
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004205c0
mov eax, dword [ebp - 0x69c]
or eax, 1
mov dword [ebp - 0x69c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret 4