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

Disassembly:
push 0xffffffffffffffff
push 0x76d9fb
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 0x759002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0075cdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x759002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.007546e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0075d20b
push 0x10
call fcn.0075d1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x758fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007491c0
jmp 0x758fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00758b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x758ff0
mov ecx, edi
call fcn.007492c0
push edi
call fcn.0075d1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x759021
inc ebx
cmp ebx, 0x20
jb 0x758f3e
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 0x75a250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76e808
push 0x75e288
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 0x75a329
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 0x75a329
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.0075d1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x75a329
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 0x75a329
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 0x75a32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0075a351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x75b000
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 0x75b131
push esi
call fcn.0075e145
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.0074d080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x75b131
push 0
push ebp
call fcn.0074d3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0074d260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x75b08b
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.0074d2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x75b121
push 0x773918
push edi
call fcn.0075c3f0
push eax
push ebx
push esi
call fcn.0075af60
push 0x7738f8
push edi
call fcn.0075c3f0
push eax
push ebx
push esi
call fcn.0075af60
push 0x7738d8
push edi
call fcn.0075c3f0
push eax
push ebx
push esi
call fcn.0075af60
push 0x7738c0
push edi
call fcn.0075c3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0075af60
push 0x7738a0
push edi
call fcn.0075c3f0
push eax
push ebx
push esi
call fcn.0075af60
push 0x773888
push edi
call fcn.0075c3f0
push eax
push ebx
push esi
call fcn.0075af60
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 0x75c1b0
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.0075c140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0075c140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0075c140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0075c140
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 0x75cbfa
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 0x75cc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x76e87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x75cc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x75cc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x44781857
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2224067d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x409b7c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439d30]
jne 0x409b86
repz ret
jmp fcn.0040db77

Function at 0x40c66e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x439d30]
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.0040722e
and dword [ebp - 0x14], 0
cmp dword [0x43b368], 0
mov dword [ebp - 0x18], eax
jne 0x40c721
push 0x404504
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c7c9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4044f8
push ebx
call edi
test eax, eax
je 0x40c7c9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4044e8
push ebx
mov dword [0x43b368], eax
call edi
push eax
call esi
push 0x4044d4
push ebx
mov dword [0x43b36c], eax
call edi
push eax
call esi
push 0x4044b8
push ebx
mov dword [0x43b370], eax
call edi
push eax
call esi
mov dword [0x43b378], eax
test eax, eax
je 0x40c721
push 0x4044a0
push ebx
call edi
push eax
call esi
mov dword [0x43b374], eax
mov eax, dword [0x43b374]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c77a
cmp dword [0x43b378], ecx
je 0x40c77a
push eax
call esi
push dword [0x43b378]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c77a
test ebx, ebx
je 0x40c77a
call edi
test eax, eax
je 0x40c771
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c771
test byte [ebp - 8], 1
jne 0x40c77a
or dword [ebp + 0x10], 0x200000
jmp 0x40c7ad
mov eax, dword [0x43b36c]
cmp eax, dword [ebp - 0x18]
je 0x40c7ad
push eax
call esi
test eax, eax
je 0x40c7ad
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c7ad
mov eax, dword [0x43b370]
cmp eax, dword [ebp - 0x18]
je 0x40c7ad
push eax
call esi
test eax, eax
je 0x40c7ad
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43b368]
call esi
test eax, eax
je 0x40c7c9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c7cb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409b7c
leave
ret
Function at 0x422f90
Capabilities:
Delete directory
Get common file path
Read file on windows
Set console window title

Disassembly:
mov eax, 0x1820
call fcn.0040e0d0
cmp dword [0x7c03d8], 0x37
jne 0x423077
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x404560
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FreeUserPhysicalPages]
push 0
lea ecx, [esp + 0x424]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea edx, [esp + 0xc24]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 4]
push eax
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea edx, [esp + 8]
push edx
push 0x404588
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea eax, [esp + 0x1020]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4045a0
push 0x4045b4
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
push 0
push 0x4045b8
push 0x4045e0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov edx, dword [0x7c03dc]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x44043c]
mov byte [edx + esi], cl
add esp, 0x1820
ret
Function at 0x423220
Capabilities:
Enumerate files on windows
Manipulate console buffer

Disassembly:
mov eax, dword [0x7c03d8]
sub esp, 0x1d4
push ebx
push ebp
push esi
mov esi, dword [0x44043c]
shr eax, 3
push edi
test eax, eax
je 0x4233c7
mov dword [esp + 0x38], 0x9e3779b9
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jmp 0x423256
mov esi, dword [esp + 0x1c]
cmp dword [0x7c03d8], 0x1c
jne 0x423273
lea eax, [esp + 0x3c]
push eax
push 0
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov edx, dword [0x43a330]
mov ecx, dword [0x43a334]
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [0x43a338]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x43a33c]
mov dword [esp + 0x14], eax
mov ebx, 0xc6ef3720
mov dword [esp + 0x28], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], 0x20
jmp 0x4232b7
mov eax, dword [esp + 0x14]
mov edx, eax
mov ecx, eax
shr edx, 5
add edx, dword [esp + 0x34]
shl ecx, 4
add ecx, dword [esp + 0x28]
add eax, ebx
xor edx, ecx
xor edx, eax
sub edi, edx
mov ecx, edi
shl ecx, 4
mov dword [0x7bf35c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7c03d8], 0x1be
lea ebp, [ebx + edi]
jne 0x42330c
lea edx, [esp + 0x40]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0x7c03d8], 0x979
mov dword [0x7bf360], 0xff6b3619
mov dword [0x7bf364], 0xffffffff
jne 0x423345
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor esi, ebp
xor dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
sub ebx, dword [esp + 0x18]
dec dword [esp + 0x20]
jne 0x4232b3
cmp dword [0x7c03d8], 0x8d4
jne 0x423388
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], edi
cmp dword [0x7c03d8], 0x17
jne 0x4233b6
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x423252
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40633c
pop dword [ebp - 0x44]
mov eax, 0x40633c
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xbce9f8aa
sub dword [ebp - 0x54], 0x6e97b35f
mov dword [ebp - 0x50], 0xa91e112f
add dword [ebp - 0x50], 0x89153b16
mov dword [ebp - 0x4c], 0x35cc68f5
add dword [ebp - 0x4c], 0x167fdb39
mov dword [ebp - 0x48], 0x404d178a
sub dword [ebp - 0x48], 0x404d178a
lea eax, [ebp - 0x54]
push eax
mov eax, 0x694283c6
sub eax, 0x69021366
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x3be4efee
add dword [ebp - 0x54], 0x388d7968
mov dword [ebp - 0x50], 0x2f6e5e65
sub dword [ebp - 0x50], 0xee01fcf0
mov dword [ebp - 0x4c], 0xd8b83002
add dword [ebp - 0x4c], 0x8ab73c6a
mov dword [ebp - 0x48], 0x2609e88c
add dword [ebp - 0x48], 0xd9f61774
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3b041
push 0
call eax
mov ecx, 0x5997
xor esi, esi
add esi, eax
mov edi, 0x92f2ff96
sub edi, 0x92b1ff96
add edi, dword [ebp - 0x44]
mov edx, 0x45f2dead
add edx, 0x2a516d3a
mov dword [ebp - 4], 0x8182d7d8
mov ebx, dword [edi]
sub dword [ebp - 0x24], 0x617df0ee
add ebx, edx
xor dword [ebp - 0x40], 0xae952570
mov dword [esi], ebx
sub dword [ebp - 8], 0x730547df
add esi, 0x627e6825
add esi, 0x9d8197df
add edi, 4
loop 0x406450
add eax, 0x1592f
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x405e20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4264bb
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.0040765a
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 0x4080d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429648]
jne 0x4080db
repz ret
jmp fcn.0040c7cc
Function at 0x411c0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x429648]
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.0040b33c
and dword [ebp - 0x14], 0
cmp dword [0x42bf8c], 0
mov dword [ebp - 0x18], eax
jne 0x411cbf
push 0x403f00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411d67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403ef4
push ebx
call edi
test eax, eax
je 0x411d67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403ee4
push ebx
mov dword [0x42bf8c], eax
call edi
push eax
call esi
push 0x403ed0
push ebx
mov dword [0x42bf90], eax
call edi
push eax
call esi
push 0x403eb4
push ebx
mov dword [0x42bf94], eax
call edi
push eax
call esi
mov dword [0x42bf9c], eax
test eax, eax
je 0x411cbf
push 0x403e9c
push ebx
call edi
push eax
call esi
mov dword [0x42bf98], eax
mov eax, dword [0x42bf98]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411d18
cmp dword [0x42bf9c], ecx
je 0x411d18
push eax
call esi
push dword [0x42bf9c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411d18
test ebx, ebx
je 0x411d18
call edi
test eax, eax
je 0x411d0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411d0f
test byte [ebp - 8], 1
jne 0x411d18
or dword [ebp + 0x10], 0x200000
jmp 0x411d4b
mov eax, dword [0x42bf90]
cmp eax, dword [ebp - 0x18]
je 0x411d4b
push eax
call esi
test eax, eax
je 0x411d4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411d4b
mov eax, dword [0x42bf94]
cmp eax, dword [ebp - 0x18]
je 0x411d4b
push eax
call esi
test eax, eax
je 0x411d4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42bf8c]
call esi
test eax, eax
je 0x411d67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411d69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004080d1
leave
ret
Function at 0x424ec0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0x7afce4], 0x37
jne 0x424f5b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea ecx, [esp + 0x410]
push ecx
push 0
push 0x403f80
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov edx, dword [0x7b0cd8]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x430d34]
mov byte [edx + esi], cl
add esp, 0x80c
ret
Function at 0x425100
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7afce4]
sub esp, 0x9cc
push ebx
push ebp
push esi
mov esi, dword [0x430d34]
shr eax, 3
push edi
test eax, eax
je 0x4252aa
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
jmp 0x425134
mov esi, dword [esp + 0x18]
cmp dword [0x7afce4], 0x1c
jne 0x425151
lea eax, [esp + 0x38]
push eax
push 0
lea ecx, [esp + 0x44]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov edx, dword [0x42a2d0]
mov eax, dword [0x42a2d4]
mov ecx, dword [str._ns_]
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x24], edx
mov edx, dword [0x42a2dc]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], 0x20
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x30]
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
lea edx, [edi + ebp]
xor eax, ecx
xor eax, edx
sub ebx, eax
mov eax, ebx
shl eax, 4
mov dword [0x7afc54], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
cmp dword [0x7afce4], 0x1be
jne 0x4251dd
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, ebx
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x7afce4], 0x979
mov dword [0x7afc58], 0xff6b3619
mov dword [0x7afc5c], 0xffffffff
jne 0x42522f
mov edx, dword [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea eax, [esp + 0x1dc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebx + ebp]
xor esi, eax
mov eax, dword [esp + 0x14]
xor eax, esi
sub edi, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x42518a
cmp dword [0x7afce4], 0x8d4
jne 0x425267
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov esi, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp dword [0x7afce4], 0x17
jne 0x425299
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x98]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x425130
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9cc
ret