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

Disassembly:
push 0xffffffffffffffff
push 0x76c9fb
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 0x758002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0075bdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x758002
lea edx, [esp + 0x14]
push edx
push 0x772140
call fcn.007536e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0075c20b
push 0x10
call fcn.0075c1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x757fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.007481c0
jmp 0x757fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00757b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x757ff0
mov ecx, edi
call fcn.007482c0
push edi
call fcn.0075c1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x758021
inc ebx
cmp ebx, 0x20
jb 0x757f3e
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 0x759250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76d808
push 0x75d288
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 0x759329
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 0x759329
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.0075c1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x759329
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 0x759329
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 0x75932c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00759351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x759d20
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 0x759d58
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 0x759d60
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 0x759d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x759d94
push eax
push esi
call fcn.0075c20b
add esp, 8
pop esi
ret 0x10

Function at 0x759da0
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 0x759e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x759e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x772320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0075bdff
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 0x759dda
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 0x759e30
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 0x759ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x759eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x772320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0075bdff
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 0x759eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x759e6a
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 0x75a000
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 0x75a131
push esi
call fcn.0075d145
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.0074c080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x75a131
push 0
push ebp
call fcn.0074c3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0074c260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x75a08b
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.0074c2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x75a121
push 0x772918
push edi
call fcn.0075b3f0
push eax
push ebx
push esi
call fcn.00759f60
push 0x7728f8
push edi
call fcn.0075b3f0
push eax
push ebx
push esi
call fcn.00759f60
push 0x7728d8
push edi
call fcn.0075b3f0
push eax
push ebx
push esi
call fcn.00759f60
push 0x7728c0
push edi
call fcn.0075b3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00759f60
push 0x7728a0
push edi
call fcn.0075b3f0
push eax
push ebx
push esi
call fcn.00759f60
push 0x772888
push edi
call fcn.0075b3f0
push eax
push ebx
push esi
call fcn.00759f60
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 0x75b1b0
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.0075b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0075b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0075b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0075b140
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 0x75b230
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 0x75b2d6
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 0x75b2ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0075b230
mov esi, eax
add esp, 8
test esi, esi
jne 0x75b2ae
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 0x75b27e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x75b2ce
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 0x75bbfa
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 0x75bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x76d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x75bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x75bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x410df3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419510]
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.0040ae96
and dword [ebp - 0x14], 0
cmp dword [0x430290], 0
mov dword [ebp - 0x18], eax
jne 0x410ea6
push 0x4038cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410f4e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038c0
push ebx
call edi
test eax, eax
je 0x410f4e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4038b0
push ebx
mov dword [0x430290], eax
call edi
push eax
call esi
push 0x40389c
push ebx
mov dword [0x430294], eax
call edi
push eax
call esi
push 0x403880
push ebx
mov dword [0x430298], eax
call edi
push eax
call esi
mov dword [0x4302a0], eax
test eax, eax
je 0x410ea6
push 0x403868
push ebx
call edi
push eax
call esi
mov dword [0x43029c], eax
mov eax, dword [0x43029c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410eff
cmp dword [0x4302a0], ecx
je 0x410eff
push eax
call esi
push dword [0x4302a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410eff
test ebx, ebx
je 0x410eff
call edi
test eax, eax
je 0x410ef6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410ef6
test byte [ebp - 8], 1
jne 0x410eff
or dword [ebp + 0x10], 0x200000
jmp 0x410f32
mov eax, dword [0x430294]
cmp eax, dword [ebp - 0x18]
je 0x410f32
push eax
call esi
test eax, eax
je 0x410f32
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410f32
mov eax, dword [0x430298]
cmp eax, dword [ebp - 0x18]
je 0x410f32
push eax
call esi
test eax, eax
je 0x410f32
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x430290]
call esi
test eax, eax
je 0x410f4e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410f50
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408ad1
leave
ret
Function at 0x413570
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.00411960
cmp dword [0x7b402c], 0x37
jne 0x41360a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
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_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
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_ReplaceFileW]
mov ecx, dword [0x7b5020]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x43507c]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x413890
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b402c]
sub esp, 0x974
push ebx
push ebp
push esi
mov esi, dword [0x43507c]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x413a8f
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x4138c6
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x7b402c], 0x1c
jne 0x4138dd
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42bef8]
mov ebx, dword [0x42bf00]
mov ebp, dword [0x42bf04]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42befc]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x413926
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7b3f9c], edi
mov eax, dword [esp + 0x1c]
add dword [0x7b3f9c], eax
mov eax, dword [0x7b3f9c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x7b402c], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x4139bd
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x7b402c], 0x979
mov dword [0x7b3fa0], 0xff6b3619
mov dword [0x7b3fa4], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x413a07
push 0
lea ecx, [esp + 0x184]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0x7b402c]
cmp eax, 0x93
je 0x413a2d
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x413920
cmp eax, 0x8d4
jne 0x413a44
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0x7b402c], 0x17
jne 0x413a7e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x40]
push edx
push 0x404070
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x4138c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x974
ret
Function at 0x453d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0x14]
push str.__s_s
push 0x800
push esi
call fcn.0049c650
mov edi, eax
add esp, 0x14
lea ecx, [edi + 1]
cmp ecx, 0x800
jg 0x453dc7
lea ecx, [esi + 2]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453dc7
mov dword [esi + edi*2], 0x22
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

Function at 0x453dd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x241c
call fcn.004b79a0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov byte [esp + 0x17], dl
push edi
push dword [0x4e8660]
lea ebx, [esp + 0x430]
mov ebp, 0x4b9c40
push str.__s_s
mov eax, ebx
push 0x800
push eax
call fcn.0049c650
mov esi, eax
add esp, 0x14
lea ecx, [esi + 1]
cmp ecx, 0x800
jg 0x453e42
lea eax, [esp + 0x42a]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453e42
mov dword [esp + esi*2 + 0x428], 0x22
mov esi, dword [0x4e8660]
jmp 0x453ed4
xor esi, esi
lea eax, [esp + 0x18]
push esi
push ecx
push eax
push str.InstallDir
mov edx, str.SOFTWAREAutoHotkey
call fcn.0049db50
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x453e8b
test esi, esi
jne 0x453e8b
mov esi, 0x100
lea eax, [esp + 0x18]
push esi
push ecx
push eax
push str.InstallDir
mov edx, str.SOFTWAREAutoHotkey
call fcn.0049db50
mov edx, eax
add esp, 0x10
test edx, edx
je 0x453e63
xor ecx, ecx
nop dword [eax]
movzx eax, word [esp + ecx + 0x18]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x21e], ax
test ax, ax
jne 0x453e90
test edx, edx
je 0x453f6e
lea eax, [esp + 0x220]
push eax
push edi
lea ecx, [esp + 0x430]
call fcn.00453d80
add esp, 8
test al, al
je 0x453f6e
lea esi, [esp + 0x220]
cmp byte [esp + 0x17], 0
je 0x453f44
push str.AutoHotkey.exe
push esi
push str.__s_s
lea eax, [esp + 0x1434]
push 0x800
push eax
call fcn.0049c650
mov edi, eax
add esp, 0x14
lea ecx, [edi + 1]
cmp ecx, 0x800
jg 0x453f2f
lea eax, [esp + 0x142a]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453f2f
mov dword [esp + edi*2 + 0x1428], 0x22
lea ebx, [esp + 0x1428]
jmp 0x453f3d
cmp esi, dword [0x4e8660]
jne 0x453f44
mov ebx, dword [0x4e865c]
lea ebp, [esp + 0x428]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
push ebx
mov ecx, 0x4e7b70
call fcn.00448cb0
test eax, eax
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x241c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x241c
ret
Function at 0x401123
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
lea eax, [esp + 0x18]
mov edi, ecx
push eax
call fcn.0040117e
xor ebp, ebp
pop ecx
pop ecx
mov ebx, dword [eax]
mov dword [eax], ebp
cmp dword [esp + 0x14], ebp
je 0x401152
push 4
push dword [esp + 0x18]
call fcn.0040219e
pop ecx
pop ecx
lea esi, [edi + 4]
push esi
push ebp
push ebx
push 0x401107
push ebp
push ebp
call fcn.00407377
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x401174
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 6
mov dword [esi], ebp
call fcn.00401ecb
int3

Function at 0x40157f
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x40167a
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, 0xb83bf
mov ebp, str._d_The_remote_protocol_ID:
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xb7
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x96
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x67
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x8e
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xfa
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x2c
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x21
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0xad
add esp, 0x40
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 0x4b
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 6
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x55
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x8b
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x9a
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 9
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x3d
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0x50
add esp, 0x40
push ebx
push ebp
call fcn.00401924
add byte [esi + edi], 0xdb
push ebx
push ebp
call fcn.00401924
xor byte [esi + edi], 6
add esp, 0x10
inc esi
cmp esi, dword [esp + 0x18]
jb 0x40159d
pop edi
pop ebp
pop ebx
pop esi
ret