joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417d50
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x417d77
jmp 0x417de5
lea eax, [ebp - 0xc]
push eax
push 0x28
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x417d8f
jmp 0x417de5
lea edx, [ebp - 0x18]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x417da8
jmp 0x417de5
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x417dde
jmp 0x417de5
mov dword [ebp - 8], 1
cmp dword [ebp - 0xc], 0
je 0x417dfc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
cmp dword [ebp - 4], 0
je 0x417e13
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4180e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x41810a
jmp 0x41814a
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x418137
cmp dword [ebp - 4], 4
je 0x41813b
jmp 0x41814a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x4181c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.0041bdb0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x41822b
jmp 0x41828c
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x418250
jmp 0x41828c
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x244]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00448c20
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x240]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x418250
mov dword [ebp - 0x23c], 1
cmp dword [ebp - 0x240], 0xffffffff
je 0x4182a2
mov ecx, dword [ebp - 0x240]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x23c], 0
jne 0x4182c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KHelper::GetAllProcess_error:_d
push 0x46afbc
call fcn.00420980
add esp, 0xc
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret
Function at 0x418530
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f2f6
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x31c], ecx
mov word [ebp - 0x30c], 0
push 0xd2
push 0
lea eax, [ebp - 0x30a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x30c]
push ecx
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x4185a5
xor eax, eax
jmp 0x4186d0
mov eax, dword [ebp - 0x230]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x14], eax
mov word [ebp - 0x22c], 0
push 0x208
push 0
lea edx, [ebp - 0x22a]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x24], 0
mov ecx, dword [ebp - 0x31c]
add ecx, 4
call fcn.0041ad70
mov dword [ebp - 0x310], 0
jmp 0x41860e
mov ecx, dword [ebp - 0x310]
add ecx, 1
mov dword [ebp - 0x310], ecx
mov edx, dword [ebp - 0x310]
cmp edx, dword [ebp - 0x14]
jge 0x4186cb
mov eax, dword [ebp - 0x10]
mov word [eax + 4], 0
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4186bd
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x314]
call fcn.00401000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x314]
push ecx
mov ecx, dword [ebp - 0x31c]
add ecx, 4
call fcn.004010c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.00401080
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x318]
call fcn.00401000
mov dword [ebp - 4], 1
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x31c]
add ecx, 4
call fcn.004010c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x318]
call fcn.00401080
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x10], ecx
jmp 0x4185ff
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret
Function at 0x4188e0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f36b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x43c], 0x428
mov eax, dword [ebp + 8]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x418958
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KHelper::GetProcessModules_CreateToolhelp32Snapshot_failed__error:_d
push 0x46afbc
call fcn.00420980
add esp, 0xc
jmp 0x4189d9
lea ecx, [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x41896e
jmp 0x4189d9
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x444]
call fcn.00401000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x444]
push ecx
call fcn.00418a10
add esp, 4
test eax, eax
je 0x4189a9
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004010c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x444]
call fcn.00401080
lea eax, [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x41896e
mov dword [ebp - 0x440], 1
cmp dword [ebp - 0x10], 0xffffffff
je 0x4189e9
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret
Function at 0x418dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f448
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
call fcn.00444b10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00444d70
lea ecx, [ebp - 0x18]
call fcn.004068d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.004181c0
add esp, 4
test eax, eax
jne 0x418e3b
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x418f68
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00448d10
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
jmp 0x418e5c
lea ecx, [ebp - 0x14]
call fcn.00444ba0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0042e6d0
push eax
lea ecx, [ebp - 0x14]
call fcn.0043e6e0
movzx edx, al
test edx, edx
je 0x418f68
lea ecx, [ebp - 0x14]
call fcn.00444b80
cmp dword [eax], 0
je 0x418e96
lea ecx, [ebp - 0x14]
call fcn.00444b80
cmp dword [eax], 4
jne 0x418e98
jmp 0x418e54
lea ecx, [ebp - 0x14]
call fcn.00444b80
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00418710
add esp, 8
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
call fcn.004033c0
push eax
lea ecx, [ebp - 0x18]
call fcn.004027e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00401080
push 0
push str.WiseDriverCare.exe
lea ecx, [ebp - 0x18]
call fcn.0040a9c0
cmp eax, 0xffffffff
je 0x418f63
lea ecx, [ebp - 0x14]
call fcn.00444b80
mov eax, dword [eax]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x418f4a
push 0
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x418f3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KHelper::ExitDriverGeniusMain_TerminateProcess_failed__error:_d
push 0x46afbc
call fcn.00420980
add esp, 0xc
mov dword [ebp - 0x1c], 0xffffffff
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x418f63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KHelper::ExitDriverGeniusMain_OpenProcess_failed__error:_d
push 0x46afbc
call fcn.00420980
add esp, 0xc
jmp 0x418e54
mov eax, dword [ebp - 0x1c]
push eax
push str.KHelper::ExitDriverGeniusMain_return__d
push 0x46afbc
call fcn.00420980
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042e4c0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4190d0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x419107
jmp 0x419141
push 0xf003f
push str.dgpnpsev
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x419128
jmp 0x419141
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x419141
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x419151
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0xc], 0
je 0x419161
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
push ecx
push str.KHelper::StartDgnpsev_return:_d
push 0x46afbc
call fcn.00420980
add esp, 0xc
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4192f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x41930c
jmp 0x41934a
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x419343
jmp 0x41934a
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x419360
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x419380
xor eax, eax
jmp 0x4193d3
push 0
push str.TrayNotifyWnd
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4193a0
xor eax, eax
jmp 0x4193d3
push 0
push str.SysPager
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x4193c0
xor eax, eax
jmp 0x4193d3
push 0
push str.ToolBarWindow32
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esp, ebp
pop ebp
ret

Function at 0x419510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x41952c
jmp 0x41955a
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x419553
jmp 0x41955a
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x419570
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREWISEDriverCareUpdate
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4195a7
jmp 0x4195c1
push str.NeedReboot
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4195c1
mov dword [ebp - 8], 1
cmp dword [ebp - 4], 0
je 0x4195d1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x419db0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f600
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x46ab5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x46b648
call fcn.0042fca0
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 0x4578e0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040a500
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401080
lea ecx, [ebp - 0x10]
call fcn.0040f280
push eax
push 0
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, 0x46b648
call fcn.004306e0
test eax, eax
jle 0x419e5b
mov ecx, 0x46b648
call fcn.004306e0
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401080
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 0x41a0f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f6a9
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x10]
call fcn.004068d0
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
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x228]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.004068d0
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x22c]
push ecx
call fcn.004165b0
add esp, 8
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
push ecx
push 0x4578e0
lea edx, [ebp - 0x228]
push edx
call fcn.0040a500
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call fcn.00401080
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
call fcn.004027e0
push 0x456c4c
lea ecx, [ebp - 0x224]
call fcn.00407400
push 0
lea ecx, [ebp - 0x224]
call fcn.0040f280
push eax
call dword [sym.imp.MSVCR80.dll__waccess]
add esp, 8
test eax, eax
jne 0x41a21d
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x228]
call fcn.004027e0
lea ecx, [ebp - 0x228]
call fcn.0040f280
push eax
push 0x104
lea edx, [ebp - 0x21c]
push edx
push 0x4563e8
push str.Version
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jle 0x41a268
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004010a0
lea ecx, [ebp - 0x10]
call fcn.004033c0
push 0x4563e8
push 0x4569a8
lea ecx, [ebp - 0x10]
call fcn.0041a990
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401de0
mov edx, dword [ebp - 0x230]
or edx, 1
mov dword [ebp - 0x230], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x224]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401080
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret
Function at 0x41bb40
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f980
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x46ab5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x30]
call fcn.004068d0
mov dword [ebp - 4], 0
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x28]
call fcn.004068d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004068d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004491e0
add esp, 0xc
mov dword [ebp - 0x34], 0
jmp 0x41bbde
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x10
jge 0x41bc0c
mov edx, dword [ebp - 0x34]
movzx eax, byte [ebp + edx - 0x20]
push eax
push str._02x
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040a500
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x30]
call fcn.00407430
jmp 0x41bbd5
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c5c0
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x24]
call fcn.004027e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00401080
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00407430
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
je 0x41bc8b
mov ecx, dword [ebp + 8]
call fcn.0041c710
test eax, eax
jne 0x41bc8b
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041c4c0
mov dword [ebp - 0x2c], eax
jmp 0x41bca3
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041c1c0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41bcc6
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00401080
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00401080
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044be2c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x41c37a
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x41c3a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.0041c3d0
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0040f280
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
call fcn.0041c410
mov esp, ebp
pop ebp
ret

Function at 0x41d400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x41d409
xor ecx, ecx
jne 0x41d409
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41d450
mov eax, dword [ebp - 0xc]
jmp 0x41d4ad
cmp dword [ebp - 4], 1
je 0x41d463
cmp dword [ebp - 4], 2
je 0x41d463
mov eax, 0xd
jmp 0x41d4ad
cmp dword [ebp + 0xc], 0
je 0x41d4a1
cmp dword [ebp - 8], 0
je 0x41d499
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x41d490
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x41d497
mov eax, 0xd
jmp 0x41d4ad
jmp 0x41d4a1
mov edx, dword [ebp + 0xc]
mov word [edx], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d8c0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x41d911
jmp 0x41d9b9
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 8], 0
jne 0x41d93f
cmp dword [ebp - 0x18], 0x200000
jbe 0x41d943
jmp 0x41d9b9
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
call fcn.0044be20
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x41d98b
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x41d98f
jmp 0x41d9b9
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x1c]
mov byte [edx + 1], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0x14], 0xffffffff
je 0x41d9c9
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc