joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 3
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.Console
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409a5c
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 8]
push edx
push 0
push 0x5544f4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x14], 0xa
jbe 0x409aee
push 0x7d0
push 0
push 0x5a0180
call fcn.0052bcc0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push 0x5a0180
lea edx, [ebp - 8]
push edx
push 0
push str.IpDate
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x1e
push ecx
push 0x554514
push 0x5a0180
call fcn.004098e0
add esp, 0x10
push 0
mov edx, dword [ebp + 8]
add edx, 0x21c
push edx
push 0x55451c
push 0x5a0180
call fcn.004098e0
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 0x258
push eax
push 0
push 0x554524
push 0x5a0180
call fcn.004098e0
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x409fd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
call dword [sym.imp.USER32.dll_GetInputState]
call fcn.00409b00
push 0x55455c
push 0x55456c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0x409db0
push 0
push 0
call dword [ebp - 4]
mov dword [ebp - 8], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41aa86
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41aacd
call fcn.0045ddce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41aacd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41aae9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041a586
mov esi, eax
test edi, edi
je 0x41aae7
test ebx, ebx
je 0x41aae7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41cc4e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5487c6
call fcn.0052e101
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x41cc73
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x41ccc5
call fcn.0044d7f3
push eax
lea ecx, [ebp - 0x10]
call fcn.0040b4c0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052e20b
push eax
call fcn.0040b340
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00408320
mov eax, esi
call fcn.0052e1d9
ret 8

Function at 0x431446
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x431460
call fcn.0045ddce
mov esi, dword [eax + 0xc]
push dword [0x5ab9f8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x43147e
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x431476
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4314ab
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x431478
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00431374
mov esi, eax
jmp 0x43149d

Function at 0x454af2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x454b3a
call fcn.0045ddce
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x454b3a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x454b7d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x454b66
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x454b66
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x454b7a
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4563f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0045ddce
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x456430
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00456034
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x45648e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4564b2
cmp dword [edi + 0x74], 0
jne 0x4564b2
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0045ddce
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0045644f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45e472
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x546e40
call fcn.0052e101
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040d140
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x45e4d4
call fcn.0045d691
cmp eax, 1
jne 0x45e4d4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0045216b
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00410ebb
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00408320
mov dword [ebp + 8], closesocket
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00408320
mov eax, esi
call fcn.0052e1d9
ret 0x10

Function at 0x45e4fd
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x546e40
call fcn.0052e101
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040d140
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x45e55f
call fcn.0045d691
cmp eax, 1
jne 0x45e55f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0045216b
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00410ebb
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00408320
mov dword [ebp + 8], closesocket
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00408320
mov eax, esi
call fcn.0052e1d9
ret 0x14
Function at 0x4a3ced
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4a3d2b
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4a3d39
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a3d39
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4a3d3b
cmp dword [esi + 4], 0
je 0x4a3d39
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x4d43a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4d43b8
mov edi, dword [esi + 0xc]
jmp 0x4d43f8
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4d43d1
call fcn.00457e66
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4d43e6
call fcn.00457e66
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4d43f8
call fcn.00457e66
call fcn.0045ddce
cmp dword [eax + 0x3c], 0
je 0x4d440d
push edi
mov ecx, ebx
call fcn.004d31ca
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004d42ba
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4d442b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4d4437
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4f9877
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00521d7b
call fcn.0045d7ff
cmp dword [eax + 0x14], 0
jne 0x4f9894
mov ecx, esi
pop esi
jmp fcn.004f937c
pop esi
ret

Function at 0x4fccbf
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004a8fc4
call fcn.0045d7ff
cmp dword [eax + 0x14], 0
jne 0x4fccdc
mov ecx, esi
pop esi
jmp fcn.004fc692
pop esi
ret

Function at 0x50f176
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0050ee1a
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x50f1c0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418a7a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041337c
jmp 0x50f1cb
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046ad10
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x50f1d1
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041c4f7
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x50f20e
call fcn.0050ee1a
mov dword [esi + 0xc], 1
jmp 0x50f213
call fcn.0050ee1a
cmp dword [esi], 0
je 0x50f25c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x50f234
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418a7a
jmp 0x50f246
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040b450
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041337c
jmp 0x50f280
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x50f280
push dword [esi]
push dword [ebp + 8]
call fcn.0046ad10
pop esi
pop ebp
ret 0xc

Function at 0x52b745
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a5d40]
jne 0x52b74f
repz ret
jmp fcn.005329bc
Function at 0x53dd67
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a5d40]
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.005323b8
and dword [ebp - 0x14], 0
cmp dword [0x5af8d0], 0
mov dword [ebp - 0x18], eax
jne 0x53de1a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x53dec2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5808ec
push ebx
call edi
test eax, eax
je 0x53dec2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5808dc
push ebx
mov dword [0x5af8d0], eax
call edi
push eax
call esi
push 0x5808c8
push ebx
mov dword [0x5af8d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5af8d8], eax
call edi
push eax
call esi
mov dword [0x5af8e0], eax
test eax, eax
je 0x53de1a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5af8dc], eax
mov eax, dword [0x5af8dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x53de73
cmp dword [0x5af8e0], ecx
je 0x53de73
push eax
call esi
push dword [0x5af8e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x53de73
test ebx, ebx
je 0x53de73
call edi
test eax, eax
je 0x53de6a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53de6a
test byte [ebp - 8], 1
jne 0x53de73
or dword [ebp + 0x10], 0x200000
jmp 0x53dea6
mov eax, dword [0x5af8d4]
cmp eax, dword [ebp - 0x18]
je 0x53dea6
push eax
call esi
test eax, eax
je 0x53dea6
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x53dea6
mov eax, dword [0x5af8d8]
cmp eax, dword [ebp - 0x18]
je 0x53dea6
push eax
call esi
test eax, eax
je 0x53dea6
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5af8d0]
call esi
test eax, eax
je 0x53dec2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x53dec4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b745
leave
ret
Function at 0x449c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDE69FD98D_7EBE_4C01_BFED_67B4E4616A49InProcServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x449c3e
xor eax, eax
pop esi
add esp, 8
ret 4
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
mov dword [esp + 8], 0x104
push ecx
push edx
push 0
push 0
push str.ThreadingModel
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x449c6d
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4
Function at 0x55c767
Capabilities:
Encode data using xor

Disassembly:
mov dword [esi + 0x7c1252ad], ebp
aas
cli
inc edi
push esp
invalid

Function at 0x5a44f6
Capabilities:
Check for software breakpoints

Disassembly:
inc eax
cwde
push ds
rcl dh, 0xd3
adc byte [0xc423211f], cl
adc byte [ecx - 0x50b07faa], dh
out 0x40, eax
sub dh, byte [eax + 0x60]
invalid

Function at 0x5a7091
Capabilities:
Encode data using xor

Disassembly:
dec ecx
mov ah, 0x57
xchg esp, eax
loope 0x5a70da
mov cl, 6
add bl, ch
add byte [edi], bh
mov bh, 0xbe
popal
mov al, byte [0x838c705f]
shl dword [eax + 0x6b82a3f8], 0x9f
invalid
invalid

Function at 0x5e91f0
Capabilities:
Encode data using xor

Disassembly:
mov dl, 0xec
sti
xor al, 0x86
invalid
xor al, 3
sub eax, 0xf205b601
xor byte [ecx + 0x474c2d35], cl
adc byte [eax + esi*2 + 0x6d9dd6be], ah
add cl, byte [ebp + 0x636271f2]
push 0xffffffffffffff9a
and eax, 0x4c3c631a
insd dword es:[edi], dx
xchg ecx, eax
fisub word [esi - 0x31]
adc byte [ebp - 0x2f], dh
pop ebp
pushal
adc ch, ch
mov esi, 0xbee0b8a2
test dword [ebx], ebx
cld
cmp byte [edi], 0xcb
dec ebx
lodsd eax, dword [esi]
popal
cmpsd dword [esi], dword es:[edi]
push es
cmpsb byte [esi], byte es:[edi]
lodsd eax, dword [esi]
xor eax, 0x579de973
adc dword [ebx + edx*2 + 0x61], esp
dec byte [eax]
or byte [eax + 0x6d85b78a], cl
sbb esp, ebx
invalid
or byte [eax + 0x6d85b78a], cl
sbb esp, ebx
mov fs, word [edx]
cmp ah, al
xor ebx, eax
sub byte [edi - 0x65a2b344], 0x5c
push ebx
xchg edx, eax
popfd
mov dh, 0xaf
arpl word [esi - 0x5acdb5d1], cx
jecxz 0x5e91a3
and bh, byte [edx]
loopne 0x5e922e
ret
inc esi
inc ecx
in eax, dx
fucom st(3)
out 1, al
or byte [edi - 0x5ccca151], bh
lahf
add byte [ebx + 0x79], al
cmp bl, byte [esi + edx*8 - 0x2b]
sub byte [ebx - 0xd39127f], ah
push edx
push edx
mov eax, dword [0xcddb86d1]
retf 0xe849

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c1f4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40c2a8
jmp 0x40c29d
cmp dword [esi + 0x10], 0x1000
jne 0x40c289
test byte [esi + 0x15], 1
jne 0x40c289
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40c248
cmp eax, 2
je 0x40c248
cmp eax, 0x10
je 0x40c248
cmp eax, 0x20
jne 0x40c25d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40c25d
mov bl, 1
xor ebp, ebp
jmp 0x40c26e
mov eax, dword [esi]
add eax, ebp
call fcn.0040c1ec
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40c261
test bl, bl
je 0x40c289
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40c2a8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40c220
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40f3c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f93ee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ba394]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov edi, dword [0x6c861c]
mov eax, dword [0x6c8618]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40f41a
lock inc dword [edi + 4]
mov edi, dword [esi + 4]
test edi, edi
je 0x40f442
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x40f442
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x40f442
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [ebp - 4], 1
mov dword [esi + 8], 0
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], 0
mov dword [esi + 0x28], 0
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
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
lea ecx, [esi + 0xc0]
call fcn.0040f880
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
lea ecx, [esi + 0x18c]
mov byte [ebp - 4], 0x12
call fcn.0041a4b0
mov dword [esi + 0x1ac], 0
mov byte [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1bc], 0
mov eax, esi
mov dword [esi + 0x1c0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret