joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7daf10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x7ef9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x7db002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.007dedff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x7db002
lea edx, [esp + 0x14]
push edx
push 0x7f5140
call fcn.007d66e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.007df20b
push 0x10
call fcn.007df1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x7dafc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007cb1c0
jmp 0x7dafc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.007dab80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x7daff0
mov ecx, edi
call fcn.007cb2c0
push edi
call fcn.007df1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x7db021
inc ebx
cmp ebx, 0x20
jb 0x7daf3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x7dc250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f0808
push 0x7e0288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x7dc329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x7dc329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.007df1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x7dc329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x7dc329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x7dc32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.007dc351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7dcd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x7dcd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x7dcd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x7dcd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x7dcd94
push eax
push esi
call fcn.007df20b
add esp, 8
pop esi
ret 0x10

Function at 0x7dcda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7dce22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x7dce15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x7f5320
push ecx
mov dword [esp + 0x1c], 4
call fcn.007dedff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x7dcdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x7dce30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7dcec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x7dceb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x7f5320
push ecx
mov dword [esp + 0x1c], 4
call fcn.007dedff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x7dceab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x7dce6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x7dd000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x7dd131
push esi
call fcn.007e0145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.007cf080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x7dd131
push 0
push ebp
call fcn.007cf3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.007cf260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x7dd08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.007cf2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x7dd121
push 0x7f5918
push edi
call fcn.007de3f0
push eax
push ebx
push esi
call fcn.007dcf60
push 0x7f58f8
push edi
call fcn.007de3f0
push eax
push ebx
push esi
call fcn.007dcf60
push 0x7f58d8
push edi
call fcn.007de3f0
push eax
push ebx
push esi
call fcn.007dcf60
push 0x7f58c0
push edi
call fcn.007de3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.007dcf60
push 0x7f58a0
push edi
call fcn.007de3f0
push eax
push ebx
push esi
call fcn.007dcf60
push 0x7f5888
push edi
call fcn.007de3f0
push eax
push ebx
push esi
call fcn.007dcf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x7de1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.007de140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.007de140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.007de140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.007de140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x7de230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7de2d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x7de2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.007de230
mov esi, eax
add esp, 8
test esi, esi
jne 0x7de2ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x7de27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x7de2ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x7debfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7dec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x7f087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7dec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x7dec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4017cf
Capabilities:
Create directory

Disassembly:
push ebx
push edi
push str.shell32.dll
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40188a
push str.SHGetSpecialFolderPathW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x401883
push 0
push 0x1c
push ebx
push 0
call eax
test eax, eax
je 0x401883
push esi
push str.LogMeIn_Rescue
call fcn.00405f8d
mov dword [esp], str.LogMeIn_Rescue
push ebx
lea esi, [eax + 1]
call fcn.00405f8d
pop ecx
add eax, esi
push eax
push ebx
call fcn.00405f18
add esp, 0xc
push str.Applet
push ebx
call fcn.00405f8d
mov dword [esp], str.Applet
lea esi, [eax + 1]
call fcn.00405f8d
pop ecx
add eax, esi
push eax
push ebx
call fcn.00405f18
add esp, 0xc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
test eax, eax
jne 0x401873
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401883
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call fcn.00405f8d
pop ecx
jmp 0x40188c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop ebx
ret

Function at 0x40188f
Capabilities:
Set current directory

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
xor eax, eax
mov edx, edi
push ecx
push ecx
mov word [edi], ax
mov word [esi], ax
call fcn.004017cf
pop ecx
pop ecx
test eax, eax
je 0x4018e7
cmp eax, 0x103
ja 0x4018e7
push esi
mov ecx, edi
call fcn.004015e5
pop ecx
test eax, eax
jne 0x4018c6
push 2
pop eax
jmp 0x4018ea
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x4018e3
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.004011c6
pop ecx
push 3
jmp 0x4018c3
xor eax, eax
jmp 0x4018ea
xor eax, eax
inc eax
pop edi
pop esi
pop ecx
ret

Function at 0x401a1f
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push esi
mov esi, str.LMI_Rescue_srv.exe
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401a36
xor eax, eax
inc eax
pop esi
ret
push 0
push esi
push str.LMI_Rescue.exe
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
pop esi
sbb eax, eax
neg eax
ret
Function at 0x4a3440
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x49000]
push edi
or ebp, 0xffffffff
jmp 0x4a3462
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3458
mov eax, 1
add ebx, ebx
jne 0x4a347b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a3470
jne 0x4a348c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a3470
xor ecx, ecx
sub eax, 3
jb 0x4a34a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a3512
mov ebp, eax
add ebx, ebx
jne 0x4a34ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4a34b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4a34dc
inc ecx
add ebx, ebx
jne 0x4a34c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a34bd
jne 0x4a34d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a34bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a34fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a34ed
jmp 0x4a345e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a34fc
add edi, ecx
jmp 0x4a345e
pop esi
mov edi, esi
mov ecx, 0x76
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a351a
cmp byte [edi], 1
jne 0x4a351a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a351f
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a358e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa38c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa3960]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a354c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa3964]
or eax, eax
je 0x4a3588
mov dword [ebx], eax
add ebx, 4
jmp 0x4a3569
call dword [esi + 0xa3974]
mov ebp, dword [esi + 0xa3968]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a35c2
sub esp, 0xffffff80
jmp 0x403be6
Function at 0x41b320
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1c20
call fcn.00408f10
cmp dword [0x22734b0], 0x37
jne 0x41b416
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x402ad8
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_MapUserPhysicalPages]
push 0
lea ecx, [esp + 0x24]
push ecx
push 0x402b14
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea edx, [esp + 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 4]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea edx, [esp + 8]
push edx
push 0x402b58
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
lea ecx, [esp + 0x1420]
push ecx
push 0
push 0x402bd0
push 0x402c94
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x402c9c
push 0x402cb0
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov edx, dword [0x22734b4]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x43f614]
mov byte [edx + esi], cl
add esp, 0x1c20
ret
Function at 0x41b440
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x1a8
mov ecx, dword [esp + 0x1ac]
mov eax, dword [ecx]
mov edx, dword [0x436db4]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, dword [0x436db0]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x436db8]
mov dword [esp + 0x1c], edx
mov edx, dword [0x436dbc]
push edi
mov dword [esp + 0x18], eax
mov edi, 0xc6ef3720
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov ebp, 0x20
jmp 0x41b494
mov eax, dword [esp + 0x18]
mov ecx, eax
shr ecx, 5
add ecx, dword [esp + 0x24]
mov edx, eax
shl edx, 4
add edx, dword [esp + 0x28]
add eax, edi
xor ecx, edx
xor ecx, eax
sub esi, ecx
mov ecx, esi
shl ecx, 4
mov dword [0x2272434], 0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], eax
cmp dword [0x22734b0], 0x1be
lea ebx, [edi + esi]
jne 0x41b4e9
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x20]
mov dword [0x2272438], 0xff6b3619
xor eax, ebx
xor dword [esp + 0x14], eax
mov dword [0x227243c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
add edi, 0x61c88647
dec ebp
jne 0x41b490
cmp dword [0x22734b0], 0x8d4
jne 0x41b538
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x1bc]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], esi
cmp dword [0x22734b0], 0x17
jne 0x41b566
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret 4
Function at 0x405e20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x80c98b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4040f4
call fcn.00406a81
push 4
mov dword [esp + 0x18], 0
call fcn.00407a74
mov edi, eax
add esp, 4
test edi, edi
je 0x405e94
push ebx
call fcn.00406959
mov dword [edi], eax
call fcn.00406718
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406a42
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405e88
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406a6a
pop ebx
jmp 0x405e96
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4084e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80ff08]
jne 0x4084eb
repz ret
jmp fcn.0040d33c
Function at 0x80a860
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004120f0
cmp dword [0xb983e4], 0x37
jne 0x80a8fa
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov ecx, dword [0xb993d8]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x819434]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x80ab80
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb983e4]
sub esp, 0x43c
push ebx
push ebp
push esi
mov esi, dword [0x819434]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x80ad86
mov dword [esp + 0x34], 0x9e3779b9
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
jmp 0x80abc6
mov esi, dword [esp + 0x24]
xor edi, edi
cmp dword [0xb983e4], 0x1c
jne 0x80abdd
lea eax, [esp + 0x40]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x8102c0]
mov ebx, dword [0x8102c8]
mov ebp, dword [0x8102cc]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x8102c4]
mov dword [esp + 0x1c], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 0x20
jmp 0x80ac26
mov eax, dword [esp + 0x1c]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x20], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0xb98354], edi
mov eax, dword [esp + 0x20]
add dword [0xb98354], eax
mov eax, dword [0xb98354]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x38]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x3c]
add dword [esp + 0x10], eax
cmp dword [0xb983e4], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x80acbd
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0xb983e4], 0x979
mov dword [0xb98358], 0xff6b3619
mov dword [0xb9835c], 0xffffffff
mov dword [esp + 0x20], eax
jne 0x80acf7
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x34]
add dword [esp + 0x18], eax
sub esi, dword [esp + 0x18]
dec dword [esp + 0x2c]
jne 0x80ac20
cmp dword [0xb983e4], 0x8d4
jne 0x80ad3b
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
cmp dword [0xb983e4], 0x17
jne 0x80ad75
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
lea ecx, [esp + 0x48]
push ecx
push 0x403f3c
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x24], esi
jne 0x80abc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x43c
ret