joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c4198
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x7c42b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7d631c]
mov eax, dword [eax]
call fcn.00405548
cmp eax, 2
jle 0x7c4205
mov eax, dword [0x7d631c]
mov eax, dword [eax]
call fcn.0049feec
test al, al
je 0x7c4205
push 8
push 0
push 0
mov ecx, dword [0x7d631c]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc]
mov edx, 0x7c42c8
call fcn.00405594
mov eax, dword [ebp - 0xc]
call fcn.00405748
push eax
push 0x7c42f4
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x7c4298
lea eax, [ebp - 4]
mov edx, 0x7c4304
call fcn.00405310
mov eax, dword [0x7d6d98]
mov eax, dword [eax]
mov edx, 0x7c4314
call fcn.00405694
jne 0x7c4232
lea eax, [ebp - 4]
mov edx, 0x7c4320
call fcn.00405310
lea eax, [ebp - 8]
call fcn.00405278
mov edx, dword [0x7d6e7c]
mov eax, 0x7c4324
call fcn.00402c58
test eax, eax
jle 0x7c425b
lea eax, [ebp - 8]
mov edx, 0x7c4330
call fcn.00405310
push 8
push 0
push 0
push 0x7c4340
push dword [ebp - 4]
push 0x7c4360
push dword [ebp - 8]
push 0x7c4388
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00405608
mov eax, dword [ebp - 0x10]
call fcn.00405748
push eax
push 0x7c42f4
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c42ba
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040529c
ret

Function at 0x7c67c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
xor edx, edx
mov dword [ebp - 0x174], edx
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405738
lea eax, [ebp - 0x16c]
mov edx, dword [0x4092c0]
call fcn.00405df8
xor eax, eax
push ebp
push 0x7c691b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov al, 1
call fcn.004a29b8
xor eax, eax
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x170]
mov edx, 0x7c6934
mov eax, dword [ebp - 4]
call fcn.0049d0c8
mov eax, dword [ebp - 0x170]
lea ecx, [ebp - 0x16c]
mov edx, 0x27
call fcn.0040afa8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x7c68c9
push 0xffffffffffffffff
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x160]
mov edx, 0x7c6940
call fcn.00405594
mov edx, dword [ebp - 0x178]
lea ecx, [ebp - 0x174]
mov eax, dword [ebp - 0x14]
call fcn.0049d0c8
mov eax, dword [ebp - 0x174]
call fcn.00405748
push eax
lea ecx, [ebp - 0x17c]
mov edx, dword [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0049d0c8
mov eax, dword [ebp - 0x17c]
call fcn.00405748
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x7c68b5
inc dword [ebp - 0xc]
lea eax, [ebp - 0x16c]
call fcn.0040aff8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x7c6851
lea eax, [ebp - 0x16c]
call fcn.0040b01c
cmp dword [ebp - 0xc], 2
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c6922
lea eax, [ebp - 0x17c]
mov edx, 4
call fcn.0040529c
lea eax, [ebp - 0x16c]
mov edx, dword [0x4092c0]
call fcn.00405ec8
lea eax, [ebp - 0x14]
call fcn.00405278
lea eax, [ebp - 4]
call fcn.00405278
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2cec4dc3
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x650173a7
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x64ff1632
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x74b53e9b
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001385
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push ebx
push ecx
push edx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp + 0x10]
push edi
call sub.KERNEL32.dll_VirtualProtect
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp + 0x10]
push edi
call sub.KERNEL32.dll_VirtualProtect
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 0xc

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

Disassembly:
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3b1010db
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x8f01f81
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4200b0
Capabilities:
Log keystrokes

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov byte [0x4d72b0], 0
lea eax, [ecx - 1]
cmp eax, 0xd2
ja case.0x4200d2.24
xor edx, edx
mov dl, byte [eax + 0x4203c4]
jmp dword [edx*4 + 0x420364]
push str.LEFT
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.RIGHT
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push 0x4b66e4
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.DOWN
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.SHIFT
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.CTRL
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push 0x4b66c8
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.SPACE
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.ENTER
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.ESCAPE
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push 0x4b66ac
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.CAPS_LOCK
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.INSERT
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.HOME
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.PAGE_UP
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.PAGE_DOWN
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.DELETE
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.BACKSPACE
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push 0x4b6664
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.NUMLOCK
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.SCROLL_LOCK
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.PRINT_SCREEN
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
push str.PAUSE
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, 0x4d72b0
pop esi
ret
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 1
push ecx
call esi
test eax, eax
je 0x42035b
push 2
push eax
call esi
test eax, eax
je 0x42035b
push eax
push 0x4b6634
push 0x4d72b0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 0x4d72b0
pop esi
ret
Function at 0x447170
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
xor esi, esi
movsx edx, si
mov al, byte [edx + 0x770a80]
test al, al
je 0x4471da
mov al, byte [edx + 0x776bc4]
test al, al
jne 0x4471da
mov al, byte [str.R0O1P2Q3K4L5M6G7H8I9S.]
mov ecx, str.R0O1P2Q3K4L5M6G7H8I9S.
cmp al, 0xff
je 0x4471b3
movzx ax, al
cmp ax, si
je 0x4471b3
mov al, byte [ecx + 2]
add ecx, 2
cmp al, 0xff
jne 0x4471a0
movzx ax, byte [ecx]
cmp ax, si
jne 0x4471c6
movzx ax, byte [ecx + 1]
cmp ax, si
jne 0x4471e8
push 1
push edx
call edi
test eax, eax
je 0x4471da
push 2
push eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x4471ef
inc esi
cmp si, 0xff
jl 0x44717b
pop edi
pop esi
xor al, al
pop ebx
ret
mov al, byte [ecx + 1]
pop edi
pop esi
pop ebx
ret
mov al, byte [0x770aaa]
test al, al
jne 0x447220
mov al, byte [0x770ab6]
test al, al
jne 0x447220
cmp ebx, 0x41
jb 0x44724e
cmp ebx, 0x5a
ja 0x44724e
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
jne 0x44724e
add ebx, 0x20
pop edi
mov al, bl
pop esi
pop ebx
ret
mov al, byte [str.0_1_2_3]
mov ecx, str.0_1_2_3
cmp al, 0xff
je 0x447241
and eax, 0xff
cmp eax, ebx
je 0x447241
mov al, byte [ecx + 2]
add ecx, 2
cmp al, 0xff
jne 0x44722e
xor edx, edx
mov dl, byte [ecx]
cmp edx, ebx
jne 0x44724e
xor ebx, ebx
mov bl, byte [ecx + 1]
pop edi
mov al, bl
pop esi
pop ebx
ret
Function at 0x454080
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 8]
mov eax, 0xffffffff
sar ecx, 2
je 0x4540c7
push ebx
push ebp
push esi
mov ebx, ecx
mov edx, dword [edi]
mov esi, 0x20
mov ebp, edx
mov ecx, eax
and ebp, 1
add eax, eax
and ecx, 0x80000000
or eax, ebp
sar edx, 1
test ecx, ecx
je 0x4540bb
xor eax, 0x4c11db7
dec esi
jne 0x45409f
add edi, 4
dec ebx
jne 0x454098
pop esi
pop ebp
pop ebx
not eax
pop edi
ret
Function at 0x455390
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x785068]
sub esp, 0x20
cmp eax, 1
push ebx
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push esi
jne 0x45542e
push edi
call fcn.0045fcf0
push eax
lea eax, [esp + 0x10]
push str._L_1d
push eax
call fcn.004a4ca4
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add esp, 0xc
push str..Editor
call edi
mov al, byte [0x4ba864]
push 0
test al, al
je 0x4553f5
lea ecx, [esp + 0x10]
push ecx
push str.TrackEdit.exe
push str.TrackEdit.exe
push 1
call fcn.004a5f09
add esp, 0x14
jmp 0x455413
lea edx, [esp + 0x10]
push edx
push str._window
push str.TrackEdit.exe
push str.TrackEdit.exe
push 1
call fcn.004a5f09
add esp, 0x18
push 0x4ba450
mov esi, eax
call edi
cmp esi, 0xffffffff
pop edi
je 0x45542e
mov dword [0x785068], 2
jmp 0x455437
cmp dword [0x785068], 2
jne 0x455453
push str.Re_Volt_Track_Editor
push str.Render_Window
call ebx
test eax, eax
je 0x455453
mov dword [0x785068], 3
jmp 0x45545c
cmp dword [0x785068], 3
jne 0x45547a
push str.Re_Volt_Track_Editor
push str.Render_Window
call ebx
test eax, eax
jne 0x45547a
mov eax, dword [0x7850ac]
push 9
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x784eb0]
cmp eax, 4
je 0x4554ee
cmp eax, 6
je 0x4554ee
call fcn.0048df30
mov eax, dword [0x8472f0]
test eax, eax
je 0x4554af
mov ecx, dword [0x8472f4]
mov eax, dword [0x847304]
add eax, ecx
pop esi
mov dword [0x847304], eax
pop ebx
add esp, 0x20
ret
mov edx, dword [0x8472f4]
mov esi, dword [0x8472f8]
mov eax, dword [0x82d97c]
add esi, edx
test eax, eax
mov dword [0x8472f8], esi
je 0x4554ee
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4554e7
mov ecx, dword [0x8472f4]
mov edx, dword [eax + 0xe28]
add edx, ecx
mov dword [eax + 0xe28], edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4554cc
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x455580
Capabilities:
Get disk information
Query or enumerate registry value
Terminate process

Disassembly:
sub esp, 0x1bc
mov ecx, 6
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push 0
push str.SoftwareLogicraftVirtual_CD_ROM
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x45562a
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
mov byte [esp + 0x38], al
push eax
mov eax, dword [esp + 0x2c]
push str.Default_Mounts
push eax
mov dword [esp + 0x28], 0x1a
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45562a
lea ebx, [esp + 0x48]
sub ebx, 0x41
movsx edx, byte [esp + esi + 0x2c]
push edx
call fcn.004a57fe
mov byte [eax + ebx], 1
add esp, 4
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x455605
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, 0x61
lea esi, [esp + 0x48]
sub esi, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
lea ebx, [esp + 0x64]
mov dword [esp + 0x20], esi
test al, 1
je 0x4556ff
cmp byte [esi + ebp], 0
jne 0x4556ff
push ebp
lea eax, [esp + 0x1c]
push str._c:_
push eax
call fcn.004a4ca4
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [ecx], 0x5c2e
nop
nop
nop
nop
nop
nop
lea edx, [esp + 0x18]
lea eax, [esp + 0xcc]
push edx
push 0x4bac94
push eax
call fcn.004a4ca4
lea ecx, [esp + 0xd8]
push 0x4b6774
push ecx
call fcn.00452340
add esp, 0x14
test eax, eax
jmp 0x4556cc
mov esi, dword [esp + 0x14]
mov edx, ebx
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
inc esi
add ebx, 4
mov dword [esp + 0x14], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebp
shr eax, 1
lea ecx, [ebp - 0x61]
mov dword [esp + 0x10], eax
cmp ecx, 0x1a
jb 0x45564f
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ebx, dword [esp + 0x14]
xor edi, edi
test ebx, ebx
jbe 0x455795
lea ebp, [esp + 0x64]
push 0
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x30]
push edx
push eax
push 0
lea ecx, [esp + 0x160]
push 0x80
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
nop
nop
mov esi, str.REVOLT
lea eax, [esp + 0x14c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [eax]
jmp 0x455784
nop
nop
nop
xor eax, eax
test eax, eax
jmp 0x4557b0
push 5
push str.Please_Insert_the_Re_Volt_CD
push 0
call fcn.00452f30
add esp, 0xc
cmp eax, 2
je 0x4557e4
jmp 0x45571e
movsx eax, byte [esp + edi*4 + 0x64]
push eax
call fcn.004a57fe
mov ecx, dword [0x4ba874]
add esp, 4
mov byte [0x4c2a90], al
mov dword [0x4ba87c], 0xe
pop edi
pop esi
pop ebp
mov dword [0x4ba878], ecx
pop ebx
add esp, 0x1bc
ret
push 0
call fcn.004a5a93
nop
nop
nop
nop
nop
Function at 0x47c1f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x138
push esi
push 0x7b1308
push 0x4b1878
xor esi, esi
push 1
push esi
push 0x4b1888
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
je 0x47c232
push str.Cant_create_DirectPlay_Lobby_object
push eax
call fcn.0042f030
add esp, 8
mov byte [0x785074], 1
pop esi
add esp, 0x138
ret
lea eax, [esp + 0x38]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [0x4c0fdc]
mov eax, dword [0x4c0fe0]
mov ecx, dword [0x4c0fd8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
lea edx, [esp + 0x38]
lea eax, [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x4c0fe4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [0x7b1308]
lea edx, [esp + 4]
mov dword [esp + 4], 0x34
mov dword [esp + 8], esi
mov dword [esp + 0xc], str.Re_Volt
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], str.revolt.exe
mov dword [esp + 0x24], 0x4c655c
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x40]
cmp eax, esi
je 0x47c2e5
push 0x4c0fe8
push eax
call fcn.0042f030
mov eax, dword [0x7b1308]
add esp, 8
cmp eax, esi
je 0x47c2ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x7b1308], esi
pop esi
add esp, 0x138
ret
call fcn.0047c300
pop esi
add esp, 0x138
ret

Function at 0x47e690
Capabilities:
Get hostname
Resolve dns

Disassembly:
push esi
push 0x400
push 0x7b0e5c
call sub.WSOCK32.dll_gethostname
cmp eax, 0xffffffff
jne 0x47e6a9
xor al, al
pop esi
ret
push 0x7b0e5c
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x47e6bb
xor al, al
pop esi
ret
cmp word [eax + 8], 2
je 0x47e6c6
xor al, al
pop esi
ret
mov esi, dword [eax]
push edi
mov ecx, 0x100
mov edi, 0x7af7f4
rep movsd dword es:[edi], dword [esi]
xor esi, esi
pop edi
mov dword [0x7afbf4], esi
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x47e718
cmp esi, 4
jge 0x47e714
xor ecx, ecx
mov edx, dword [eax + 0xc]
inc ecx
cmp ecx, 4
mov edx, dword [edx + esi*4]
mov dl, byte [edx + ecx - 1]
mov byte [ecx + esi*4 + 0x7afc53], dl
jl 0x47e6ed
inc esi
mov dword [0x7afbf4], esi
mov ecx, dword [eax + 0xc]
cmp dword [ecx + esi*4], 0
jne 0x47e6e6
test esi, esi
jne 0x47e71c
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x4ab289
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5d50
cmp edx, dword [eax]
je 0x4ab2ab
add eax, 8
inc ecx
cmp eax, 0x4c5de0
jl 0x4ab29c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5d50]
jne 0x4ab3d9
mov eax, dword [0x86e440]
cmp eax, 1
je 0x4ab3b3
test eax, eax
jne 0x4ab2dc
cmp dword [0x4c52d4], 1
je 0x4ab3b3
cmp edx, 0xfc
je 0x4ab3d9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ab313
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004abc00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004a9120
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ab356
lea eax, [ebp - 0x1a4]
push eax
call fcn.004a9120
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4b2488
push edi
call fcn.004a5090
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004abc00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004abc10
lea eax, [ebp - 0xa0]
push 0x4b2468
push eax
call fcn.004abc10
push dword [esi + 0x4c5d54]
lea eax, [ebp - 0xa0]
push eax
call fcn.004abc10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004ae589
add esp, 0x2c
pop edi
jmp 0x4ab3d9
lea eax, [ebp + 8]
lea esi, [esi + 0x4c5d54]
push 0
push eax
push dword [esi]
call fcn.004a9120
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 0x4adc15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4adc35
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004a901b
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4adc58
test byte [esp + 8], 2
je 0x4adc58
call fcn.004a908e
mov dword [eax], 0xd
call fcn.004a9097
mov dword [eax], 5
jmp 0x4adc31
xor eax, eax
ret
Function at 0x7ffe532e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x30]
push bx
inc esp
inc esp
push es
pop ds
pushf
popf
push eax
pop eax
pushf
popf
push eax
pop eax
xor eax, ecx
xor eax, ecx
inc esi
dec esi
xor eax, ecx
xor eax, ecx
inc esi
dec esi
xor eax, ecx
xor eax, ecx
inc esi
dec esi
add al, 4
sub al, 4
and al, 0xff
add al, 4
sub al, 4
push eax
pop eax
add al, 4
sub al, 4
push eax
pop eax
xor eax, ecx
xor eax, ecx
inc esi
dec esi
pushf
popf
push es
pop ds
add al, 4
sub al, 4
inc esi
dec esi
xor eax, ecx
xor eax, ecx
push eax
pop eax
xor eax, ecx
xor eax, ecx
push es
pop ds
not eax
not eax
push es
pop ds
add al, 4
sub al, 4
inc esi
dec esi
pushf
popf
push es
pop ds
add al, 4
sub al, 4
and al, 0xff
not eax
not eax
add al, 0
add al, 4
sub al, 4
push eax
pop eax
push bx
inc esp
inc esp
add al, 0
pushf
popf
and al, 0xff
xor eax, ecx
xor eax, ecx
and al, 0xff
add al, 4
sub al, 4
push es
pop ds
xor eax, ecx
xor eax, ecx
inc esi
dec esi
add al, 4
sub al, 4
add al, 0
xor eax, ecx
xor eax, ecx
push es
pop ds
pushf
popf
inc esi
dec esi
add al, 4
sub al, 4
clc
call 0x7ffe53e6
pop edx
xor eax, ecx
xor eax, ecx
xor dx, dx
inc esi
dec esi
cld
add edx, 0xd5e0
xor ecx, ecx
and al, 0xff
not eax
not eax
add al, 0
nop
mov cl, 0x1e
and al, 0xff
and al, 0xff
xor byte [ecx + edx], 0x1b
loop 0x7ffe5408
cld
push dword fs:[0x24]
pushf
popf
add al, 0
pop dword [edx + 0xa]
add al, 4
sub al, 4
and al, 0xff
not eax
not eax
add al, 0
stc
mov cl, 0xff
add al, 0
add al, 0
push edx
loop 0x7ffe5432
inc esi
dec esi
push bx
inc esp
inc esp
push eax
pop eax
stc
push es
pop ds
mov dword [edx + 0x11], 0xffffacbb
push bx
inc esp
inc esp
mov ecx, dword [eax + 0x2c]
push eax
pop eax
and al, 0xff
clc
mov dword [edx + 0x1b], ecx
and al, 0xff
mov dword [edx + 0x100], ecx
add al, 0
push es
pop ds
clc
mov dword [eax + 0x2c], esp
push bx
inc esp
inc esp
and al, 0xff
push 0
xor eax, ecx
xor eax, ecx
cld
push 0
not eax
not eax
push es
pop ds
add al, 0
push 0
push es
pop ds
push bx
inc esp
inc esp
push eax
pop eax
not eax
not eax
cld
push 0
push 0x30
pushf
popf
and al, 0xff
lea esp, [esp]
push 0x20
push eax
pop eax
pushf
popf
push es
pop ds
push eax
pop eax
push 0
cld
push 0
xor eax, ecx
xor eax, ecx
and al, 0xff
add edx, 0xffff7f2d
push bx
inc esp
inc esp
add al, 0
not eax
not eax
and al, 0xff
clc
push edx
push edx
add al, 0
and bh, 0xff
push 0
push es
pop ds
push bx
inc esp
inc esp
add al, 0
push bx
inc esp
inc esp
call dword [edx + 0x8216]
and al, 0xff
push bx
inc esp
inc esp
inc esi
dec esi
push eax
pop eax
nop
add esp, 0x3f8
push bx
inc esp
inc esp
inc esi
dec esi
xor eax, eax
xor eax, ecx
xor eax, ecx
push eax
pop eax
not eax
not eax
clc
inc eax
push es
pop ds
ret 0xc