joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471433
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4954f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov dword [ebp - 4], eax
mov word [ecx], ax
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push eax
push 0x486de0
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x40], al
mov dword [esi + 0x44], eax
call fcn.00407ef0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4272e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471463
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4954f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
xor eax, eax
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi], vtable.TiXmlElement.0
xor ecx, ecx
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x40], vtable.TiXmlAttribute.0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 7
mov dword [ebp - 4], eax
lea eax, [esi + 0x40]
mov word [eax + 0x10], cx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], 7
mov word [eax + 0x28], cx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x44], eax
mov dword [eax + 0x40], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], ecx
lea ebx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4273a0
sub eax, ebx
lea ecx, [esi + 0x1c]
sar eax, 1
push eax
push dword [ebp + 8]
call fcn.00407ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fef0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471b63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4954f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042a6f0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], vtable.duImageStyle.0
lea ecx, [esi + 0x4c]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x486de0
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.00407ef0
xor eax, eax
mov dword [esi + 0x74], 0
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 7
push eax
push 0x486de0
mov word [ecx], ax
call fcn.00407ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471b88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4954f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042a6f0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], vtable.duLineStyle.0
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x486de0
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.00407ef0
push 0
push 0
lea ecx, [esi + 0x4c]
call fcn.0041a2f0
push 0
push 0
lea ecx, [esi + 0x54]
call fcn.0041a2f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4300d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471b88
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4954f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042a6f0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], vtable.duRectStyle.0
lea ecx, [esi + 0x40]
mov dword [esi + 0x2c], 0xffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x486de0
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.00407ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4301a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471bce
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4954f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042a6f0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], vtable.duTextStyle.0
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
push eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push 0x486de0
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.00407ef0
xor eax, eax
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 7
push eax
push 0x486de0
mov word [ecx], ax
call fcn.00407ef0
xor eax, eax
mov dword [esi + 0x74], 0
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
mov dword [ecx + 0x14], 7
push eax
push 0x486de0
mov word [ecx], ax
call fcn.00407ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x432960
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x432a95
cmp word [esi], 0
je 0x432a95
mov ecx, dword [ebp + 8]
call fcn.004326a0
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432a95
test esi, esi
je 0x432a95
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x432a84
push edi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
mov dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp + 0xc], 0
jne 0x4329fe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x432a5b
mov ecx, dword [ebp + 8]
push dword [ebp + 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x40]
test eax, eax
je 0x432a5b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x433580
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4336be
cmp dword [ebp + 0x10], 0
jle 0x4336be
mov eax, dword [edi + 0x210]
test eax, eax
je 0x4335c9
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [edi + 0x210], 0
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4336be
cmp eax, 0x104
ja 0x4336be
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x4790b0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4336be
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4336be
test esi, esi
je 0x4336be
push 0
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push eax
push dword [ebp + 0x10]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4336ab
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x50
push 0
push 0
push 2
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [edi + 0x210], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x210]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444204
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435570
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
test esi, esi
je 0x4356ba
push 0x228
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 0x22c
push ebx
push eax
call fcn.0044b130
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4356ba
lea eax, [ebp - 0x244]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4356a0
nop word [eax + eax]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0045c4fa
add esp, 8
test eax, eax
je 0x43561f
lea eax, [ebp - 0x244]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4355e0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0
mov ebx, 1
je 0x4356a0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push 0x479494
push 0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x23c]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444204
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444204
mov esp, ebp
pop ebp
ret
Function at 0x435de0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0x190
push 0
mov dword [esi], eax
lea eax, [ebp - 0x194]
push eax
call fcn.0044b130
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00444204
mov esp, ebp
pop ebp
ret 4
Function at 0x439e10
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x4426f0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472e4b
mov eax, dword fs:[0]
push eax
mov eax, 0x293c
call fcn.00444be0
mov eax, dword [0x4954f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2890]
push 0x2880
push 0
push eax
mov dword [ebp - 0x2930], edi
call fcn.0044b130
add esp, 0xc
mov dword [ebp - 0x2894], 0x2880
lea eax, [ebp - 0x2894]
push eax
lea eax, [ebp - 0x2890]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4428fd
lea esi, [ebp - 0x2890]
nop dword [eax + eax]
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x44278b
cmp eax, 0x17
je 0x44278b
mov esi, dword [esi]
test esi, esi
jne 0x442770
jmp 0x4428fd
push 0x98
lea eax, [ebp - 0x292c]
push 0
push eax
call fcn.0044b130
add esp, 0xc
lea ecx, [ebp - 0x292c]
push 1
push 2
call fcn.00441e90
mov dword [ebp - 4], 0
xor edi, edi
nop dword [eax]
mov eax, dword [ebp - 0x292c]
lea ecx, [ebp - 0x2918]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea eax, [ebp - 0x2940]
push eax
call fcn.004438bb
mov ecx, dword [ebp - 0x292c]
lea edx, [ebp - 0x292c]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
mov eax, dword [ebp - 0x292c]
lea ecx, [ebp - 0x292c]
add esp, 0x18
mov eax, dword [eax + 4]
mov byte [ebp + eax - 0x28ec], 0x30
movzx eax, byte [esi + edi + 0x194]
push eax
call fcn.00435fb0
inc edi
cmp edi, 6
jl 0x4427c0
lea eax, [ebp - 0x2948]
push eax
lea ecx, [ebp - 0x292c]
call fcn.00442930
mov edi, dword [ebp - 0x2930]
mov esi, eax
cmp edi, esi
je 0x4428bc
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x44288a
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x442880
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442920
mov eax, edx
push ecx
push eax
call fcn.00444954
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x2934]
cmp edx, 0x10
jb 0x4428f2
mov ecx, dword [ebp - 0x2948]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4428e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442920
push edx
push ecx
call fcn.00444954
add esp, 8
lea ecx, [ebp - 0x292c]
call fcn.0043abe0
xor eax, eax
cmp dword [edi + 0x10], eax
setne al
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.00444204
mov esp, ebp
pop ebp
ret
call fcn.004538a3
int3

Function at 0x44800e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x44801c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
shr eax, 4
and eax, 1
pop ebp
ret
Function at 0x44806c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x44807a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
pop ebp
ret

Function at 0x448881
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4488a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4488a7
xor al, al
jmp 0x4488bb
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x449aa5
Capabilities:
Create directory

Disassembly:
push 0x38
mov eax, 0x47344f
call fcn.0044513e
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x449ac5
mov al, 1
jmp 0x449b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x449ad6
xor al, al
jmp 0x449b0c
lea ecx, [ebp - 0x44]
call fcn.00449c0e
lea ecx, [ebp - 0x1c]
call fcn.00449172
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00449ca6
test al, al
je 0x449b01
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.0044421a
pop ecx
mov al, bl
call fcn.00445107
ret

Function at 0x449b66
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x44a1c5
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
pop ebp
ret

Function at 0x463b51
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004639d0
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
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5cb76d0b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x52a97a40
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
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
mov ebx, 0x40c7d0
mov ecx, 0x6e250301
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4ab45a0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100013e7
Capabilities:
Get hostname

Disassembly:
sub esp, 0xa0
lea ecx, [esp + 4]
mov dword [ebp - 8], ecx
push 0x8c
push dword [ebp - 8]
push 0x10006cfa
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
add esp, 0xa0
sub eax, 0x8ffe
shr ecx, 6
add ecx, eax
push eax
mov edx, 0x100014fd
add edx, ecx
xor eax, eax
push edx
push eax
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
pop ecx
ret

Function at 0x1000144b
Capabilities:
Get hostname

Disassembly:
or byte [ebx - 0x3b7ef3be], cl
mov al, byte [0x2d000000]
dec byte [edi - 0x163f0000]
push es
aaa
push ecx
jb 0x10001449
rcr dword [ecx], 1
jecxz 0x1000140e
mov esp, 0xfbe18a3c
cmp al, 0x8a
loope 0x10001451
push ebp
add byte [ebx - 0x343e4c34], ch
inc ebp
fst dword [ebx - 0x21]
rol dword [edx + 0x7f5406ea], 1
aam 0x37
pop esp
sar esi, 1
cmc
adc eax, 0x3fabef6b
or eax, 0xb1c2145
dec eax
je 0x100014de
imul edx, esi, 0xffffffab
test byte [ecx - 0x19], 0x23
lds esp, [edx + 4]
lodsd eax, dword [esi]
adc byte [edx + 0x5aeff102], dh
out dx, eax
pop edx
pop ebx
jae 0x10001489
push ebp
sbb al, 0xcb
adc dword [ebx], ecx
dec edx
sub byte [ebp - 0x71], dl
mov dh, 0x61
adc byte [ebx], cl
jb 0x100014c1
out dx, eax
push ecx
ror cl, 6
jae 0x1000144e
inc ecx
out dx, eax
mov bl, byte [edx - 0x55]
inc edi
test dh, bh
cmc
push ds
jg 0x10001484
cmp bh, dh
and al, 0x58
das
mov ebx, 0xefb107d1
inc ecx
push edx
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp al, 0xf1
add byte [eax], dl
jmp 0x10001506
pop esi
pop ebx
call ebp
add bl, al
push ebp
push 0x10000000
xor eax, eax
mov esi, 0xa28
jmp 0x100014f1
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
adc eax, sym.imp.KERNEL32.dll_MapViewOfFile
pop edi
jmp 0x10001538
push edx
add ecx, 0x661cf
push edx
push ecx
jmp 0x100014dc
push eax
mov edx, 0x45d61
push esi
push eax
sub edx, 0x45d21
jmp 0x100014bb
xor edx, edx
mov ecx, 0xfff99e57
push edx
push esi
jmp 0x100014e6
mov esi, entry0
shr ecx, 2
sub ebp, esi
lea ebp, [edi + ebp + 3]
mov eax, dword [esi]
jmp 0x1000152e
pop edx
pop eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
pop edi
jmp 0x100014c7
add esi, 4
xor eax, ebx
stosd dword es:[edi], eax
loop 0x1000151f
jmp 0x10001523
mov ebp, 0x10001c00
add edi, eax
mov ecx, esi
mov ebx, 0x80042001
jmp 0x10001511