joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413430
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5420dc]
sub esp, 0xc
push edi
mov edi, ecx
test eax, eax
jne 0x413656
mov ecx, dword [0x504e50]
test ecx, ecx
je 0x413656
push esi
push str.Starting_EnableSecurity
push ecx
call fcn.00440eb0
add esp, 8
push 0
push 0x32
push 0x404
push dword [0x506064]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, edi
call fcn.004182d0
mov ecx, 0x504e40
call fcn.00407db0
cmp dword [edi + 0x474], 0
je 0x4134be
mov esi, dword [edi + 0xafcc]
push str.MuteApplication
push dword [0x50f094]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x4134be
push esi
lea eax, [edi + 0xa7fc]
push eax
push 1
call ecx
add esp, 0xc
push dword [edi + 0x9990]
mov dword [edi + 0x9980], 0x20
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [0x504e50]
call fcn.00440c80
add esp, 0x10
mov dword [edi + 0x998c], eax
cmp dword [edi + 0x484], 0
je 0x41363d
mov eax, dword [edi + 0x9990]
push 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push 1
push eax
mov dword [ebp - 0xc], 0x20001
mov dword [ebp - 8], 0x100
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x413534
push str.AV_register_failed
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
push 0x10
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.Started_PSCheck
push dword [0x504e50]
call fcn.00440eb0
push 0
push str.DeviceID
push str.Win32_PointingDevice_WHERE_HardwareType_Like__PS_2_Mouse__AND_Status__OK
push esi
push dword [0x504e50]
call fcn.004408b0
mov esi, eax
push esi
push str.PS_D_ID_count___d
push dword [0x504e50]
call fcn.00440eb0
add esp, 0x28
test esi, esi
jle 0x413619
push 0x10
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push str.ConnectorType
push str.Win32_PortConnector
push esi
push dword [0x504e50]
call fcn.004408b0
push 0
push str.cCount__d
push dword [0x504e50]
call fcn.00440eb0
push str.Advanced_VM_Interval_Check_1
lea esi, [edi + 0x9994]
mov dword [0x51d6b4], 1
push 0x64
push esi
mov dword [0x51d6b8], 1
call fcn.004539f4
push str.AV___1
push dword [0x504e50]
call fcn.00440eb0
add esp, 0x34
mov ecx, 0x511bf0
push 0
push 0
push 1
push 2
push esi
call fcn.004155d0
jmp 0x41363d
push esi
push str.N_VM____count____d_
push dword [0x504e50]
call fcn.00440eb0
push str.AVP_check_passed
push dword [0x504e50]
call fcn.00440eb0
add esp, 0x14
push str.Finished_EnableSecurity
push dword [0x504e50]
call fcn.00440eb0
mov eax, dword [0x5420dc]
add esp, 8
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x417a10
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
lea eax, [ebp - 0x1c]
mov ebx, ecx
push eax
push dword [0x50c274]
call fcn.00454d08
push 5
lea eax, [ebp - 0xc]
push eax
push dword [0x50ce78]
call fcn.00454d08
push 5
lea eax, [ebp - 0x14]
push eax
push dword [0x50ce7c]
call fcn.00454d08
add esp, 0x24
lea esi, [ebp - 0xc]
cmp dword [ebx + 0x454], 0
lea ecx, [ebx + 0x2ec4]
lea edx, [ebx + 0xb0d4]
lea eax, [ebx + 0x463c]
push esi
lea esi, [ebp - 0x14]
push esi
lea esi, [ebp - 0x1c]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebx + 0x3e3c]
push 0x506018
push 0x506040
jne 0x417acc
lea edi, [ebx + 0x1cc0]
push edi
push str.WINCSECB
push ecx
push edx
push 0x505c18
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s__s_s__s__DKM:_s._s._s
push eax
call esi
push edi
push str.WINCSECB
lea eax, [ebx + 0x3e3c]
push str._s__s
push eax
call esi
add esp, 0x40
jmp 0x417af0
push str.WINCSECB
push ecx
push edx
push 0x505c18
push str.Mozilla_5.0___s__AppleWebKit_537.36_Chrome_84.0.4147.30_Edg__s__SecureBrowser__s__s_s__s__DKM:_s._s._s
push eax
call esi
push str.WINCSECB
push 0x46d888
push edi
call esi
add esp, 0x38
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x51622c
push 0
push 0xfde9
call edi
mov esi, eax
lea ecx, [esi + esi]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
push eax
push 0xffffffffffffffff
mov dword [ebx + 0xb0e8], eax
lea eax, [ebx + 0x463c]
push eax
push 0
push 0xfde9
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444ab5
mov esp, ebp
pop ebp
ret
Function at 0x419690
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x40000002
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4196fb
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4196fb
lea eax, [ebp - 0x108]
push str.ITS_SB_App_Switch.exe
push eax
call fcn.004555a7
add esp, 8
test eax, eax
je 0x41970c
lea ecx, [ebp - 0x12c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4196d2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x4196fb
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret

Function at 0x419740
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
mov edi, ecx
push 0x46f680
push 5
push eax
call fcn.0041a140
add esp, 0x10
cmp dword [edi + 0xbb40], 0
je 0x4197c4
add edi, 0xbb44
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x4197ba
push 0
lea eax, [ebp - 0x218]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
push edi
jmp 0x419864
lea eax, [ebp - 0x214]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x419872
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0044a958
push str.ITSExitCode.log
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0044a9b2
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 2
push 4
push 0
push 2
push 0xc0000000
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x419859
push 0
lea eax, [ebp - 0x218]
push eax
push 0x64
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push dword [0x504e50]
call fcn.00440ee0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 4
Function at 0x42a260
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a8dd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.0044aaff
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x42a33f
push edi
push str.JavaScript:GetNetworkName________s_
push dword [0x504e50]
call fcn.00440eb0
add esp, 0xc
test edi, edi
je 0x42a32b
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a32d
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a32d
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a332
jmp 0x42a3ab
push str.JavaScript:GetNetworkName________
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
push 0
push 0
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a39b
push ebx
push esi
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a39b
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a3a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00409630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x30]
push edi
mov dword [ecx], eax
call fcn.0044aae4
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x42a40f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a42f
push edx
push ecx
call fcn.00444ae6
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
call fcn.0044f710
int3
Function at 0x42a440
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a8dd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x200
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0x200
call fcn.0044aaff
add esp, 4
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x42a51f
push edi
push str.JavaScript:GetNetworkUser________s_
push dword [0x504e50]
call fcn.00440eb0
add esp, 0xc
test edi, edi
je 0x42a50b
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a50d
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a50d
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a512
jmp 0x42a58b
push str.JavaScript:GetNetworkUser________
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
push 0
push 0
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
lea ecx, [ebx - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x42a57b
push ebx
push esi
push 0xffffffffffffffff
push 0x46d520
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x42a57b
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a580
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00409630
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x30]
push edi
mov dword [ecx], eax
call fcn.0044aae4
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x42a5ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a5e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a60f
push edx
push ecx
call fcn.00444ae6
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
call fcn.0044f710
int3
Function at 0x42b790
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov ecx, 0x511bf0
call fcn.004148c0
test eax, eax
je 0x42b7ec
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
push ecx
push str.JavaScript:GetSystemMemory_______u
push dword [0x504e50]
call fcn.00440eb0
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
shrd ecx, eax, 0x14
mov dword [esi], ecx
jmp 0x42b81c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
push eax
push str.JavaScript:GetSystemMemory_______u
push dword [0x504e50]
call fcn.00440eb0
mov eax, dword [ebp - 0x1c]
shr eax, 0x14
mov dword [esi], eax
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8

Function at 0x42c6b0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, 0x511bf0
push esi
push dword [eax]
call fcn.00411350
cmp dword [0x50ce80], 0
mov esi, eax
je 0x42c700
push 0x53e414
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x53e414
mov ecx, 0x511bf0
call fcn.00411ec0
push esi
push 0x53e414
jmp 0x42c76d
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x42c77b
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044a958
push str.ITSTestComplete.log
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044a9b2
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
mov ecx, 0x511bf0
push eax
call fcn.00411ec0
push esi
lea eax, [ebp - 0x108]
push eax
push dword [0x504e50]
call fcn.00440ee0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 8
Function at 0x401c20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408048
call sym._EnterCriticalSection_4
mov ebx, dword [0x408040]
sub esp, 4
test ebx, ebx
je 0x401c6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401c64
test esi, esi
je 0x401c64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401c40
mov dword [esp], 0x408048
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401e50
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401f74
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401ede
cmp eax, 4
jne 0x401f00
test esi, esi
je 0x401ef2
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401ee4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401f3f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401f31
cmp ecx, 0x40
je 0x401ef2
cmp ecx, 4
je 0x401ef2
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401e50
lea esi, [esi]
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x3e9414a8
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x610978aa
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x142e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0142e1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x142e07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x142e06a
add dl, dl
jne 0x142e089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x142e0dc
xor eax, eax
add dl, dl
jne 0x142e096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x142e17d
add dl, dl
jne 0x142e0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142e0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142e0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142e0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x142e0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x142e075
mov eax, 1
add dl, dl
jne 0x142e0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x142e0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x142e0e1
sub eax, ebx
mov ebx, 1
jne 0x142e128
mov ecx, 1
add dl, dl
jne 0x142e10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142e119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x142e105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x142e075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x142e13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x142e14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x142e136
cmp eax, 0x7d00
jae 0x142e16d
cmp eax, 0x500
jb 0x142e168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x142e075
cmp eax, 0x7f
ja 0x142e170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x142e075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x142e19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x142e075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406b0c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00406fcc
mov byte [esp], al
cmp byte [esp], 0
jne 0x406c95
test edi, edi
je 0x406c95
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406bd5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406bb0
cmp edi, 0xffffffff
je 0x406b71
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406b71
mov byte [esp], 0
jmp 0x406c95
cmp dword [esi], 1
jg 0x406bb0
cmp dword [esi], 0
jne 0x406ba2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x406ba2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406c95
lea eax, [esp + 0xc]
call fcn.004067c8
dec ebp
test ebp, ebp
jg 0x406b56
cmp edi, 0xffffffff
je 0x406bd5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406bd3
mov byte [esp], 0
jmp 0x406c95
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x406b1a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406bd5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406d10
mov edx, eax
mov ebx, dword [0x4b18fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406c39
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406c37
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406c39
xor edi, edi
cmp byte [esp], 0
je 0x406c5f
mov ebx, dword [esi]
test bl, 1
jne 0x406c75
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406c3f
mov byte [esp + 1], 1
jmp 0x406c75
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406c5f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x406bec
cmp byte [esp], 0
je 0x406c95
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x407b6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b1058], 0
je 0x407bd3
cmp word [0x4b1348], 0xd7b2
jne 0x407b95
cmp dword [0x4b1350], 0
jbe 0x407b95
mov eax, 0x4b1344
call dword [0x4b1360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x407c00
call fcn.00408734
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ad036], 0
jne 0x407bef
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret