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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b129
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.00450db0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x10
call fcn.004482a0
mov ecx, eax
call fcn.00413a80
movzx ecx, al
test ecx, ecx
je 0x573550
xor al, al
jmp 0x573603
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.0057e4f0
add esp, 8
mov dword [ebp - 4], 0
push 0x5d8910
lea ecx, [ebp - 0x1c]
call fcn.0044c010
lea ecx, [ebp - 0x14]
call fcn.00450e40
add eax, 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d040
mov byte [ebp - 4], 1
movzx eax, byte [ebp + 0x14]
neg eax
sbb eax, eax
neg eax
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.___vipfrom_d___top_most_d
lea edx, [ebp - 0x18]
push edx
call fcn.0044ed90
add esp, 0x10
mov dword [ebp - 0x24], 0x20
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.00472880
push eax
lea ecx, [ebp - 0x1c]
call fcn.00472880
push eax
push 0x5d8960
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp eax, dword [ebp - 0x24]
setg cl
mov byte [ebp - 0x2d], cl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041e800
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5750c0
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], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x10325476
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp - 4]
call fcn.00574eb0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x57d7a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x57d7ed
jmp 0x57d878
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0048b466
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x57d824
jmp 0x57d878
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x5d9984
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x57d857
cmp dword [ebp - 8], 0
jne 0x57d85b
jmp 0x57d878
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x18], 1
cmp dword [ebp - 4], 0
je 0x57d890
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret

Function at 0x57d970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589ec1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5f30a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x220]
call fcn.0041e820
mov dword [ebp - 4], 0
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x220]
call fcn.0041e5a0
lea eax, [ebp - 0x220]
push eax
call fcn.0057d8a0
add esp, 4
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d040
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0041e800
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.004a1f8d
mov esp, ebp
pop ebp
ret
Function at 0x57dbf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5f30a8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x57dc6d
mov dword [ebp - 0x128], 0x114
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jne 0x57dc80
jmp 0x57ddf1
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 1
je 0x57ddc1
cmp dword [ebp - 0x130], 2
je 0x57dca7
jmp 0x57ddea
cmp dword [ebp - 0x124], 6
jne 0x57dcd1
cmp dword [ebp - 0x120], 1
jne 0x57dcd1
movzx ecx, byte [ebp - 0xe]
sub ecx, 1
neg ecx
sbb ecx, ecx
neg ecx
add ecx, 8
mov dword [ebp - 4], ecx
jmp 0x57ddbf
cmp dword [ebp - 0x124], 6
jne 0x57dcfc
cmp dword [ebp - 0x120], 0
jne 0x57dcfc
movzx edx, byte [ebp - 0xe]
sub edx, 1
neg edx
sbb edx, edx
and edx, 2
add edx, 7
mov dword [ebp - 4], edx
jmp 0x57ddbf
cmp dword [ebp - 0x124], 5
jne 0x57dd1a
cmp dword [ebp - 0x120], 2
jne 0x57dd1a
mov dword [ebp - 4], 5
jmp 0x57ddbf
cmp dword [ebp - 0x124], 5
jne 0x57dd38
cmp dword [ebp - 0x120], 1
jne 0x57dd38
mov dword [ebp - 4], 6
jmp 0x57ddbf
cmp dword [ebp - 0x124], 5
jne 0x57dd53
cmp dword [ebp - 0x120], 0
jne 0x57dd53
mov dword [ebp - 4], 3
jmp 0x57ddbf
cmp dword [ebp - 0x124], 4
ja 0x57dd65
mov dword [ebp - 4], 4
jmp 0x57ddbf
cmp dword [ebp - 0x124], 6
jb 0x57dd77
cmp dword [ebp - 0x120], 2
jae 0x57dd80
cmp dword [ebp - 0x124], 6
jbe 0x57dd93
movzx eax, byte [ebp - 0xe]
cmp eax, 1
jne 0x57dd93
call fcn.0057da60
mov dword [ebp - 4], eax
jmp 0x57ddbf
cmp dword [ebp - 0x124], 6
jb 0x57dda5
cmp dword [ebp - 0x120], 2
jae 0x57ddae
cmp dword [ebp - 0x124], 6
jbe 0x57ddbf
movzx ecx, byte [ebp - 0xe]
cmp ecx, 3
jne 0x57ddbf
call fcn.0057da60
mov dword [ebp - 4], eax
jmp 0x57ddf1
mov edx, dword [ebp - 0x11c]
shr edx, 0x10
and edx, 0xffff
cmp edx, 0x45a
jae 0x57dde1
mov dword [ebp - 4], 1
jmp 0x57dde8
mov dword [ebp - 4], 2
jmp 0x57ddf1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a1f8d
mov esp, ebp
pop ebp
ret

Function at 0x57de30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x57de5a
mov ecx, dword [ebp - 4]
and ecx, 0x10
jne 0x57de5a
mov dword [ebp - 8], 1
jmp 0x57de61
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x57dfd0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041e500
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x57e03c
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov eax, dword [ebp - 0x18]
jmp 0x57e12a
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x57e111
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x57e111
lea eax, [ebp - 0x14]
push eax
call fcn.0057de70
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0040d690
movzx ecx, al
test ecx, ecx
je 0x57e09f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov eax, dword [ebp - 0x1c]
jmp 0x57e12a
lea ecx, [ebp - 0x14]
call fcn.00472880
push eax
call fcn.0057dfd0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x57e0d4
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov eax, dword [ebp - 0x20]
jmp 0x57e12a
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x57e111
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x57e111
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov eax, dword [ebp - 0x24]
jmp 0x57e12a
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x57fb90
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x5c
call fcn.0041f640
jmp 0x57fbb9
lea ecx, [ebp - 0xc]
call fcn.00447150
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x5c
call fcn.00448010
push eax
lea ecx, [ebp - 0xc]
call fcn.00413a50
movzx edx, al
test edx, edx
je 0x57fc1d
lea ecx, [ebp - 0xc]
call fcn.0041f9c0
add eax, 4
mov ecx, eax
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x57fbf7
jmp 0x57fbb1
lea ecx, [ebp - 0xc]
call fcn.0041f9c0
add eax, 4
mov ecx, eax
call fcn.00472880
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x57fc1b
mov dword [ebp - 4], 0
jmp 0x57fbb1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x57fd50
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a8ff
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
call fcn.00472880
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0057e140
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00472880
push eax
call fcn.00580880
add esp, 4
test eax, eax
jne 0x57fdcb
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
mov eax, dword [ebp - 0x18]
jmp 0x57fe18
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00472880
push eax
mov ecx, dword [ebp + 8]
call fcn.00472880
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x57fe00
mov ecx, dword [ebp + 0xc]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x580880
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0041e500
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x580915
mov edx, dword [ebp - 0x14]
and edx, 0x10
je 0x5808ff
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e800
mov eax, dword [ebp - 0x1c]
jmp 0x580a03
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5809ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5809ea
lea eax, [ebp - 0x18]
push eax
call fcn.0057de70
add esp, 4
lea ecx, [ebp - 0x18]
call fcn.0040d690
movzx ecx, al
test ecx, ecx
je 0x580978
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e800
mov eax, dword [ebp - 0x20]
jmp 0x580a03
lea ecx, [ebp - 0x18]
call fcn.00472880
push eax
call fcn.00580880
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5809ad
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e800
mov eax, dword [ebp - 0x24]
jmp 0x580a03
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5809ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5809ea
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e800
mov eax, dword [ebp - 0x28]
jmp 0x580a03
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041e800
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x580a20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5f30a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x580a81
xor eax, eax
jmp 0x580aa2
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041e5a0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1f8d
mov esp, ebp
pop ebp
ret
Function at 0x580b70
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a955
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.0041e820
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0057e4f0
add esp, 8
mov byte [ebp - 4], 1
push str.config.ini
lea ecx, [ebp - 0x14]
call fcn.0041d180
lea ecx, [ebp - 0x14]
call fcn.00472880
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0041cd20
push eax
push 0x5da5ec
push str.driverpath
push str.Generic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409010
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041ccf0
mov ecx, dword [ebp + 8]
call fcn.0040d690
movzx edx, al
test edx, edx
je 0x580c36
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
jmp 0x580c9a
mov eax, dword [ebp + 8]
push eax
call fcn.0057df00
add esp, 4
push str.logitools
mov ecx, dword [ebp + 8]
call fcn.0041d180
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057df00
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x580c7f
mov ecx, dword [ebp + 8]
call fcn.00472880
push eax
call fcn.0057dfd0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a980
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.0041e820
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0057e4f0
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
push str._sdata_baseconfig.dat
lea ecx, [ebp - 0x10]
push ecx
call fcn.00405940
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0041e800
lea ecx, [ebp - 0x10]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x580d50
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
mov eax, dword [ebp - 0x18]
jmp 0x580d80
lea ecx, [ebp - 0x10]
call fcn.00472880
push eax
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x580ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a9c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00580a20
add esp, 4
test eax, eax
jne 0x580f2e
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0057e4f0
add esp, 8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.00409010
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
push str.drvtoolboxtemp_
mov ecx, dword [ebp + 8]
call fcn.0041d180
mov ecx, dword [ebp + 8]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x580f5f
mov ecx, dword [ebp + 8]
call fcn.00472880
push eax
call fcn.00580880
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x580f80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a9e9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.0057e4f0
add esp, 8
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00409010
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041e800
mov eax, dword [ebp + 0x10]
push eax
call fcn.0057df00
add esp, 4
push str.datadrvtoolbox_res_
mov ecx, dword [ebp + 0x10]
call fcn.0041d180
mov ecx, dword [ebp + 0x10]
call fcn.00472880
push eax
call fcn.0057dfd0
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00426620
push str..png
mov ecx, dword [ebp + 0x10]
call fcn.0041d180
mov ecx, dword [ebp + 0x10]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x581038
xor eax, eax
jmp 0x58103d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x584380
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b55a
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x140]
add ecx, 4
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5843e1
jmp 0x584512
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x140]
add ecx, 4
call fcn.00472880
push eax
call fcn.0056f980
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x58440a
jmp 0x584512
push 0xfde9
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.0041d7b0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x148]
call fcn.00472880
push eax
lea ecx, [ebp - 0x38]
call fcn.0041e500
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.0041d760
lea ecx, [ebp - 0x38]
call fcn.0040d690
movzx eax, al
test eax, eax
je 0x58447d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041e800
jmp 0x584512
lea ecx, [ebp - 0x34]
call fcn.0041f0e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00472880
push eax
lea ecx, [ebp - 0x34]
call fcn.00576d10
test eax, eax
jne 0x5844bb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00575720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041e800
jmp 0x584512
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x140]
call fcn.005835c0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x140]
call fcn.00582f00
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x140]
call fcn.00583d00
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00575720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041e800
xor ecx, ecx
jne 0x5843c3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x584630
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x5db478
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x584662
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x58469a
push str.1CF77538_7BC4_4161_8B61_3A2E246D576E
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x584684
xor eax, eax
jmp 0x58469a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x584698
mov eax, 1
jmp 0x58469a
xor eax, eax
mov esp, ebp
pop ebp
ret