joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a1474
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
xor eax, eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a16a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x4a16b0
mov edx, 0x4a16bc
mov eax, 0x80000001
call fcn.004589ec
lea edx, [ebp - 0x228]
xor eax, eax
call fcn.00402b9c
mov eax, dword [ebp - 0x228]
xor edx, edx
call fcn.0040963c
lea eax, [ebp - 0x22c]
call fcn.0049fd3c
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 4]
mov ecx, 0x4a1704
call fcn.00404ca8
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402f50
lea eax, [ebp - 0x1d0]
call fcn.00402cec
call fcn.004028cc
mov edx, 0x4a171c
lea eax, [ebp - 0x1d0]
call fcn.004028cc
call fcn.00405078
call fcn.0040366c
push 0x4a172c
lea edx, [ebp - 0x234]
xor eax, eax
call fcn.00402b9c
push dword [ebp - 0x234]
push 0x4a173c
lea eax, [ebp - 0x230]
mov edx, 3
call fcn.00404d1c
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x1d0]
call fcn.00405078
call fcn.0040366c
call fcn.004028cc
push 0x4a1748
lea edx, [ebp - 0x23c]
xor eax, eax
call fcn.00402b9c
push dword [ebp - 0x23c]
push 0x4a173c
push 0x4a175c
lea eax, [ebp - 0x238]
mov edx, 4
call fcn.00404d1c
mov edx, dword [ebp - 0x238]
lea eax, [ebp - 0x1d0]
call fcn.00405078
call fcn.0040366c
call fcn.004028cc
mov edx, 0x4a1770
lea eax, [ebp - 0x1d0]
call fcn.00405078
call fcn.0040366c
call fcn.004028cc
mov edx, 0x4a1780
lea eax, [ebp - 0x1d0]
call fcn.00405078
call fcn.004028cc
call fcn.0040366c
lea eax, [ebp - 0x1d0]
call fcn.004030f4
call fcn.004028cc
lea eax, [ebp - 0x224]
xor ecx, ecx
mov edx, 0x44
call fcn.004032e4
mov dword [ebp - 0x1f8], 1
mov word [ebp - 0x1f4], 0
lea eax, [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x224]
push eax
push eax
push 0
push 0
push 0x40
push 0
push 0
push eax
mov eax, dword [ebp - 4]
call fcn.00404e5c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4a167c
mov eax, dword [ebp - 0x1dc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x1e0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a16a9
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.004049c0
lea eax, [ebp - 4]
call fcn.0040499c
ret
Function at 0x403bdc
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403d94
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403c3d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403db0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403caa
xor eax, eax
push ebp
push 0x403ca3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403c8c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403dd0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403caa
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403d8b
cmp byte [ebp - 0xd], 0
jne 0x403cec
cmp byte [ebp - 0x12], 0
je 0x403d8b
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403d05
dec ebx
cmp byte [ebx], 0x2e
je 0x403d14
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403d04
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403d8b
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403d41
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403d8b
cmp byte [ebp - 0xd], 0
je 0x403d8b
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403d8b
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405788
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x405892
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x4057db
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.004030d0
jmp 0x405879
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.0040573c
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.0040575c
mov ebx, eax
test esi, esi
je 0x405803
dec esi
test esi, esi
jl 0x405803
cmp edi, ebx
jne 0x4057e2
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00403110
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.0040334c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403158
cmp eax, 2
jl 0x405879
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x405879
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403158
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x405879
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00403158
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.0040334c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405899
lea eax, [ebp - 0x110]
call fcn.00402fec
ret

Function at 0x4058f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x405988
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x40593d
mov eax, dword [ebx + 0x19]
call fcn.0040330c
push eax
push esi
mov eax, edi
call fcn.0040330c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040330c
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x405972
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.0040330c
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.004055fc
mov eax, dword [ebp - 8]
call fcn.0040330c
push eax
mov eax, edi
call fcn.0040330c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040330c
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40598f
lea eax, [ebp - 8]
call fcn.00402fec
ret
Function at 0x402670
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x447170]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x4026e8
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.Failed_to_create_TH_snapshot._System_error__lu
push 1
push 0x2bb
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
add esp, 0x18
call esi
push eax
push str.Failed_to_create_TH_snapshot._System_error__lu
push 4
call fcn.00403680
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0040e49c
add esp, 0x230
ret
push 0x228
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0040e4b0
add esp, 0xc
mov dword [esp + 0xc], 0x22c
lea eax, [esp + 0xc]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x40274f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.Failed_start_walking_TH_snapshot._System_error__lu
push 1
push 0x2c7
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
add esp, 0x18
call esi
push eax
push str.Failed_start_walking_TH_snapshot._System_error__lu
push 4
call fcn.00403680
add esp, 0xc
jmp 0x40281b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
push ebp
cmp dword [esp + 0x18], esi
je 0x40276f
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402758
jmp 0x402777
mov ebp, dword [esp + 0x28]
test ebp, ebp
jne 0x4027a3
push esi
push str.Failed_find_our_PID__lu_in_TH_snapshot
push 1
push 0x2db
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
push esi
push str.Failed_find_our_PID__lu_in_TH_snapshot
push 4
call fcn.00403680
add esp, 0x24
jmp 0x40281a
push ebp
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebx + 0x11c], eax
test eax, eax
je 0x4027e1
push ebp
push eax
push str.Open_parent_process__p_for_PID__lu
push 3
push 0x2e3
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
mov dword [ebx + 0x120], ebp
call fcn.0040d470
add esp, 0x1c
jmp 0x40281a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push ebp
push str.Failed_open_parent_process_for_PID__lu._System_error__lu
push 1
push 0x2eb
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
add esp, 0x1c
call esi
push eax
push ebp
push str.Failed_open_parent_process_for_PID__lu._System_error__lu
push 4
call fcn.00403680
add esp, 0x10
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040e49c
add esp, 0x230
ret
Function at 0x402840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x21c
mov eax, dword [0x447170]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push edi
mov edi, dword [esp + 0x228]
mov ebx, ecx
push edi
push str.Load_plugins_from__S
push 3
push 0x246
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4028ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.GetFileAttributes_failed_for_path:__S__system_err:__lu_
push 1
push 0x24f
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
add esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.GetFileAttributes_failed_for_path:__S__system_err:__lu_
push 0x2b
call fcn.00403680
add esp, 0x10
xor al, al
jmp 0x402957
test al, 0x10
jne 0x40291b
push edi
call fcn.004025e0
add esp, 4
push edi
test al, al
jne 0x402909
push str.File__S_is_not_supported
push 1
push 0x25b
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcHost.cpp
push dword [ebx + 8]
call fcn.0040d470
push edi
push str.File__S_is_not_supported
push 0x2c
call fcn.00403680
add esp, 0x24
xor al, al
jmp 0x402957
or dword [ebx + 4], 0x10
mov ecx, ebx
call fcn.00401cb0
neg eax
sbb eax, eax
inc eax
jmp 0x402957
test byte [ebx + 4], 8
mov ecx, 0x11
mov eax, 1
cmovne eax, ecx
lea ecx, [esp + 8]
push eax
push edi
push dword [ebx + 8]
call fcn.0040dbd0
lea eax, [esp + 0xc]
mov dword [esp + 8], vtable.nvc::HostDirectoryEnumerator.0
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x220], ebx
call fcn.0040dc10
mov ecx, dword [esp + 0x220]
pop edi
pop ebx
xor ecx, esp
call fcn.0040e49c
add esp, 0x21c
ret 4
Function at 0x405330
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x274
mov eax, dword [0x447170]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
mov ebp, dword [esp + 0x280]
xor eax, eax
push esi
push edi
push 0x206
mov ebx, ecx
mov word [esp + 0x7c], ax
push eax
lea eax, [esp + 0x82]
mov ecx, 0x19
mov esi, str.SOFTWARENVIDIA_CorporationNvContainerModuleMap
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0040e4b0
add esp, 0xc
mov dword [esp + 0x10], 0x208
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x7c]
push eax
push 0
push 2
push ebp
lea eax, [esp + 0x28]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test esi, esi
jne 0x405429
cmp word [esp + 0x78], ax
je 0x405429
push eax
lea eax, [esp + 0x7c]
mov ecx, ebx
push eax
call fcn.00405480
mov edi, eax
test edi, edi
je 0x4053e5
push ebp
push str.Loaded_dependency_module__S
push 3
push 0x92
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
push dword [ebx]
call fcn.0040d470
add esp, 0x18
mov eax, edi
jmp 0x405456
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea eax, [esp + 0x7c]
push eax
push str.Failed_to_load_dependency__S._Error__lu
push 1
push 0x99
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
push dword [ebx]
call fcn.0040d470
add esp, 0x1c
call esi
push eax
lea eax, [esp + 0x7c]
push eax
push str.Failed_to_load_dependency__S._Error__lu
push 0x1d
call fcn.00403680
add esp, 0x10
mov eax, edi
jmp 0x405456
push esi
push ebp
push str.Failed_to_map_module__S__result__ld_
push 1
push 0xa2
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
push dword [ebx]
call fcn.0040d470
push esi
push ebp
push str.Failed_to_map_module__S__result__ld_
push 0x1f
call fcn.00403680
add esp, 0x2c
xor eax, eax
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e49c
add esp, 0x274
ret 4
Function at 0x405480
Capabilities:
Get file version info

Disassembly:
sub esp, 0x94
mov eax, dword [0x447170]
xor eax, esp
mov dword [esp + 0x90], eax
movdqu xmm0, xmmword [str.Unknown]
push ebx
mov ebx, dword [esp + 0x9c]
lea eax, [esp + 0x24]
push ebp
push esi
push edi
push 0x70
push 0
push eax
mov ebp, ecx
movdqu xmmword [esp + 0x2c], xmm0
call fcn.0040e4b0
add esp, 0xc
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x405552
push 0x449a28
push edi
call fcn.0040f9e4
mov esi, eax
add esp, 8
test esi, esi
je 0x405552
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405549
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
push eax
push 0x43cb68
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405549
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x43cb6c
lea eax, [esp + 0x34]
push 0x40
push eax
call fcn.00406bd0
add esp, 0x1c
push esi
call fcn.0040e594
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [esp + 0x10]
push eax
call esi
push 1
push 0
push ebx
call fcn.0040c410
add esp, 0xc
mov edi, eax
lea eax, [esp + 0x18]
push eax
call esi
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x14]
push 0
push 0xa
push ecx
push edx
call fcn.0040f6c0
mov esi, eax
lea eax, [esp + 0x20]
push esi
push edi
push eax
push ebx
push str.Secure_loading__S____S_at__p_took__lu_microseconds
push 3
push 0x6c
push str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
push dword [ebp]
call fcn.0040d470
add esp, 0x24
test edi, edi
je 0x4055e7
cmp byte [esp + 0xac], 0
je 0x4055e7
lea eax, [esp + 0x20]
push eax
lea eax, [ebp + 0x298]
push 0x43cc0c
push eax
call fcn.004047a0
mov eax, dword [ebp + 0x294]
add esp, 0xc
test eax, eax
je 0x4055e7
mov dword [eax + 0x40], esi
mov ecx, dword [esp + 0xa0]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e49c
add esp, 0x94
ret 8
Function at 0x406bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
popal
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
jl 0x406bb8
inc ebp
iretd
jo 0x406bbc
inc ebp
rcl byte [ebx]
call fcn.004068c0
nop
xor dword [ecx], edi
push esp
lea eax, [ebp - 0x40]
push eax
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004068c0
rcl ebp, cl
xor eax, 0xe8458de9
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
jl 0x406bb8
inc ebp
iretd
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
Function at 0x406ca0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
popal
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
jl 0x406bb8
inc ebp
iretd
jo 0x406bbc
inc ebp
rcl byte [ebx]
call fcn.004068c0
nop
xor dword [ecx], edi
push esp
lea eax, [ebp - 0x40]
push eax
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.004068c0
rcl ebp, cl
xor eax, 0xe8458de9
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
jl 0x406bb8
inc ebp
iretd
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004068d0
push eax
push esi
push dword [ebp + 8]
call fcn.00406885
Function at 0x408ef0
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
je 0x408fa4
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebp
push ebp
call esi
mov ecx, edi
mov ebx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408f13
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ebx]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x408f40
pop edi
pop esi
pop ebp
pop ebx
ret
push ebx
push ebp
call esi
mov esi, eax
cmp word [ebp + esi*2 - 2], 0x5c
je 0x408f59
mov eax, 0x5c
mov word [ebp + esi*2], ax
inc esi
mov ecx, edi
xor edx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408f60
sub ecx, ebx
sar ecx, 1
je 0x408fa4
lea esi, [esi*2]
add esi, ebp
lea ebx, [ebx]
mov ax, word [edi + edx*2]
lea esi, [esi + 2]
mov word [esi - 2], ax
inc edx
mov eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408f91
sub eax, ebx
sar eax, 1
cmp edx, eax
jb 0x408f80
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret

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

Disassembly:
push esi
push dword [esp + 8]
push dword [esp + 0x10]
call fcn.0040aad0
mov esi, eax
add esp, 8
test esi, esi
je 0x409067
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40904b
test al, 0x50
jne 0x40904b
mov eax, esi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40905e
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
ret