joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41086a
Capabilities:
Delete file

Disassembly:
mov eax, 0x4149eb
call fcn.004143f0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x4c]
test eax, eax
mov dword [ebp - 4], 2
je 0x41054a
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x410558
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esi + 0x8c]
cmp dword [eax], 0
je 0x41056b
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x50]
test eax, eax
je 0x410584
push dword [eax + 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [esi + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x410592
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esi + 0x78]
test eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
je 0x4105a2
push eax
call ebx
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4105ac
push eax
call ebx
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4105b9
push eax
call ebx
mov eax, dword [esi + 0x84]
test eax, eax
je 0x4105c6
push eax
call ebx
lea edi, [esi + 0x88]
mov eax, dword [edi]
test eax, eax
je 0x4105dd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
call ebx
mov ecx, esi
call fcn.0040fbcf
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 1
call fcn.0040fa37
lea ecx, [esi + 0x54]
call fcn.0040ccce
lea ecx, [esi + 0x24]
call fcn.00408f71
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push esi
mov esi, ecx
push 0x418914
mov dword [esi], 0x40261c
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, esi
pop esi
jmp 0x410522

Function at 0x41171e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41174a
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41174a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x41174c
xor eax, eax
ret 8

Function at 0x41413e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418894]
jne 0x414147
ret
jmp 0x41414c
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x418894]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x418a30]
test eax, eax
je 0x414170
call eax
cmp dword [0x418a34], 0
je 0x4141b7
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x418a34]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.0041413e
add ebp, 0x2a8
leave
ret
Function at 0x401620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x630
mov eax, dword [0x415060]
xor eax, esp
mov dword [esp + 0x62c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.gdipp_common_32.dll_int___cdecl_gdipp_get_dir_file_path_struct_HINSTANCE_____wchar_t_const___wchar_t__]
push 0x4170f0
push str.gdipp_setting.xml
push esi
mov dword [0x4172f8], esi
call edi
add esp, 0xc
lea eax, [esp + 0x220]
push eax
push str.gdipp_preview.txt
push esi
call edi
add esp, 0xc
push str.r__ccsUNICODE
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00405e7c
add esp, 0xc
test eax, eax
jne 0x401700
push 2
push eax
mov eax, dword [esp + 0x10]
push eax
call fcn.00405f4d
mov ecx, dword [esp + 0x14]
add esp, 0xc
push ecx
call fcn.0040615d
mov edx, dword [esp + 0xc]
add esp, 4
push edx
mov esi, eax
call fcn.004061c2
xor ecx, ecx
add esp, 4
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004058d2
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
push esi
push 2
push eax
mov dword [0x417300], eax
call fcn.004064ca
mov ecx, dword [0x417300]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [esp + 0x18]
push edx
call fcn.00406554
add esp, 0x14
lea eax, [esp + 0x18]
push eax
push str.gdimm_32.dll
push 0
call edi
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x401752
lea edx, [esp + 0x428]
push edx
push 0x412504
push eax
call edi
add esp, 0xc
test eax, eax
je 0x401752
call dword [sym.imp.gdipp_common_32.dll_void___cdecl_gdipp_init_setting_void_]
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.gdipp_common_32.dll_int___cdecl_gdipp_load_setting_wchar_t_const__]
add esp, 4
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call fcn.00401d10
mov edx, dword [ebp + 0x14]
push edx
call fcn.004013e0
add esp, 4
mov edi, eax
call fcn.00401bd0
mov esi, dword [0x417338]
test esi, esi
je 0x4017e3
mov eax, dword [esi]
test eax, eax
je 0x4017bc
push eax
call fcn.00405be3
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4017d3
push eax
call fcn.00405be3
add esp, 4
mov dword [esi + 4], 0
push esi
mov dword [esi + 8], 0
call fcn.004058dd
add esp, 4
call fcn.00401c50
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4017fd
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x417300]
test eax, eax
je 0x40180f
push eax
call fcn.00405d60
add esp, 4
mov ecx, dword [esp + 0x634]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004058e8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403ad0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x415060]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
mov dword [ebp - 0x220], ecx
mov ecx, dword [edi]
xor esi, esi
push ecx
lea edx, [ebp - 0x218]
or eax, 0x2001f
push edx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.00403a10
mov ebx, eax
cmp ebx, esi
je 0x403b49
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x403b34
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004058e8
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x218]
push esi
push esi
push esi
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push esi
push eax
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x403bcc
lea ecx, [ecx]
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00403ad0
mov ebx, eax
cmp ebx, esi
jne 0x403b23
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x218]
push esi
push esi
push esi
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push esi
push edx
mov dword [ebp - 0x21c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x403b80
mov eax, dword [ebp - 0x218]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x403be5
push eax
call ebx
mov dword [ebp - 0x218], esi
mov eax, dword [ebp - 0x220]
push eax
mov eax, edi
mov dword [ebp - 0x214], esi
call fcn.00403c90
mov edi, eax
mov eax, dword [ebp - 0x218]
cmp eax, esi
je 0x403c08
push eax
call ebx
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004058e8
mov esp, ebp
pop ebp
ret 4
Function at 0x404860
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x415060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x418], edi
push 2
push edi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
cmp esi, edi
jne 0x4048e0
call fcn.00402c10
mov edi, eax
jmp 0x4049f9
mov eax, dword [ebp - 0x41c]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, edi
jne 0x4048ff
call fcn.00402c10
jmp 0x4049f0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, edi
jne 0x40491b
call fcn.00402c10
jmp 0x4049f0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x41c], ebx
cmp eax, ebx
jae 0x40493c
mov edi, 0x8007000e
jmp 0x4049f2
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, edi
ja 0x404951
cmp eax, 0xffffffff
jbe 0x40495b
push 0x80070216
call fcn.00403890
cmp eax, 0x400
jbe 0x40498d
lea ecx, [ebp - 0x418]
push ecx
call fcn.00402be0
jmp 0x404999
lea edx, [ebp - 0x414]
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x418]
cmp eax, edi
jne 0x4049b1
mov edi, 0x8007000e
jmp 0x4049f2
push ebx
push eax
mov eax, dword [ebp - 0x420]
push ebx
push eax
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jne 0x4049cf
call fcn.00402c10
jmp 0x4049f0
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x418]
push eax
lea edx, [ebp - 0x42c]
call fcn.004046c0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x414]
cmp dword [ebp - 0x418], ecx
je 0x404a12
lea eax, [ebp - 0x418]
call fcn.00402bd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004058e8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405725
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4162bc], 0
push esi
push edi
jne 0x40569b
call fcn.00405607
test eax, eax
je 0x4056e0
mov eax, dword [0x4162bc]
cmp eax, 1
jne 0x4056bc
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4056e0
jmp 0x405722
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x405722
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4056e4
xor eax, eax
jmp 0x405722
mov eax, dword [esi]
push dword [0x4162bc]
call edi
mov edi, eax
test edi, edi
je 0x405706
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x405722
lea edi, [esi + 0xff0]
push esi
push dword [0x4162bc]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x40570c
mov eax, esi
pop edi
pop esi
ret
jmp 0x405687

Function at 0x4058e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415060]
jne 0x4058f2
repz ret
jmp fcn.004068ba
Function at 0x40a69b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409a0b
and dword [ebp - 0x14], 0
cmp dword [0x41709c], 0
mov dword [ebp - 0x18], eax
jne 0x40a74e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40a7f6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40a7f6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x41161c
push ebx
mov dword [0x41709c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4170a0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4170a4], eax
call edi
push eax
call esi
mov dword [0x4170ac], eax
test eax, eax
je 0x40a74e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4170a8], eax
mov eax, dword [0x4170a8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40a7a7
cmp dword [0x4170ac], ecx
je 0x40a7a7
push eax
call esi
push dword [0x4170ac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40a7a7
test ebx, ebx
je 0x40a7a7
call edi
test eax, eax
je 0x40a79e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40a79e
test byte [ebp - 8], 1
jne 0x40a7a7
or dword [ebp + 0x10], 0x200000
jmp 0x40a7da
mov eax, dword [0x4170a0]
cmp eax, dword [ebp - 0x18]
je 0x40a7da
push eax
call esi
test eax, eax
je 0x40a7da
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40a7da
mov eax, dword [0x4170a4]
cmp eax, dword [ebp - 0x18]
je 0x40a7da
push eax
call esi
test eax, eax
je 0x40a7da
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41709c]
call esi
test eax, eax
je 0x40a7f6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40a7f8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004058e8
leave
ret
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
push str.Shell32.lib
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SetCurrentProcessExplicitAppUserModelID
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call sub.MPR.dll_WNetCloseEnum
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetACP]
test edi, edi
mov dword [0x4c6cdc], eax
je 0x417c92
test esi, esi
je 0x417c81
mov edx, dword [0x4c5abc]
push 0x4c57ac
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x4c6cdc]
pop edi
pop esi
add esp, 8
ret

Function at 0x4ad0ed
Capabilities:
Encode data using xor

Disassembly:
push 0xf63e566e
push ss
push esi
div byte ds:[esi]
push ss
xor byte [edi + 0x7f], cl
jbe 0x4ad0ef
jns 0x4ad101
out 0xe5, al
xchg edi, eax
sub dword [edi], edi
invalid
xchg ecx, eax
push ds
mov al, byte [ebx - 0x796e9809]
arpl word [esi], sp
invalid

Function at 0x4ba3a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2378
cmp edx, dword [eax]
je 0x4ba3c7
add eax, 8
inc ecx
cmp eax, 0x4c2408
jl 0x4ba3b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2378]
jne 0x4ba4f5
mov eax, dword [0x4c6cfc]
cmp eax, 1
je 0x4ba4cf
test eax, eax
jne 0x4ba3f8
cmp dword [0x4c22a4], 1
je 0x4ba4cf
cmp edx, 0xfc
je 0x4ba4f5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba42f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bad90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb220
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba472
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb220
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf904
push edi
call fcn.004bd0f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bad90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bada0
lea eax, [ebp - 0xa0]
push 0x4bf8e4
push eax
call fcn.004bada0
push dword [esi + 0x4c237c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bada0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bd064
add esp, 0x2c
pop edi
jmp 0x4ba4f5
lea eax, [ebp + 8]
lea esi, [esi + 0x4c237c]
push 0
push eax
push dword [esi]
call fcn.004bb220
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x426a55
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42dee8
cmp edx, dword [eax]
je 0x426a77
add eax, 8
inc ecx
cmp eax, 0x42df78
jl 0x426a68
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42dee8]
jne 0x426ba5
mov eax, dword [0x47f380]
cmp eax, 1
je 0x426b7f
test eax, eax
jne 0x426aa8
cmp dword [0x42dc34], 1
je 0x426b7f
cmp edx, 0xfc
je 0x426ba5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x426adf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00425080
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00424970
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x426b22
lea eax, [ebp - 0x1a4]
push eax
call fcn.00424970
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x428b04
push edi
call fcn.004274e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00425080
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00425090
lea eax, [ebp - 0xa0]
push 0x428ae4
push eax
call fcn.00425090
push dword [esi + 0x42deec]
lea eax, [ebp - 0xa0]
push eax
call fcn.00425090
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00427450
add esp, 0x2c
pop edi
jmp 0x426ba5
lea eax, [ebp + 8]
lea esi, [esi + 0x42deec]
push 0
push eax
push dword [esi]
call fcn.00424970
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x65aa693c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x31a06763
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x100b171
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
mov esi, 0x104
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, esi
jle 0x100b1e5
push 0
push eax
lea ecx, [ebp - 0x218]
call fcn.01002465
test al, al
jne 0x100b1e5
lea ecx, [ebp - 0x218]
call fcn.01001de6
push 0xe
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001d10
leave
ret
push ebx
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call fcn.01008e2c
test eax, eax
jge 0x100b20f
push 0xe
pop ebx
lea ecx, [ebp - 0x218]
call fcn.01001de6
mov eax, ebx
pop ebx
jmp 0x100b1d7
xor esi, esi
mov eax, edi
test edi, edi
je 0x100b237
movzx ecx, word [edi]
test cx, cx
je 0x100b233
push eax
call fcn.01008175
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
jne 0x100b21a
mov esi, eax
jmp 0x100b21a
test esi, esi
jne 0x100b23c
xor ebx, ebx
inc ebx
jmp 0x100b1ff
mov ecx, dword [ebp - 0x218]
xor eax, eax
sub esi, edi
sar esi, 1
push eax
mov word [ecx + esi*2], ax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
jne 0x100b1ff
push 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x21c], eax
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x100b287
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x100b297
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b295
and eax, edi
or eax, esi
mov ebx, eax
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x100b2b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b2b3
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jne 0x100b2e3
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100b2df
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b2e1
and eax, edi
or eax, esi
jmp 0x100b2e1
call eax
mov ebx, eax
cmp dword [ebp - 0x21c], 0
je 0x100b2f8
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x100b1ff
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x170f4695
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x2f2d3450
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219