joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f080
Capabilities:
Check if file exists
Copy file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004c62e0
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.004139c0
push 0x4fcaac
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.0040d0e0
add esp, 8
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004123a0
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.004121a0
lea ecx, [ebp - 0x220]
call fcn.00413a40
lea ecx, [ebp - 0x21c]
call fcn.00413a40
push str.repair.exe
lea ecx, [ebp - 0x224]
push ecx
call fcn.0042f8d0
add esp, 4
push eax
lea edx, [ebp - 4]
push edx
call fcn.004123a0
add esp, 0xc
lea ecx, [ebp - 0x224]
call fcn.00413a40
push 0
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f21e
cmp dword [ebp + 8], 0
je 0x42f16d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x238], eax
jmp 0x42f177
mov dword [ebp - 0x238], str.360safe
lea ecx, [ebp - 0x228]
push ecx
call fcn.0040fca0
add esp, 4
mov ecx, eax
call fcn.00413b20
push eax
push 0x104
lea edx, [ebp - 0x218]
push edx
push str._URL:http:__pinst.360.cn_360safebeta_safebeta_home.cab
mov eax, dword [ebp - 0x238]
push eax
push str.Installer
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x228]
call fcn.00413a40
push 1
push 0
push 0x64
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.0040d0e0
add esp, 8
mov ecx, eax
call fcn.00413b20
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
push 0
call fcn.00426df0
add esp, 0x1c
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x230]
call fcn.00413a40
lea ecx, [ebp - 4]
call fcn.00413a40
lea ecx, [ebp - 8]
call fcn.00413a40
mov eax, dword [ebp - 0x22c]
jmp 0x42f23e
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 4]
call fcn.00413a40
lea ecx, [ebp - 8]
call fcn.00413a40
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x42f820
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004c62e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.firstaidSuperKiller.exe
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f8a3
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.00413a00
mov eax, dword [ebp + 8]
jmp 0x42f8b7
push str._firstaidSuperKiller.exe
mov eax, dword [ebp + 8]
push eax
call fcn.0040d000
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x42f930
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x15
call fcn.0042f970
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42f955
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x42f962
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x42f9d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x130], 0
jb 0x42fa70
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42fa70
push 8
call fcn.0042fab0
mov ecx, eax
call fcn.0042fa80
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42fa5e
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call dword [ebp - 0xc]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x42fa5e
cmp dword [ebp - 0x14], 0x10001049
jb 0x42fa5e
push 7
call fcn.0042fab0
mov ecx, eax
call fcn.0042fa80
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42fa5e
push 1
call dword [ebp - 0x18]
push 1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42fd50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x42fe59
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
cmp ecx, 0x5c
je 0x42fd85
mov edx, dword [ebp + 8]
movzx eax, word [edx + 4]
cmp eax, 0x5c
jne 0x42fd99
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x42fe5b
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004c62e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.system32
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x42fe51
push 0x4fcc78
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x4fcc78
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
jmp 0x42fe5b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret

Function at 0x42ff30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x517c7c], 0
jne 0x42ff52
mov dword [0x517c78], 0x11c
push 0x517c78
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x517c88], 2
jne 0x42ff6d
cmp dword [0x517c7c], 6
jb 0x42ff6d
mov dword [ebp - 4], 1
jmp 0x42ff74
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xb7
je 0x43003e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 5
jne 0x43005f
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x43005b
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx], 0
xor al, al
jmp 0x430061
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x439fc0
Capabilities:
Check if file exists
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x42c]
add eax, 0xc0
push eax
lea ecx, [ebp - 0x41c]
call fcn.004139e0
push 0x4fd558
lea ecx, [ebp - 0x41c]
call fcn.0041fe40
xor ecx, ecx
mov word [ebp - 0x418], cx
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.004c62e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004c62e0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp - 0x41c]
call fcn.00413b20
push eax
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push ecx
mov ecx, esp
lea eax, [ebp - 0x41c]
push eax
call fcn.004139e0
mov ecx, dword [ebp - 0x42c]
add ecx, 0x7c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.004139e0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0x80]
push ecx
mov ecx, dword [ebp - 0x42c]
call fcn.0043a2e0
push 0x104
push 0
mov edx, dword [ebp - 0x42c]
add edx, 0xec
push edx
call fcn.004c62e0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x104
mov ecx, dword [ebp - 0x42c]
add ecx, 0xec
push ecx
call fcn.00422b70
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a139
push 0
push 0
mov eax, dword [ebp - 0x42c]
push eax
push 0x43b1c0
push 0
push 0
call fcn.004c8a92
add esp, 0x18
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x41c]
call fcn.00413a40
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x43a2e0
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x43c], ecx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004139e0
push 0x4fd57c
lea ecx, [ebp - 8]
call fcn.00413a00
lea ecx, [ebp - 0x21c]
call fcn.00413b50
mov dword [ebp - 4], eax
push 0x5c
lea ecx, [ebp - 0x21c]
call fcn.00420590
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
sub ecx, 1
push ecx
lea edx, [ebp - 0x42c]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00430520
push eax
lea ecx, [ebp - 8]
call fcn.004121a0
lea ecx, [ebp - 0x42c]
call fcn.00413a40
push 0
push 0x4fd580
lea ecx, [ebp - 8]
call fcn.004121c0
cmp eax, 0xffffffff
jne 0x43a38b
push 0
push 0x4fd58c
lea ecx, [ebp - 8]
call fcn.004121c0
cmp eax, 0xffffffff
je 0x43a3ba
lea ecx, [ebp - 8]
call fcn.00413b50
sub eax, 4
push eax
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 8]
call fcn.00430590
push eax
lea ecx, [ebp - 8]
call fcn.004121a0
lea ecx, [ebp - 0x430]
call fcn.00413a40
xor ecx, ecx
mov word [ebp - 0x428], cx
push 0x206
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.004c62e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.004c62e0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a42a
push 0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x104
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [ebp + 0x10]
call fcn.00413b20
push eax
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x80
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a489
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x4fd598
lea ecx, [ebp - 8]
call fcn.0041fe40
mov edx, dword [ebp + 0x14]
push edx
push ecx
mov ecx, esp
lea eax, [ebp - 8]
push eax
call fcn.004139e0
push ecx
mov ecx, esp
lea edx, [ebp - 0x428]
push edx
call fcn.00413a00
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x43c]
call fcn.0043a500
lea ecx, [ebp - 8]
call fcn.00413a40
lea ecx, [ebp - 0x21c]
call fcn.00413a40
lea ecx, [ebp + 0xc]
call fcn.00413a40
lea ecx, [ebp + 0x10]
call fcn.00413a40
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b370
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
lea eax, [ebp - 8]
push eax
call fcn.0043bc10
add esp, 4
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b3a9
push 0
lea ecx, [ebp - 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 4]
push ecx
call fcn.0043bef0
add esp, 4
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b3d9
push 0
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 4]
call fcn.00413a40
lea ecx, [ebp - 8]
call fcn.00413a40
mov esp, ebp
pop ebp
ret

Function at 0x43bc90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
jne 0x43bc9e
xor eax, eax
jmp 0x43bd14
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43bcb0
xor eax, eax
jmp 0x43bd14
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e990
add esp, 4
mov dword [0x517df4], eax
cmp dword [0x517df4], 0
jne 0x43bcce
xor eax, eax
jmp 0x43bd14
push str.Get360CommonInstance
mov edx, dword [0x517df4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517df8], eax
cmp dword [0x517df8], 0
jne 0x43bd08
mov eax, dword [0x517df4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x517df8], 0
xor eax, eax
jmp 0x43bd14
mov ecx, dword [0x517df8]
mov dword [ebp - 4], ecx
call dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43bd90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x517df4], 0
jne 0x43be45
mov dword [ebp - 0x80c], 0x400
push 0x400
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [0x517df0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x810], 0
jmp 0x43bdfb
mov eax, dword [ebp - 0x810]
add eax, 1
mov dword [ebp - 0x810], eax
mov ecx, dword [ebp - 0x810]
cmp ecx, dword [0x517dec]
jge 0x43be18
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x43bdec
push str.360Common.dll
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x808]
push edx
call fcn.0048e990
add esp, 4
mov dword [0x517df4], eax
cmp dword [0x517df4], 0
jne 0x43be55
xor eax, eax
jmp 0x43bee2
push str.Get360CommonInstance
mov eax, dword [0x517df4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517df8], eax
push str.Get360ProductHistoryManager
mov ecx, dword [0x517df4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517e00], eax
push str.Create360FireWareStateFunction
mov edx, dword [0x517df4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517e04], eax
push str.GetFireWallState
mov eax, dword [0x517df4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517e08], eax
push str.Create360FireWareStateFunction2
mov ecx, dword [0x517df4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517e0c], eax
push str.GetIAdMgr
mov edx, dword [0x517df4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x517dfc], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret
Function at 0x441470
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3640
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5159c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x14]
push eax
call fcn.00410200
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push 0x4fd904
push 0x4fd914
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push 0x4fd928
push 0x4fd938
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push 0x4fd94c
push 0x4fd95c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x441518
cmp dword [ebp - 0x1c], 1
jne 0x44152c
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x78
call fcn.004345b0
mov ecx, eax
call fcn.004420e0
cmp dword [ebp - 0x18], 0xffffffff
je 0x441538
cmp dword [ebp - 0x18], 1
jne 0x44154c
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x7c
call fcn.004345b0
mov ecx, eax
call fcn.004420e0
cmp dword [ebp - 0x20], 0xffffffff
je 0x441558
cmp dword [ebp - 0x20], 1
jne 0x44156f
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x80
call fcn.004345b0
mov ecx, eax
call fcn.004420e0
jmp 0x44157e
mov dword [ebp - 4], 0xffffffff
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.004416e0
lea ecx, [ebp - 0x14]
call fcn.00413a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b380
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f36e0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5159c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x14]
push eax
call fcn.00410200
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push str.typerb
push 0x4fdd3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push str.typemid
push 0x4fdd60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push 0x4fdd74
push 0x4fdd84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x44b428
cmp dword [ebp - 0x1c], 1
jne 0x44b454
mov ecx, dword [ebp - 0x24]
add ecx, 0x114
call fcn.004345e0
movzx ecx, al
test ecx, ecx
je 0x44b454
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x114
call fcn.004345b0
mov ecx, eax
call fcn.004420e0
cmp dword [ebp - 0x18], 0xffffffff
je 0x44b460
cmp dword [ebp - 0x18], 1
jne 0x44b48c
mov ecx, dword [ebp - 0x24]
add ecx, 0x118
call fcn.004345e0
movzx edx, al
test edx, edx
je 0x44b48c
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x118
call fcn.004345b0
mov ecx, eax
call fcn.004420e0
cmp dword [ebp - 0x20], 0xffffffff
je 0x44b498
cmp dword [ebp - 0x20], 1
jne 0x44b4c4
mov ecx, dword [ebp - 0x24]
add ecx, 0x11c
call fcn.004345e0
movzx eax, al
test eax, eax
je 0x44b4c4
push 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x11c
call fcn.004345b0
mov ecx, eax
call fcn.004420e0
jmp 0x44b4d3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00413a40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e720
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.360Base.dll
push 0
lea eax, [ebp - 8]
push eax
call fcn.0040d0e0
add esp, 8
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.004123a0
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.00413a40
lea ecx, [ebp - 4]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44e783
push 0x4fe084
lea edx, [ebp - 0xc]
push edx
call fcn.0040d000
add esp, 8
push eax
lea ecx, [ebp - 4]
call fcn.004121a0
lea ecx, [ebp - 0xc]
call fcn.00413a40
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004139e0
lea ecx, [ebp - 4]
call fcn.00413a40
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x4570b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.004c65d0
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1014], ecx
mov eax, dword [ebp - 0x1014]
cmp dword [eax + 0x128], 0
jne 0x457221
xor ecx, ecx
mov word [ebp - 0x808], cx
push 0x7fe
push 0
lea edx, [ebp - 0x806]
push edx
call fcn.004c62e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x1010], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x100e]
push ecx
call fcn.004c62e0
add esp, 0xc
lea edx, [ebp - 0x80c]
push edx
call fcn.0043bc50
add esp, 4
lea ecx, [ebp - 0x80c]
call fcn.00413b20
push eax
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0x4fe288
push str.system
push 0x4fe29c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x80c]
call fcn.00413b20
push eax
push 0x400
lea ecx, [ebp - 0x1010]
push ecx
push 0x4fe2b0
push 0x4fe2b4
push str.NoPopWnd
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x80c]
call fcn.00413b20
push eax
push 0x1f4
push str.sleeptime
push 0x4fe2f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x1014]
mov dword [edx + 0x120], eax
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp - 0x1014]
add ecx, 0x124
call fcn.00413a60
lea ecx, [ebp - 0x1010]
push ecx
mov ecx, dword [ebp - 0x1014]
add ecx, 0x11c
call fcn.00413a60
mov ecx, dword [ebp - 0x1014]
add ecx, 0x124
call fcn.00412240
mov ecx, dword [ebp - 0x1014]
add ecx, 0x11c
call fcn.00412240
mov edx, dword [ebp - 0x1014]
mov dword [edx + 0x128], 1
lea ecx, [ebp - 0x80c]
call fcn.00413a40
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret