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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460cdd
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x47bb04]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], 0
push 0x464ce9
lea ecx, [ebp - 0x10]
call fcn.00403f50
mov dword [ebp - 4], 0
push 0x464cea
lea ecx, [ebp - 0x128]
call fcn.00403f50
mov byte [ebp - 4], 1
push 0
push 0x1c
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x148]
call fcn.0040fb30
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40a9e7
push str.hasp_97277.ini
lea ecx, [ebp - 0x124]
push ecx
push str._sSafeNet_SentinelSentinel_LDK_s
lea edx, [ebp - 0x10]
push edx
call fcn.00404bc0
add esp, 0x10
lea eax, [ebp - 0x124]
push eax
push str._sSafeNet_Sentinel
lea ecx, [ebp - 0x128]
push ecx
call fcn.00404bc0
add esp, 0xc
lea ecx, [ebp - 0x140]
call fcn.00435dc9
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x128]
call fcn.00402770
push eax
lea ecx, [ebp - 0x140]
call fcn.00435e5e
test eax, eax
jne 0x40a9d8
push 0
lea ecx, [ebp - 0x128]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40a9d8
lea edx, [ebp - 0x124]
push edx
push str._sSafeNet_SentinelSentinel_LDK
lea eax, [ebp - 0x128]
push eax
call fcn.00404bc0
add esp, 0xc
push 0
lea ecx, [ebp - 0x128]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00435def
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004026b0
mov edx, dword [ebp - 0x144]
or edx, 1
mov dword [ebp - 0x144], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004026d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00445478
mov esp, ebp
pop ebp
ret 4
Function at 0x40b220
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x47bb04]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x10], 0
call fcn.00403830
movzx eax, al
test eax, eax
je 0x40b275
mov dword [ebp - 0x10], 1
push 0x464d1f
lea ecx, [ebp - 0x14]
call fcn.00403f50
mov dword [ebp - 4], 0
push 0x464d93
lea ecx, [ebp - 0x128]
call fcn.00403f50
mov byte [ebp - 4], 1
push 0
push 0x2b
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x13c]
call fcn.0040fb30
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40b379
cmp dword [ebp - 0x10], 0
je 0x40b35c
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x130]
call fcn.00403f50
mov byte [ebp - 4], 2
push 0
push 0x4654b0
lea ecx, [ebp - 0x130]
call fcn.00401940
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
add eax, 1
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401a40
mov byte [ebp - 4], 3
push 0x4654b4
mov edx, dword [ebp - 0x12c]
push edx
push str._sProgram_Files__x86_Common_FilesAladdin_SharedHASP_s
lea eax, [ebp - 0x14]
push eax
call fcn.00404bc0
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.004026d0
jmp 0x40b379
push str.hasplm.ini
lea ecx, [ebp - 0x124]
push ecx
push str._sAladdin_SharedHASP_s
lea edx, [ebp - 0x14]
push edx
call fcn.00404bc0
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.004026b0
mov ecx, dword [ebp - 0x138]
or ecx, 1
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004026d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00445478
mov esp, ebp
pop ebp
ret 4
Function at 0x40fc00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461278
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x47bb04]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40fc40
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40fc4c
mov al, 1
jmp 0x40fdef
mov dword [ebp - 0x10], 8
call fcn.0040d0d0
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0040d0d0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040d190
add esp, 8
movzx eax, al
test eax, eax
je 0x40fc8f
xor al, al
jmp 0x40fdef
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040e5f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040e750
mov ecx, eax
call fcn.00410010
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.0040d7f0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e750
mov ecx, eax
call fcn.00410010
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00411240
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40fd0a
cmp dword [ebp - 0x6c], 1
je 0x40fd11
cmp dword [ebp - 0x6c], 3
je 0x40fdab
jmp 0x40fdc3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040e750
mov ecx, eax
call fcn.00410010
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40fd74
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e750
mov ecx, eax
call fcn.00410010
push eax
call fcn.00446827
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40fd74
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040d7d0
mov al, byte [ebp - 0x61]
jmp 0x40fdef
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40fd97
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040d7d0
mov al, byte [ebp - 0x62]
jmp 0x40fdef
cmp dword [ebp - 0x38], 0
jne 0x40fda9
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040e630
jmp 0x40fddb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040d7d0
mov al, byte [ebp - 0x63]
jmp 0x40fdef
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0040d7d0
mov al, byte [ebp - 0x64]
jmp 0x40fdef
jmp 0x40fca2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00445478
mov esp, ebp
pop ebp
ret
Function at 0x414f30
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461843
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x47bb04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00402690
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00402f10
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
push edx
push 0x465fbc
lea eax, [ebp - 0x10]
push eax
call fcn.00404bc0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004026d0
lea ecx, [ebp - 0x18]
call fcn.00402690
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
push 0x465fc8
lea ecx, [ebp - 0x18]
push ecx
call fcn.00404bc0
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x18]
push edx
call fcn.004026b0
mov dword [ebp - 0x3c], eax
call fcn.004037a0
add esp, 4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x41503c
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004026d0
mov eax, dword [ebp - 0x24]
jmp 0x4150eb
push 0
lea ecx, [ebp - 0x10]
call fcn.00402770
push eax
lea ecx, [ebp - 0x18]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41509d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004026d0
mov eax, dword [ebp - 0x28]
jmp 0x4150eb
lea ecx, [ebp - 0x18]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004026d0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x415210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4618a9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x47bb04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp + 8]
push eax
call fcn.004026b0
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x24]
call fcn.00401000
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00401230
push str.TgStartUpdate.ini
mov ecx, dword [ebp - 0x4c]
add ecx, 4
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00403d20
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004016c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.00401cb0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], 0
jmp 0x4152ad
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x2c]
jge 0x4152fc
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x24]
call fcn.00401d00
push eax
lea ecx, [ebp - 0x40]
call fcn.00401720
cmp dword [ebp - 0x30], 0
jne 0x4152fa
lea ecx, [ebp - 0x28]
call fcn.00402770
push eax
lea ecx, [ebp - 0x3c]
call fcn.00402770
push eax
lea ecx, [ebp - 0x40]
call fcn.00402770
push eax
lea ecx, [ebp - 0x34]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4152a4
lea ecx, [ebp + 8]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004016f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004026d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x417cf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46221a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x47bb04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00402690
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00402770
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402730
push eax
lea ecx, [ebp + 0x14]
call fcn.00402770
push eax
lea ecx, [ebp + 0x10]
call fcn.00402770
push eax
lea ecx, [ebp + 0xc]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403fd0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004026b0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004026d0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004026d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004026d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004026d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x417e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 4
call fcn.00402770
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00402770
push eax
lea ecx, [ebp + 8]
call fcn.00402770
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
lea ecx, [ebp + 8]
call fcn.004026d0
lea ecx, [ebp + 0xc]
call fcn.004026d0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b680
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x41b690
xor eax, eax
jmp 0x41b82d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41b7ee
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x467bd8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x467bd8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x467bd8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x467bd8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x467bd8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x467bd8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x467bd8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x467bd8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x41b699
cmp dword [ebp + 0x10], 0
je 0x41b827
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x467bd8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x41b7f4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x41b830
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x467bd8]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x467bd8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x41c820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x41c86f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41c865
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x41c8c9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x41c88f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00446360
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x41e37a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x41e384
mov eax, 0x1000000
jmp 0x41e45c
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x18]
add eax, 0x140
push eax
call fcn.00445720
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + eax + 0x13f]
mov byte [ebp - 5], dl
movsx eax, byte [ebp - 5]
cmp eax, 0x5c
je 0x41e3e0
movsx ecx, byte [ebp - 5]
cmp ecx, 0x2f
je 0x41e3e0
push 0x468070
mov edx, dword [ebp - 0x18]
add edx, 0x140
push edx
call fcn.00447e60
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x41e414
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0xffffffff
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x41e414
mov eax, 0x2000000
jmp 0x41e45c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c500
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41e43a
mov eax, dword [ebp - 0xc]
jmp 0x41e45c
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041ccb0
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x41e45a
mov eax, 0x200
jmp 0x41e45c
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41eee0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x47bb04]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x41ef14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41ef14
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x41ef23
jmp 0x41f024
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41ef75
mov edx, dword [ebp - 0x118]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x41ef5b
mov ecx, dword [ebp - 0x118]
movsx edx, byte [ecx]
cmp edx, 0x5c
jne 0x41ef64
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
jmp 0x41ef32
mov edx, dword [ebp - 4]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x41efd0
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00446360
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov byte [ebp + ecx - 0x220], 0
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041eee0
add esp, 8
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x110], 0
cmp dword [ebp + 8], 0
je 0x41eff0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.00447e50
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00447e60
add esp, 8
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41f024
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00445478
mov esp, ebp
pop ebp
ret