joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425600
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e4c1
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 0x128
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 0x1dc], 0
push 0x7f
push 0
lea edx, [ebp - 0x1db]
push edx
call fcn.004097d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00409b50
add esp, 8
lea edx, [ebp - 0x1dc]
push edx
call fcn.00415fdb
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.004012e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1e0], 0
je 0x425780
push 0x80
push 0
lea eax, [ebp - 0x1dc]
push eax
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1dc]
push edx
call fcn.00409b50
add esp, 8
lea eax, [ebp - 0x1dc]
push eax
call fcn.00415fdb
add esp, 4
push eax
lea ecx, [ebp - 0x1fc]
call fcn.004012e0
lea ecx, [ebp - 0x1fc]
call fcn.004014a0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004014a0
push eax
call fcn.00415d01
add esp, 8
test eax, eax
jne 0x425757
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x200], 1
lea ecx, [ebp - 0x1fc]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov eax, dword [ebp - 0x200]
jmp 0x4257ac
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x158]
push eax
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x1e0], eax
lea ecx, [ebp - 0x1fc]
call fcn.00401360
jmp 0x4256a9
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x204], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov eax, dword [ebp - 0x204]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret
Function at 0x4257d0
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e4f4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x64
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x8c]
push ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x18], eax
push 0x4330e6
lea ecx, [ebp - 0xa8]
call fcn.004012e0
mov dword [ebp - 4], 0
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x14], edx
jmp 0x425863
mov eax, dword [ebp - 0x14]
push eax
call fcn.00409690
add esp, 4
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4258eb
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0xac], 5
jne 0x4258e6
mov ecx, dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004013a0
push 0x43bcbc
lea ecx, [ebp - 0xa8]
call fcn.004013e0
lea ecx, [ebp - 0xa8]
call fcn.004014a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4258e6
mov byte [ebp - 0x19], 1
mov edx, dword [ebp - 0xb0]
push edx
mov ecx, dword [ebp + 8]
call fcn.004013a0
jmp 0x4258eb
jmp 0x42584d
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x425914
mov byte [ebp - 0xb1], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00401360
mov al, byte [ebp - 0xb1]
jmp 0x425940
push 0x4330e7
mov ecx, dword [ebp + 8]
call fcn.004013a0
mov byte [ebp - 0xb2], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.00401360
mov al, byte [ebp - 0xb2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret
Function at 0x425960
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e7c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xfde9
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.00425280
add esp, 0xc
mov dword [ebp - 4], 0
push 0xfde9
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x280]
push eax
call fcn.00425280
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x29c]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0xffffffff
jne 0x425a01
mov edx, dword [ebp + 0xc]
push edx
push str.Not_Find_file__s_failed.
call fcn.0042a0d0
add esp, 8
jmp 0x425a4d
mov eax, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x29c]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
and ecx, 1
je 0x425a4d
mov edx, dword [ebp - 0x2a4]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x29c]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea ecx, [ebp - 0x29c]
call fcn.004016b0
push eax
lea ecx, [ebp - 0x280]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x425ac8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Copy_File:__s.Error_Code:_d
call fcn.0042a070
add esp, 0xc
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.00401670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00401670
mov eax, dword [ebp - 0x2ac]
jmp 0x425b0a
mov edx, dword [ebp + 8]
push edx
push str.Copy_file__SUC__Name:__s...
call fcn.0042a0d0
add esp, 8
mov dword [ebp - 0x2b0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.00401670
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.00401670
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret
Function at 0x425b30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e7fb
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 0x128
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 0x1dc], 0
push 0x7f
push 0
lea edx, [ebp - 0x1db]
push edx
call fcn.004097d0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00409b50
add esp, 8
lea edx, [ebp - 0x1dc]
push edx
call fcn.00415fdb
add esp, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.004012e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1e0], 0
je 0x425d69
push 0x80
push 0
lea eax, [ebp - 0x1dc]
push eax
call fcn.004097d0
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x1dc]
push edx
call fcn.00409b50
add esp, 8
lea eax, [ebp - 0x1dc]
push eax
call fcn.00415fdb
add esp, 4
push eax
lea ecx, [ebp - 0x1fc]
call fcn.004012e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1fc]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004027e0
add esp, 8
movzx eax, al
test eax, eax
je 0x425d3c
mov ecx, dword [ebp - 0x14c]
push ecx
push 0
push 0x2000000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x425c7f
push str.The_process_handle_is_NULL...
call fcn.0042a0d0
add esp, 4
mov dword [ebp - 0x204], 0
lea edx, [ebp - 0x204]
push edx
push 0x2000b
mov eax, dword [ebp - 0x200]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x425cfd
push 0x819
push str...CommonCommon.cpp
push str.OpenProcessToken___Fail._File:_s_LINE:_d
call fcn.0042a0d0
add esp, 0xc
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x208], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1fc]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov eax, dword [ebp - 0x208]
jmp 0x425d95
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1fc]
call fcn.00401360
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov eax, dword [ebp - 0x20c]
jmp 0x425d95
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1fc]
call fcn.00401360
jmp 0x425bd9
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x210], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret
Function at 0x425db0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x425e53
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x425e32
push 0
push 0x400
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0042e190
push 0
push 0x400
push edx
push eax
call fcn.0042e190
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x43bc2c
call fcn.0042a0d0
add esp, 0xc
jmp 0x425e4c
mov edx, dword [ebp + 8]
push edx
push str.Get_disk_space:__s___Total__0..
call fcn.0042a0d0
add esp, 8
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 8]
jmp 0x425ec2
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x425ea5
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x34]
shr eax, 0xa
shr eax, 0xa
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Get_disk_space:__s__Total___dM...
call fcn.0042a0d0
add esp, 0xc
jmp 0x425ebf
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, dword [ebp + 8]
push eax
push str.Get_disk_space:__s___Total__0....
call fcn.0042a0d0
add esp, 8
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x425ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x425f6f
push str.DatacardService
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0x104
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004097d0
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
call fcn.00409690
add esp, 4
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00407ba0
add esp, 0xc
push 0x43bb1c
mov eax, dword [ebp + 8]
push eax
call fcn.00409b60
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.GetPCFolderPath_:_s_Success.
call fcn.0042a0d0
add esp, 8
mov al, 1
jmp 0x425f7e
push str.GetPCFolderPath_fail.
call fcn.0042a070
add esp, 4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret
Function at 0x425f90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x425fb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425fc7
push str.CreatePCFolder_successfully.
call fcn.0042a0d0
add esp, 4
mov al, 1
jmp 0x425fd6
push str.CreatePCFolder_failed.
call fcn.0042a070
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x425fe0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e82b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
push str.Delete_file__s.
call fcn.0042a0d0
add esp, 8
push 0xfde9
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00425280
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004016b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426070
push str.This_file_didnt_exists__delete_file_function_exit.
call fcn.0042a0d0
add esp, 4
mov byte [ebp - 0x35], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401670
mov al, byte [ebp - 0x35]
jmp 0x426103
lea ecx, [ebp - 0x2c]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
and eax, 1
je 0x4260a0
mov ecx, dword [ebp - 0x30]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x2c]
call fcn.004016b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4260ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
push str.DeleteFile_error__d
call fcn.0042a070
add esp, 8
mov byte [ebp - 0x36], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401670
mov al, byte [ebp - 0x36]
jmp 0x426103
mov byte [ebp - 0x37], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401670
mov al, byte [ebp - 0x37]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret
Function at 0x427db0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18c], ecx
push 0x100
push 0
lea eax, [ebp - 0x188]
push eax
call fcn.004097d0
add esp, 0xc
push 0x80
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.004097d0
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.004014a0
push eax
lea edx, [ebp - 0x188]
push edx
call fcn.00409b50
add esp, 8
mov ecx, dword [ebp + 0xc]
call fcn.004014a0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00409b50
add esp, 8
push 0x436630
lea ecx, [ebp - 0x188]
push ecx
call fcn.00409b60
add esp, 8
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x188]
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x427e66
mov al, 1
jmp 0x427e68
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret 8

Function at 0x427f30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], ecx
push 0x80
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.004097d0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x80
lea edx, [ebp - 0x88]
push edx
push 0x436680
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.004013a0
mov eax, dword [ebp + 0x14]
push eax
push 0x436698
call fcn.004031b0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x427fad
xor eax, eax
jmp 0x427fb2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x427fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xc], 0x100
mov ecx, dword [ebp + 8]
call fcn.004014a0
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00409b50
add esp, 8
lea ecx, [ebp - 4]
push ecx
push 1
push 0
lea edx, [ebp - 0x110]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x428081
lea eax, [ebp - 4]
push eax
push 0x201
push 0
lea ecx, [ebp - 0x110]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x428081
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
push edx
lea eax, [ebp - 0x110]
push eax
push 0x4366b0
call fcn.0042a0d0
add esp, 0xc
xor eax, eax
jmp 0x428174
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004099f8
add esp, 4
mov dword [ebp - 0x114], eax
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x114]
push eax
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004014a0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xea
jne 0x4280df
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.0040a6a9
add esp, 8
mov dword [ebp - 0x114], eax
jmp 0x428093
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4280fa
push str._Close_regkey_failed
call fcn.0042a0d0
add esp, 4
cmp dword [ebp - 8], 0
je 0x42812a
push str.ERR:_Get_client_app_path_failed_
call fcn.0042a0d0
add esp, 4
mov edx, dword [ebp - 0x114]
push edx
call fcn.0040984a
add esp, 4
mov dword [ebp - 0x114], 0
xor eax, eax
jmp 0x428174
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004013a0
mov ecx, dword [ebp - 0x114]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004014a0
push eax
push str.INF:_Get__s_value:__s__SUC...
call fcn.0042a0d0
add esp, 0xc
mov edx, dword [ebp - 0x114]
push edx
call fcn.0040984a
add esp, 4
mov dword [ebp - 0x114], 0
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x428ac0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f057
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov byte [ebp - 0x124], 0
push 0x103
push 0
lea eax, [ebp - 0x123]
push eax
call fcn.004097d0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x124]
push ecx
call fcn.004097d0
add esp, 0xc
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x14]
call fcn.00406750
lea edx, [ebp - 0x14c]
push edx
mov ecx, dword [ebp - 0x158]
add ecx, 0xe4
call fcn.00405490
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
jmp 0x428b63
lea ecx, [ebp - 0x14]
call fcn.00403cc0
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
add ecx, 0xe4
call fcn.004054c0
push eax
lea ecx, [ebp - 0x14]
call fcn.004055d0
movzx ecx, al
test ecx, ecx
je 0x428c63
lea ecx, [ebp - 0x144]
call fcn.004012b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405570
push eax
lea ecx, [ebp - 0x144]
call fcn.00401380
lea ecx, [ebp - 0x144]
call fcn.004014a0
push eax
lea edx, [ebp - 0x124]
push edx
call fcn.00409b50
add esp, 8
mov ecx, dword [ebp - 0x158]
call fcn.004014a0
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00409b60
add esp, 8
push 0x4362d8
lea ecx, [ebp - 0x124]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, dword [ebp - 0x158]
add ecx, 0x38
call fcn.004014a0
push eax
lea edx, [ebp - 0x124]
push edx
call fcn.00409b60
add esp, 8
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x428c4c
mov dword [ebp - 0x128], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00401360
jmp 0x428c63
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00401360
jmp 0x428b5b
cmp dword [ebp - 0x128], 0
je 0x428cac
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [ebp - 0x158]
add ecx, 0xfc
call fcn.004013a0
mov ecx, dword [ebp - 0x158]
add ecx, 0xfc
call fcn.004014a0
push eax
push str.Get_SD_file_SUS:__s
call fcn.0042a0d0
add esp, 8
mov eax, 1
jmp 0x428cc4
push 0x433012
mov ecx, dword [ebp - 0x158]
add ecx, 0xfc
call fcn.004013a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret