joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4215a0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x4563e4]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x421796
cmp word [edi], si
je 0x421796
push edi
lea eax, [esp + 0x46c]
push 0x104
push eax
call fcn.0042eee3
add esp, 0xc
push 0x44ca00
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x421630
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov ecx, 0x44c8cc
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421666
test dx, dx
je 0x421662
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421666
add eax, 4
add ecx, 4
test dx, dx
jne 0x421640
xor eax, eax
jmp 0x42166b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421745
mov ecx, 0x44ca04
lea eax, [esp + 0x3c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4216a6
test dx, dx
je 0x4216a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4216a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x421680
xor eax, eax
jmp 0x4216ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x421745
push edi
lea ecx, [esp + 0x264]
push 0x104
push ecx
call fcn.0042eee3
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [esp + 0x10], 0x10
je 0x421717
lea ecx, [esp + 0x260]
push ecx
call fcn.004215a0
mov esi, eax
add esp, 4
test esi, esi
je 0x421745
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x421761
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42176a
cmp esi, 0x12
jne 0x421630
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp esi, 0x12
jne 0x42177f
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x674]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 3
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x4217b0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0xc]
push ecx
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x421801
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x421817
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.0042ee49
mov esp, ebp
pop ebp
ret

Function at 0x421840
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4218bd
lea ecx, [ebp - 0x10]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0x80040002
push 0x12
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x4218bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x421c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00433960
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x58]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push esi
mov dword [ebp - 0x58], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x421ccf
mov ecx, dword [ebp - 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [ebp - 0xc]
push edx
call edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421ce0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x421d2d
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
push esi
push 0x104
push edi
call fcn.0042eee3
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0xc
call fcn.0042ee49
mov esp, ebp
pop ebp
ret

Function at 0x421d50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push esi
mov bl, 1
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x421dad
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042eee3
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
setne bl
test bl, bl
je 0x421dfb
push esi
call dword [sym.imp.SHLWAPI.dll_PathSkipRootW]
mov esi, eax
test esi, esi
je 0x421dfb
movzx eax, word [esi]
test ax, ax
je 0x421dfb
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathGetCharTypeW]
lea esp, [esp]
test bl, bl
je 0x421de8
push eax
call edi
test al, 0xb
movzx eax, word [esi + 2]
setne bl
add esi, 2
test ax, ax
jne 0x421dd0
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x421e10
Capabilities:
Get file size
Move file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
xor edi, edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x214], edi
mov byte [ebp - 0x20d], 0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x224], edi
call fcn.0042eee3
push str..bak
lea ecx, [ebp - 0x20c]
push 0x104
push ecx
call fcn.0042fa24
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x18
push edi
push edi
push 4
push edi
push edi
push SysReAllocString
push esi
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x421fbc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x300000
jbe 0x421f6f
push 0
push 0
push 4
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x20c]
push edx
call ebx
mov ebx, eax
mov dword [ebp - 0x21c], ebx
cmp ebx, 0xffffffff
je 0x421f79
push 0
push 0
add edi, 0xffd00000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x8000
call fcn.0042eb5a
add esp, 4
mov edi, eax
push 0
lea eax, [ebp - 0x218]
push eax
push 0x8000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x421f29
mov edx, dword [ebp - 0x218]
push 0
lea ecx, [ebp - 0x224]
push ecx
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x421f41
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x214], ebx
test ebx, ebx
jne 0x421f50
mov ebx, dword [ebp - 0x21c]
cmp dword [ebp - 0x218], 0
ja 0x421ef3
mov ebx, dword [ebp - 0x214]
push edi
call fcn.0042ff19
mov eax, dword [ebp - 0x21c]
add esp, 4
push eax
mov byte [ebp - 0x20d], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x421f7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x421f7f
mov ebx, dword [ebp - 0x214]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x20d], 0
je 0x421fa9
test ebx, ebx
jne 0x421fa9
mov ecx, dword [ebp - 0x220]
push 1
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x422d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4563e4]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
xor eax, eax
or ebx, 0xffffffff
push eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [0x458d54], eax
mov dword [0x458d50], eax
mov dword [0x458d40], ebx
mov dword [0x458d44], ebx
mov dword [0x458d48], ebx
mov dword [0x458d4c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x422f26
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x422f41
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [0x458d54], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [0x458d50], eax
lea eax, [esp + 0x230]
push eax
push ebx
push 0x422b10
push 0x422b60
push 0x422ae0
push 0x422a90
push 0x422a60
push 0x422a50
push 0x422a40
call dword [sym.imp.Cabinet.dll_FDICreate]
mov esi, eax
add esp, 0x24
test esi, esi
je 0x422f05
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
mov dword [esp + 0x22c], ecx
lea ecx, [esp + 0x24]
push 0x104
push ecx
mov dword [esp + 0x238], edx
call fcn.0042eee3
add esp, 0xc
lea edx, [esp + 0x20]
push edx
push 0
push 0x422b80
push 0
push 0x4499a8
push 0x4499a8
push esi
call dword [sym.imp.Cabinet.dll_FDICopy]
add esp, 0x1c
test eax, eax
jne 0x422ee0
mov edi, dword [esp + 0x230]
push esi
add edi, 0xb000
call dword [sym.imp.Cabinet.dll_FDIDestroy]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x10]
push esi
call dword [sym.imp.Cabinet.dll_FDIDestroy]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x230]
add eax, 0xb000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x23c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x425020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov esi, eax
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42509e
push ebx
lea ebx, [eax + 1]
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb5a
add esp, 4
push ebx
mov esi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push 0x510
push eax
push 0xffffffffffffffff
push esi
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
call fcn.0042ff19
mov esi, dword [ebp - 4]
add esp, 4
pop ebx
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x425900
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44403b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov dword [ebp - 4], ebx
mov ecx, dword [ecx + 4]
push ecx
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [ebp - 0x238]
push edx
push ebx
push ebx
push 0x11
push ebx
mov dword [ebp - 0x258], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, 0x208a
mov edx, 0x458de8
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x248], 0x41
call fcn.00413990
cmp dword [ebp - 0x220], 8
jb 0x4259e6
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x24c], edx
jmp 0x4259f2
lea eax, [ebp - 0x234]
mov dword [ebp - 0x24c], eax
mov edi, dword [0x458dc8]
push esi
add edi, 4
mov dword [ebp - 0x244], 0x41ea70
call fcn.00416580
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.0042eee3
add esp, 0xc
lea eax, [ebp - 0x258]
lea edx, [ebp - 0x218]
push eax
mov dword [ebp - 0x240], edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
cmp eax, ebx
je 0x425a64
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ecx, dword [0x458dc8]
lea edx, [ebp - 0x218]
push edx
add ecx, 4
mov ebx, esi
call fcn.00416670
mov bl, 1
cmp dword [ebp - 0x220], 8
jb 0x425a7c
mov eax, dword [ebp - 0x234]
push eax
call fcn.0042ee58
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret
Function at 0x425d00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4434b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
sub eax, 2
mov esi, ecx
jne 0x425e1b
lea ecx, [esi + 0x74]
lea edi, [eax + 6]
mov eax, dword [ecx + 0x10]
push str.LAUNCH
call fcn.004035f0
test eax, eax
jne 0x425e1b
lea eax, [esi + 0x3c]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x425d63
mov eax, dword [eax]
mov edi, dword [0x458dc8]
add edi, 4
call fcn.004165d0
test al, al
je 0x425e1b
cmp dword [esi + 0xa8], ebx
lea eax, [esi + 0x94]
jb 0x425d89
mov eax, dword [eax]
push eax
mov eax, dword [0x458dc8]
add eax, 4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00416d80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x425dad
lea eax, [ebp - 0x2c]
push eax
push str.__Launching:__s
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x425dd0
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x425e0a
test eax, eax
jne 0x425df2
mov eax, 0xe
push eax
push str.__Launch_error_0x_X
push 0x457ab8
mov ecx, 0x44a228
call fcn.00418500
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x425e1b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0042ee58
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 4

Function at 0x426020
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x200
push esi
mov esi, ecx
jne 0x426094
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042eb5a
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
push edi
push ebx
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
add esi, 0x3c
cmp dword [esi + 0x14], 8
jb 0x426075
mov esi, dword [esi]
mov ecx, dword [0x458dc8]
push ebx
add ecx, 4
mov ebx, esi
call fcn.00416670
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042ff19
add esp, 4
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x426a20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444000
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4563e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
cmp ecx, 0xfffffffe
je 0x426a5e
cmp ecx, 0xfffffffc
jne 0x426b4b
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], dx
mov dword [ebp - 4], ecx
lea ebx, [ecx + 8]
cmp dword [eax + 0xa4], ecx
je 0x426ac1
add eax, 0x94
cmp dword [eax + 0x14], ebx
jb 0x426a8a
mov eax, dword [eax]
push eax
mov eax, dword [0x458dc8]
add eax, 4
push eax
lea ecx, [ebp - 0x48]
call fcn.00416d80
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040ecb0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x426af8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0042ee58
add esp, 4
jmp 0x426af8
add eax, 0x3c
cmp dword [eax + 0x14], ebx
jb 0x426acb
mov eax, dword [eax]
mov edi, dword [0x458dc8]
push eax
add edi, 4
call fcn.00416580
mov ecx, eax
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x426ae0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x2c]
call fcn.00403fb0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x426b03
lea eax, [ebp - 0x2c]
push eax
push str.Link:_Launching__s
push 0x457ab8
mov ecx, 0x449300
call fcn.00418500
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jae 0x426b26
lea eax, [ebp - 0x2c]
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x18], ebx
jb 0x426b4b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0042ee58
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 4
Function at 0x428f10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov eax, dword [0x4563e4]
xor eax, esp
mov dword [esp + 4], eax
movzx eax, word [ebp + 8]
push esi
push edi
mov edi, ecx
cmp eax, 0x401
jg 0x428fd8
je 0x428fcc
sub eax, 2
je 0x428f72
sub eax, 0x3fa
jne 0x428fdf
mov esi, dword [edi + 0x54]
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + esi*4 - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
dec esi
call eax
test al, al
je 0x428f50
mov ecx, edi
mov dword [edi + 0x54], esi
call fcn.00428620
jmp 0x429069
mov ecx, dword [edi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
je 0x429069
mov ecx, dword [edi + 4]
push 0x1f86
push 2
push 3
push 0x4e20
call fcn.00405830
add esp, 0x10
cmp eax, 6
jne 0x429069
mov esi, dword [0x458dc8]
mov ecx, 0x642
call fcn.0040d150
push 0x40b
mov esi, edi
call fcn.00404460
jmp 0x429069
mov esi, edi
call fcn.00428790
jmp 0x429069
cmp eax, 0x40b
je 0x429008
mov edi, dword [edi + 0x38]
test edi, edi
je 0x428ff3
cmp dword [ebp + 0xc], edi
jne 0x428ff3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 8
cmp byte [edi + 0x5c], 0
jne 0x429052
mov eax, dword [0x458dc8]
call fcn.00409ee0
test al, al
jne 0x429052
mov ecx, dword [edi + 4]
push 0x1f86
push 2
push 3
push 0x4e20
call fcn.00405830
add esp, 0x10
cmp eax, 6
jne 0x429069
mov esi, dword [0x458dc8]
mov ecx, 0x642
call fcn.0040d150
mov edx, dword [edi + 4]
push 0
push edx
jmp 0x429058
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], 0x40b
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042ee49
mov esp, ebp
pop ebp
ret 8

Function at 0x42b280
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44348e
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4563e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, 7
xor esi, esi
xor edx, edx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], esi
mov word [edi], dx
mov dword [ebp - 4], esi
mov dword [edi + 0x30], ecx
mov dword [edi + 0x2c], esi
mov word [edi + 0x1c], dx
mov dword [edi + 0x50], ecx
xor ecx, ecx
mov dword [edi + 0x4c], esi
mov word [edi + 0x3c], cx
mov ecx, eax
lea edx, [ecx + 2]
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], edx
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x42b2e2
sub ecx, dword [ebp + 0xc]
mov esi, edi
sar ecx, 1
push ecx
call fcn.00403fb0
mov edx, dword [ebp + 0x10]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b302
sub eax, esi
sar eax, 1
push eax
mov eax, edx
lea esi, [edi + 0x1c]
call fcn.00403fb0
push 0
mov eax, 0x44a650
lea esi, [edi + 0x3c]
mov dword [edi + 0x38], 0
call fcn.00403fb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc