joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov ebx, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], 0xa
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x401b46
mov dword [esp + 4], eax
mov ebp, eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
test eax, eax
je 0x401b46
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
sub esp, 4
mov esi, eax
test eax, eax
je 0x401b46
mov dword [esp], ebx
xor ebx, ebx
mov dword [esp + 4], ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [edi], 0
sub esp, 8
mov dword [edi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [edi + 8], 0
test eax, eax
jne 0x401b32
jmp 0x401b58
lea ebx, [ebp + ebx + 4]
cmp dword [esp + 0x1c], ebx
jbe 0x401b58
mov ebp, dword [esi + ebx]
lea edx, [esi + ebx + 4]
mov eax, edi
mov ecx, ebp
call fcn.00401a10
test eax, eax
je 0x401b28
add esp, 0x2c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4020f0
Capabilities:
Get common file path

Disassembly:
push esi
push ebx
sub esp, 0x34
mov eax, dword [0x5ed2f0]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 8], 0
mov dword [esp + 0x20], eax
mov eax, dword [0x5ed2f4]
mov dword [esp + 4], 0
mov dword [esp + 0x24], eax
mov eax, dword [0x5ed2f8]
mov dword [esp + 0x28], eax
mov eax, dword [0x5ed2fc]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call sub.SHELL32.dll_SHGetKnownFolderPath
sub esp, 0x10
test eax, eax
je 0x402178
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchStripToRoot]
sub esp, 8
add esp, 0x34
pop ebx
pop esi
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0x5a2068
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.00401e90
jmp 0x40214c

Function at 0x4021a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x3c
mov eax, dword [0x5ed050]
mov dword [esp + 8], 0
mov dword [esp + 0x20], eax
mov eax, dword [0x5ed054]
mov dword [esp + 4], 0
mov dword [esp + 0x24], eax
mov eax, dword [0x5ed058]
mov dword [esp + 0x28], eax
mov eax, dword [0x5ed05c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
call sub.SHELL32.dll_SHGetKnownFolderPath
sub esp, 0x10
test eax, eax
je 0x402210
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
sub esp, 4
add esp, 0x3c
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], 0x5a2068
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00401e90
jmp 0x4021f2
Function at 0x4022f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x2c
lea eax, [esp + 0x18]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
sub esp, 0x10
test eax, eax
je 0x402330
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 0x2c
ret
xor eax, eax
xor edx, edx
add esp, 0x2c
ret
Function at 0x402ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00413400
lea eax, [ebx + 0x78]
mov dword [ebx], 0x5f98a8
mov dword [ebp - 0x3c], eax
lea eax, [ebx + 0x80]
sub esp, 4
mov dword [ebx + 0x78], eax
mov edi, dword [esi]
mov esi, dword [esi + 4]
mov edx, edi
add edx, esi
je 0x402be4
test edi, edi
je 0x402d98
mov dword [ebp - 0x30], esi
cmp esi, 0xf
ja 0x402d58
cmp esi, 1
jne 0x402cc8
movzx edx, byte [edi]
mov byte [ebx + 0x80], dl
fld1
mov dword [ebx + 0x7c], esi
mov ecx, dword [ebp - 0x3c]
mov byte [eax + esi], 0
lea eax, [ebx + 0x98]
lea esi, [ebx + 0x90]
fst dword [ebx + 0xa8]
fst dword [ebx + 0xc0]
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], 0
mov byte [ebx + 0x98], 0
mov dword [ebx + 0xac], 0x18
mov dword [ebx + 0xb0], 0xc
mov dword [ebx + 0xcc], 0x3f34b4b5
mov dword [esp], 0x5a2150
fst dword [ebx + 0xc4]
fstp dword [ebx + 0xc8]
call fcn.004d8730
sub esp, 4
test eax, eax
je 0x402d30
mov dword [esp], 0x5a2150
mov ecx, dword [ebp + 0x10]
call fcn.004d8730
sub esp, 4
test eax, eax
je 0x402cd8
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [esp], eax
call fcn.005459a0
sub esp, 4
mov eax, dword [ebp + 0x14]
test eax, eax
mov eax, 0x10
cmovg eax, dword [ebp + 0x14]
mov dword [ebp + 0x14], eax
mov dword [ebx + 0x68], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
test esi, esi
je 0x402c02
jmp 0x402d7d
lea eax, [ebp - 0x30]
lea edi, [ebp - 0x28]
mov ecx, esi
mov dword [ebp - 0x28], 0x63616c42
mov dword [esp], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], 0x6c6f486b
mov byte [ebp - 0x20], 0x65
mov dword [ebp - 0x2c], 9
mov byte [ebp - 0x1f], 0
call fcn.005459a0
mov eax, dword [ebp - 0x30]
sub esp, 4
cmp eax, edi
je 0x402ca4
mov edx, dword [ebp - 0x28]
mov dword [esp], eax
add edx, 1
mov dword [esp + 4], edx
call fcn.00570880
jmp 0x402ca4
lea eax, [ebp - 0x30]
mov ecx, ebx
mov dword [ebp - 0x30], 0x14
mov dword [esp], eax
mov dword [ebp - 0x2c], 0x14
call fcn.00402b30
sub esp, 4
jmp 0x402c7e
lea eax, [ebp - 0x30]
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00545a60
mov edx, dword [ebp - 0x30]
mov dword [ebx + 0x78], eax
sub esp, 8
mov dword [ebx + 0x80], edx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov esi, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
jmp 0x402c02
mov dword [esp], 0x5a2154
call fcn.00574490
mov edi, eax
jmp 0x5717c0
lea ecx, [ebp - 0x30]
call fcn.005430f0
mov ecx, esi
call fcn.005430f0
mov ecx, dword [ebp - 0x3c]
call fcn.005430f0
mov ecx, ebx
call fcn.00412d00
mov dword [esp], edi
call fcn.004a4100
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov ecx, 0x65703c
call fcn.00565e00
mov dword [esp], 0x405a90
call fcn.004014c0
add esp, 0x1c
ret
Function at 0x404f40
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x404f5a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0x5a4024
mov dword [esp + 4], 0x104
mov dword [esp + 0xc], eax
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.00404b30
test eax, eax
js 0x404ff0
mov eax, dword [esp + 0x38]
mov dword [esp + 8], 0x5a4024
mov dword [esp + 4], 0x104
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x210]
mov dword [esp], eax
call fcn.00404b30
test eax, eax
js 0x404ff0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x404b60
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov dword [ebx], eax
add esp, 0x28
pop ebx
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x5a402c
mov dword [esp + 4], str.Install:_swprintf_nInvalid_path.
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x10
add esp, 0x28
pop ebx
ret

Function at 0x405020
Capabilities:
Create process on windows

Disassembly:
push esi
push ebx
sub esp, 0xa74
lea ebx, [esp + 0x2c]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call fcn.00402270
mov eax, dword [esp + 0xa84]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x234]
mov dword [esp + 8], 0x5a41e4
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call fcn.00404b30
test eax, eax
js 0x405120
mov eax, dword [esp + 0xa88]
lea esi, [esp + 0x43c]
mov dword [esp + 8], 0x5a41e4
mov dword [esp + 4], 0x104
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa80]
mov dword [esp], esi
add eax, 0x210
mov dword [esp + 0xc], eax
call fcn.00404b30
test eax, eax
js 0x405120
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x644]
mov dword [esp + 0x10], esi
mov dword [esp + 8], str._E__I__Y___ls____ls_
mov dword [esp + 4], 0x216
mov dword [esp], ebx
call fcn.00404b30
test eax, eax
js 0x405120
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], str.xcopy
mov dword [esp + 4], str.open
mov dword [esp], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x18
add esp, 0xa74
pop ebx
pop esi
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x5a402c
mov dword [esp + 4], str.ApplyCrack:_swprintf_nInvalid_path.
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x10
add esp, 0xa74
pop ebx
pop esi
ret
Function at 0x405160
Capabilities:
Create shortcut via ishelllink

Disassembly:
push edi
push esi
push ebx
sub esp, 0x850
lea ebx, [esp + 0x440]
mov dword [esp + 4], 0x104
lea esi, [esp + 0x30]
mov dword [esp], ebx
call fcn.004021a0
mov eax, dword [esp + 0x868]
mov dword [esp + 8], 0x5a41e4
mov dword [esp + 4], 0x104
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x860]
mov dword [esp], esi
add eax, 0x210
mov dword [esp + 0xc], eax
call fcn.00404b30
test eax, eax
js 0x405260
mov eax, dword [esp + 0x864]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x648]
mov dword [esp + 8], 0x5a42ca
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call fcn.00404b30
test eax, eax
js 0x405260
lea edi, [esp + 0x238]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x5a4024
mov dword [esp + 4], 0x104
mov dword [esp], edi
call fcn.00404b30
mov dword [esp + 4], 0x104
mov dword [esp], edi
call dword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
sub esp, 8
mov dword [esp + 4], 2
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
sub esp, 8
cmp eax, 1
jbe 0x405298
mov dword [esp], str.CreateShortcut:_CoInitializeEx_n
call fcn.004025a0
add esp, 0x850
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x5a402c
mov dword [esp + 4], str.CreateShortcut:_swprintf_nInvalid_path.
mov dword [esp], 0
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x10
add esp, 0x850
pop ebx
pop esi
pop edi
ret
lea eax, [esp + 0x28]
mov dword [esp + 0xc], 0x5f1340
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0
mov dword [esp], 0x5ec800
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
test eax, eax
jne 0x4053a0
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x50]
sub esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x86c]
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x2c]
sub esp, 8
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 8
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x44]
sub esp, 0xc
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x5f0940
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
jne 0x4053b8
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x18]
sub esp, 0xc
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
add esp, 0x850
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.CreateShortcut:_CoCreateInstance_n
call fcn.004025a0
jmp 0x405288
mov dword [esp], str.CreateShortcut:_QueryInterface_n
call fcn.004025a0
jmp 0x405377
Function at 0x406690
Capabilities:
Check mutex on windows

Disassembly:
push ebx
sub esp, 0x238
call fcn.00406380
mov eax, dword [0x65700c]
lea ebx, [esp + 0x28]
mov dword [esp + 8], 0x5a4976
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [0x657010]
mov dword [esp + 4], 0x104
mov dword [esp + 0xc], eax
call fcn.00405ca0
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 4], 1
mov dword [esp], 0
call ebx
sub esp, 0xc
test eax, eax
je 0x40672d
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
jne 0x406745
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
sub esp, 0xc
mov dword [0x656fc4], eax
add esp, 0x238
pop ebx
ret
mov dword [esp], str.Init:_CreateMutex_n
call fcn.004025a0
mov dword [esp], 1
call sub.msvcrt.dll_exit
mov dword [esp], str.Init:_WaitForSingleObject_n
call fcn.004025a0
mov dword [esp], 1
call sub.msvcrt.dll_exit
lea esi, [esi]
Function at 0x406760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xac
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetIconInfo]
sub esp, 8
cmp eax, 1
je 0x406798
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
call dword [sym.imp.USER32.dll_GetDC]
sub esp, 4
mov edi, eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], 0x18
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
sub esp, 0xc
mov ecx, dword [esp + 0x60]
movzx eax, word [esp + 0x6e]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x2c], eax
imul eax, ecx
mov dword [esp + 0x28], ecx
imul eax, ebp
test eax, eax
lea ebx, [eax + 7]
cmovns ebx, eax
sar ebx, 3
mov dword [esp], ebx
mov dword [esp + 0x24], ebx
call fcn.00570890
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], edi
mov esi, eax
mov eax, ebp
mov dword [esp + 0x74], 0x28
neg eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, 1
mov word [esp + 0x80], ax
lea eax, [esp + 0x74]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov word [esp + 0x82], dx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0
mov dword [esp + 4], eax
call dword [sym.imp.GDI32.dll_GetDIBits]
sub esp, 0x1c
test ebx, ebx
je 0x4068c9
mov eax, esi
xor edx, edx
lea esi, [esi]
movzx ecx, byte [eax]
movzx ebx, byte [eax + 2]
add edx, 4
add eax, 4
mov byte [eax - 4], bl
mov byte [eax - 2], cl
cmp dword [esp + 0x24], edx
ja 0x4068b0
mov eax, dword [esp + 0x60]
mov dword [esp + 4], 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [0x657038]
mov dword [esp], eax
call fcn.0048a6f0
mov dword [esp], esi
call fcn.00570850
mov eax, dword [esp + 0x54]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call ebx
sub esp, 4
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40dc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [ecx + 0x4c], 0
jne 0x40dc50
ret
jmp fcn.0040d6b0
Function at 0x42b2a0
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx]
test eax, eax
je 0x42b2ba
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x42b130
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
mov dword [ebx], eax
add esp, 0x28
pop ebx
ret
Function at 0x432f50
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40000
mov esi, dword [esp + 0x24]
call sub.msvcrt.dll_malloc
test eax, eax
je 0x432f9b
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00432bc0
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_CharToOemW]
sub esp, 8
mov dword [esp], ebx
call sub.msvcrt.dll_free
add esp, 0x14
mov eax, esi
pop ebx
pop esi
ret
cmp dword [0x678a20], 0
je 0x432fb9
mov dword [esp + 4], 1
mov dword [esp], 0x6789e0
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, 0x40000
call fcn.00432cc0
lea esi, [esi]
lea esi, [esi]
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40000
mov esi, dword [esp + 0x24]
call sub.msvcrt.dll_malloc
test eax, eax
je 0x43301b
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_OemToCharW]
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00432e30
mov dword [esp], ebx
call sub.msvcrt.dll_free
add esp, 0x14
mov eax, esi
pop ebx
pop esi
ret
cmp dword [0x678a20], 0
je 0x433039
mov dword [esp + 4], 1
mov dword [esp], 0x6789e0
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, 0x40000
call fcn.00432cc0
lea esi, [esi]
lea esi, [esi]

Function at 0x433050
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x678bd4]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4330d0
test eax, eax
je 0x433091
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x433097
mov eax, dword [0x678bd4]
test eax, eax
je 0x433091
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [0x678bd4], 0
cmp word [ebx], 0
jne 0x4330a0
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp], ebx
call sub.msvcrt.dll_wcslen
lea esi, [eax + eax + 2]
mov dword [esp], esi
call sub.msvcrt.dll_malloc
test eax, eax
je 0x4330ec
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [0x678bd4], eax
call sub.msvcrt.dll_wcscpy
add esp, 0x14
pop ebx
pop esi
ret
test eax, eax
je 0x433097
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [0x678bd4], 0
add esp, 0x14
pop ebx
pop esi
ret
cmp dword [0x678a20], 0
je 0x43310a
mov dword [esp + 4], 1
mov dword [esp], 0x6789e0
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, esi
call fcn.00432cc0
lea esi, [esi]
lea esi, [esi]
nop
Function at 0x433120
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [0x678bd4]
test ebx, ebx
je 0x433138
add esp, 0x18
mov eax, ebx
pop ebx
ret
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
test eax, eax
je 0x43318b
mov dword [0x678bd4], eax
mov dword [esp + 4], eax
mov dword [esp], 0x10000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x678bd4]
sub esp, 8
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ebx, dword [0x678bd4]
lea eax, [eax + eax + 2]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_realloc
add esp, 0x18
mov eax, ebx
pop ebx
ret
cmp dword [0x678a20], 0
je 0x4331a9
mov dword [esp + 4], 1
mov dword [esp], 0x6789e0
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, 0x40000
call fcn.00432cc0
lea esi, [esi]
lea esi, [esi]

Function at 0x4331c0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x7c
mov dword [esp + 0x30], 0x40
mov dword [esp], 0x5a78d8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 4], str.GlobalMemoryStatusEx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
sub esp, 8
test eax, eax
je 0x433203
lea edx, [esp + 0x30]
mov dword [esp], edx
call eax
sub esp, 4
test eax, eax
jne 0x433228
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x20
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
xor edx, edx
sub esp, 4
mov eax, dword [esp + 0x18]
add esp, 0x7c
ret
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add esp, 0x7c
ret

Function at 0x4332c0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x4c
lea eax, [esp + 0x1c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
sub esp, 4
mov eax, dword [esp + 0x30]
add esp, 0x4c
ret

Function at 0x4332e0
Capabilities:
Timestomp file

Disassembly:
push esi
push ebx
sub esp, 0x44
mov edx, dword [esp + 0x54]
test edx, edx
jns 0x4332f5
mov dword [esp + 0x54], 0x7fffffff
lea eax, [esp + 0x54]
lea esi, [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_gmtime]
movzx ecx, word [eax + 0x14]
lea edx, [ecx + 0x76c]
movzx ecx, word [eax + 0x10]
mov word [esp + 0x30], dx
lea edx, [ecx + 1]
mov word [esp + 0x32], dx
mov edx, dword [eax + 0xc]
mov word [esp + 0x36], dx
mov edx, dword [eax + 8]
mov word [esp + 0x38], dx
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], esi
mov word [esp + 0x3a], dx
mov word [esp + 0x3c], ax
xor eax, eax
mov word [esp + 0x3e], ax
lea eax, [esp + 0x30]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
sub esp, 8
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x100
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub esp, 0x10
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
add esp, 0x44
pop ebx
pop esi
ret
Function at 0x4334d0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Create process suspended

Disassembly:
push edi
mov ecx, 0x10
xor eax, eax
push esi
push ebx
sub esp, 0x90
lea edx, [esp + 0x50]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x4c], 0x44
lea esi, [esp + 0x4c]
mov edi, edx
rep stosd dword es:[edi], eax
test ebx, ebx
je 0x433610
mov edi, dword [sym.imp.msvcrt.dll__get_osfhandle]
mov dword [esp + 0x78], 0x101
mov dword [esp], 0
call edi
mov dword [esp], 1
mov dword [esp + 0x84], eax
call edi
mov dword [esp], 2
mov dword [esp + 0x88], eax
call edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
mov esi, eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call ebx
test esi, esi
je 0x433602
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4336d0
mov eax, dword [esp + 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x38]
add esp, 0x90
pop ebx
pop esi
pop edi
ret
mov ebx, dword [sym.imp.msvcrt.dll__get_osfhandle]
mov dword [esp], 0
call ebx
mov dword [esp], 1
mov dword [esp + 0x84], eax
call ebx
mov dword [esp], 2
mov dword [esp + 0x88], eax
call ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
mov esi, eax
jmp 0x4335d1
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
sub esp, 8
jmp 0x4335e4