joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b3a0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44136c
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x24], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 0xc]
call fcn.00405e60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x43b402
jmp 0x43b548
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x6c]
call fcn.00405be0
mov dword [ebp - 4], 0
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.0040a9f0
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.0040a980
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
jle 0x43b496
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
jle 0x43b496
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0040aa40
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xa0]
lea edi, [ebp - 0x6c]
call fcn.00405cf0
mov byte [ebp - 4], 0
lea eax, [ebp - 0x70]
call fcn.00405cd0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041fcc4
add esp, 4
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.00416990
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x6c]
call fcn.00405e60
push eax
lea ecx, [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 8]
push edx
push 1
push 0x40
lea eax, [ebp - 0x64]
push eax
call fcn.0042189b
add esp, 0x10
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042189b
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
push edx
call fcn.00421915
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x6c]
call fcn.00405cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 8
Function at 0x43b570
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441b64
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x298], ecx
push 0x448b80
mov eax, dword [ebp + 0xc]
push eax
call fcn.004219de
add esp, 8
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405c20
mov dword [ebp - 4], 0
push 0x448b84
lea ecx, [ebp - 0x268]
call fcn.004094e0
lea edx, [ebp - 0x264]
push edx
lea eax, [ebp - 0x268]
call fcn.00405e60
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x43b62c
mov byte [ebp - 0x275], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x268]
call fcn.00405cd0
mov al, byte [ebp - 0x275]
jmp 0x43b6e4
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0x10
je 0x43b643
jmp 0x43b645
jmp 0x43b69a
lea esi, [ebp - 0x274]
call fcn.00405be0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x448b8c
lea edi, [ebp - 0x274]
call fcn.004063f0
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
mov ecx, dword [ebp - 0x298]
call sym.Install_rocket.exe_private:_void___thiscall_CNsSkin::WriteSkin_struct__iobuf___class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
mov byte [ebp - 4], 0
lea eax, [ebp - 0x274]
call fcn.00405cd0
lea edx, [ebp - 0x264]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43b62c
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.0041f2cf
add esp, 4
mov byte [ebp - 0x276], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x268]
call fcn.00405cd0
mov al, byte [ebp - 0x276]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 8
Function at 0x43b7f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x43b80a
mov ecx, dword [ebp - 0x14]
call sym.Install_rocket.exe_public:_void___thiscall_CNsSkin::FreeSkin_void_
cmp dword [ebp + 8], 0
je 0x43b81c
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call sym.Install_rocket.exe_public:_void___thiscall_CNsSkin::SetSkinName_wchar_t_const__
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp - 0x14]
call fcn.00405e60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x43b84a
xor al, al
jmp 0x43b8b3
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x43c240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x28], 0
jne 0x43c267
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp + 0xc]
push edx
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x43c28e
mov eax, dword [ebp - 0x20]
jmp 0x43c37e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43c2b0
mov eax, dword [ebp - 0x20]
jmp 0x43c37e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x43c2d5
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x20]
jmp 0x43c37e
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43c302
jmp 0x43c371
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004173a0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x43c367
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.00408ef0
add esp, 8
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 8
Function at 0x43d6f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441c11
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x20], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004091f0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x448bc8
call fcn.00405c20
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.004094e0
lea ecx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x28]
call fcn.00405e60
push eax
mov ecx, dword [ebp - 0x6c]
call sym.Install_rocket.exe_public:_int___thiscall_CNsImage::GetEncoderClsid_wchar_t_const___struct__GUID__
push 0
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.00408fe0
cmp dword [ebp - 0x18], 0
je 0x43d813
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x10], 0
je 0x43d823
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x14], 0
je 0x43d833
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [ebp - 0x4d], 1
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
call fcn.00405cd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00409170
mov al, byte [ebp - 0x4d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 8
Function at 0x43e6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x10]
call sym.Install_rocket.exe_public:_bool___thiscall_CNsImage::isStop_int_
movzx edx, al
test edx, edx
jne 0x43e705
jmp 0x43e770
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call sym.Install_rocket.exe_public:_int___thiscall_CNsImage::GetMovieIndex_int_
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43e71c
jmp 0x43e770
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00409900
mov dword [eax + 0x3c], 0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00409900
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push sym.Install_rocket.exe_private:_static_unsigned_int___stdcall_CNsImage::MovieThread_void__
push 0
push 0
call fcn.00421684
add esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43e770
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret 4

Function at 0x43e7a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.00416990
add esp, 0xc
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00416990
add esp, 0xc
push 0
push 0x14
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x448c3c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x43e892
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.msyh.ttf
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e85d
mov eax, 1
jmp 0x43e894
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.msyh.ttc
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jmp 0x43e894
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x43f730
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442017
mov eax, dword fs:[0]
push eax
sub esp, 0x5dc
mov eax, dword [0x453080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [0x456cec]
test eax, eax
je 0x43f770
or eax, 0xffffffff
jmp 0x43f938
mov byte [0x456cec], 1
push 0x447d34
mov eax, dword [0x4564d4]
add eax, 8
call fcn.00405e60
push eax
push str.http:__api.hofosoft.com_api.ashx
call sym.Install_rocket.exe_void___cdecl_DoReport_wchar_t_const___wchar_t_const___wchar_t_const__
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.00416990
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [ebp - 0x14]
call fcn.00405be0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [ebp - 0x224]
push ecx
push str._s__d.dmp
lea edi, [ebp - 0x14]
call fcn.004063f0
add esp, 0xc
mov byte [ebp - 0x5c5], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x43f8be
push 0
push 0
push 2
push 0
push 0
push 0x1f01ff
lea eax, [ebp - 0x14]
call fcn.00405e60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x5cc], eax
cmp dword [ebp - 0x5cc], 0xffffffff
je 0x43f8b4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x5d0], 1
push 0
push 0
lea ecx, [ebp - 0x5d8]
push ecx
push 0
mov edx, dword [ebp - 0x5cc]
push edx
mov eax, dword [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x43f8a7
mov byte [ebp - 0x5c5], 1
mov edx, dword [ebp - 0x5cc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x5c4]
call fcn.0040d9d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x234], 0xea9d
push 9
push 8
push 0xc8
push 0x12c
push 5
push 0
call fcn.00401000
add eax, 0x212
push eax
push 0
call fcn.00401000
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x5c4]
call fcn.0040e0a0
mov dword [ebp - 0x5dc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
call fcn.0040db50
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
call fcn.00405cd0
mov eax, dword [ebp - 0x5dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00415d4a
mov esp, ebp
pop ebp
ret 4
Function at 0x43fad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x43faf1
cmp dword [ebp + 0xc], 0
je 0x43faf1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jl 0x43faf6
jmp 0x43fb94
push 0x294
call fcn.00416456
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push 0x294
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.00416990
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
add eax, 0x190
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x10], 0
je 0x43fb68
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x64
jge 0x43fb68
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
add eax, 0x1cc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x43f9d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43fb94
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x401110
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov dword [esi], 0x40436c
test eax, eax
je 0x401122
call eax
mov esi, dword [esi + 4]
test esi, esi
je 0x40113c
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x404368]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret

Function at 0x401140
Capabilities:
Extract resource via kernel32 functions
Read file via mapping

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
and eax, 0xffff
push 0x406064
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x1c]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push edi
push 0
mov ebx, eax
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
mov ebp, eax
push 0
push 2
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, edi
mov edi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x402cc0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push eax
push 0
mov esi, ecx
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi + 4], eax
je 0x402ceb
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov al, 1
je 0x402ced
mov al, bl
pop esi
pop ebx
ret 4
Function at 0x402075
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4020b4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4020b4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4020b4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4020b4
cmp dword [ecx + 0x74], 0xe
jbe 0x4020b4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x403454
Capabilities:
Encode data using xor

Disassembly:
mov edx, esi
add esp, 0xfffffffc
mov dword [esp], edx
pop ecx
xor esi, esi
add esi, ecx
add esi, 0
jne 0x4034f1
mov eax, 0x71e9cc44
xor eax, 0x7101b0a2
mov esi, 0x644a2dda
xor eax, esi
xor eax, 0x5b43efbf
mov edx, 0x45d10de4
mov ebx, 0x57df0ce9
xor ebx, edx
mov ecx, 0x925f96c
invalid

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x406c2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406cba
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c77
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403278
jmp 0x406ca4
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c8b
lea eax, [ebp - 4]
call fcn.00403198
jmp 0x406c9a
lea edx, [ebp - 4]
call fcn.00406af0
test ebx, ebx
je 0x406c9a
dec ebx
jmp 0x406c7c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040322c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406cc1
lea eax, [ebp - 4]
call fcn.00403198
ret