joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49468c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494716
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x15]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x15]
mov ecx, 0x11
call fcn.00404cd8
cmp dword [ebp - 0x1c], 0
je 0x4946e9
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x15]
call fcn.00493384
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.004933f8
jmp 0x494700
lea edx, [ebp - 0x2c]
mov eax, 0x494724
call fcn.00493384
lea eax, [ebp - 0x2c]
mov edx, ebx
call fcn.004933f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49471d
lea eax, [ebp - 0x1c]
call fcn.00404a68
ret

Function at 0x494b4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494bcc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x19
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x494be0
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494bd3
lea eax, [ebp - 0x110]
call fcn.00404a68
ret

Function at 0x494be4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494c64
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x494c78
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494c6b
lea eax, [ebp - 0x110]
call fcn.00404a68
ret

Function at 0x494c7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494cfc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 6
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x494d10
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494d03
lea eax, [ebp - 0x110]
call fcn.00404a68
ret
Function at 0x494d14
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494d94
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x28
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x494da8
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494d9b
lea eax, [ebp - 0x110]
call fcn.00404a68
ret

Function at 0x494de4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494e64
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x1c
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00404cd8
mov edx, dword [ebp - 0x110]
mov eax, ebx
mov ecx, 0x494e78
call fcn.00404d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494e6b
lea eax, [ebp - 0x110]
call fcn.00404a68
ret

Function at 0x494ed4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
add esp, 0xfffffff0
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
push 0x494fc8
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jbe 0x494f07
push 0x494fd4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp], eax
cmp dword [esp], 0
je 0x494f32
lea eax, [esp + 0xc]
push eax
push 0x40
push 3
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [esp]
mov ecx, 3
mov eax, 0x494ff0
call fcn.00402d40
push 0x494ff4
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jbe 0x494f51
push 0x495000
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x494f7e
lea eax, [esp + 0xc]
push eax
push 0x40
push 3
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [esp + 4]
mov ecx, 3
mov eax, 0x494ff0
call fcn.00402d40
test ebx, ebx
jbe 0x494f91
push 0x495010
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x494fbe
lea eax, [esp + 0xc]
push eax
push 0x40
push 3
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [esp + 8]
mov ecx, 3
mov eax, 0x494ff0
call fcn.00402d40
mov eax, 1
add esp, 0x10
pop ebx
ret
Function at 0x495020
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f18
xor eax, eax
push ebp
push 0x4950de
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4950b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.004034d8
lea eax, [ebp - 0x122]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004034d8
lea eax, [ebp - 0x122]
mov edx, dword [ebp - 4]
call fcn.00409b40
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x122]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x410
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4950c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4950e5
lea eax, [ebp - 4]
call fcn.00404a68
ret

Function at 0x495338
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4953c7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0xffffffff
jne 0x495382
call fcn.004044a4
jmp 0x4953ce
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, ecx
xor edx, edx
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4953ce
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x49c808
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x49c847
push dword fs:[eax]
mov dword fs:[eax], esp
rdtsc
xchg ecx, eax
rdtsc
sub eax, ecx
cmp eax, 0xff
jae 0x49c837
sub edx, edx
mov byte [ebp - 1], 0
jmp 0x49c83d
sub eax, ecx
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c85c
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x634e3b2d
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, str._.u
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2e7e2ac5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401030
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x42d068]
mov edx, dword [0x42d06c]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
call fcn.00401020
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x42d070]
mov ecx, dword [0x42d074]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x20
jmp 0x401092
xor esi, esi
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84ef54]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4010ec
push esi
lea edx, [ebp - 0x38]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0x3c]
push edx
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], cx
mov eax, dword [ebp - 0x1c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84ef54]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401106
mov dword [0x84ef50], 0xedeb2e40
jmp 0x401122
cmp ecx, 0x3eb
jne 0x401122
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x84e904], esi
lea ecx, [ebx + edi]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, edi
shr edx, cl
mov dword [0x84ef4c], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shr esi, cl
add esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x84ef54], 0xb03
jne 0x4011a0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x20], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x401090
cmp dword [0x84ef54], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x4011eb
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401360
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4283a8
push eax
mov dword fs:[0], esp
mov eax, dword [0x84ef54]
sub esp, 0x420
push ebx
push esi
push edi
cmp eax, 0x93
jne 0x401409
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push str.kegupeyuceyoxawaluxuc_natusafokepojar_wiwivobezenesipogojuzanurebenayi
push str.hodof_gihimu_mujanupirafurade_webobat_nul
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [ebp - 0x2c]
call fcn.004016b0
push 0x42acfc
push 0
mov dword [ebp - 4], 0
call fcn.00401ba6
push 0
push 0
call fcn.00401bbd
call fcn.004017fe
push 0
push 0
call fcn.00401ad7
push 0
push 0
call fcn.0040198d
push 0
push 0
call fcn.00401ad7
add esp, 0x28
push 0
call fcn.00401f84
mov ecx, dword [0x42f990]
add eax, 0x1134b
push eax
push 0
mov dword [0x84f9b8], ecx
mov dword [0x84ef54], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x84e908], eax
call fcn.004012a0
mov edi, dword [sym.imp.USER32.dll_SetMessageExtraInfo]
mov esi, 0x29156e
lea ecx, [ecx]
push 0
call edi
sub esi, 1
jne 0x401440
cmp dword [0x84ef54], esi
jbe 0x4014ad
mov edi, dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
lea ecx, [ecx]
mov edx, dword [0x84f9b8]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x84e908]
mov byte [ecx + esi], al
cmp dword [0x84ef54], 0x490
jne 0x4014a4
push 0
push 0
call edi
push 0
push 0
lea edx, [ebp - 0x10]
push edx
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
inc esi
cmp esi, dword [0x84ef54]
jb 0x401460
mov edi, dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
mov eax, dword [0x84ef54]
add eax, esi
cmp eax, 0x8d
jne 0x4014e4
push 0
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push str.wutusahafofesohelasecisojagop
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x38681
jl 0x4014bb
call fcn.00401200
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
cmp esi, 0x62
jne 0x40150e
call fcn.00401280
inc esi
cmp esi, 0x674db
jl 0x401500
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x84ef54], 0x86
jne 0x40156a
push 0
lea ecx, [ebp - 0x42c]
push ecx
push str.fawav
call esi
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
sub dword [ebp - 0x10], 1
jne 0x401530
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x84e908]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x84ef54], 0x400
push esi
push edi
jne 0x4015c4
lea eax, [ebp - 0x24]
call fcn.00401680
lea esi, [ebp - 0x24]
call fcn.004016a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af054
jle 0x4015e2
cmp ebx, 0x787e04e5
jne 0x4015eb
inc esi
cmp esi, 0x1d8b
jl 0x4015d0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40161d
inc esi
cmp esi, 0x4f6a4
jl 0x401600
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
pop ebx
push 0
call edi
cmp esi, 0x2b2589
jg 0x40163b
inc esi
cmp esi, 0x1190b
jl 0x401626
mov eax, dword [0x42f9bc]
mov dword [0x84ef54], eax
call fcn.00401360
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 0x3078f
jmp 0x401660
cmp dword [0x84ef54], 0x51f
jne 0x401670
push 0
call esi
sub edi, 1
jne 0x401660
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407630
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ca68]
jne 0x40763a
repz ret
jmp fcn.0040aec6
Function at 0x40a93d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403912
and dword [ebp - 4], 0
cmp dword [0x431344], 0
mov ebx, eax
jne 0x40a9ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aa9f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40aa9f
push eax
call fcn.004038a0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x431344], eax
call esi
push eax
call fcn.004038a0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x431348], eax
call esi
push eax
call fcn.004038a0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43134c], eax
call esi
push eax
call fcn.004038a0
pop ecx
mov dword [0x431354], eax
test eax, eax
je 0x40a9ee
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004038a0
pop ecx
mov dword [0x431350], eax
mov eax, dword [0x431350]
cmp eax, ebx
je 0x40aa46
cmp dword [0x431354], ebx
je 0x40aa46
push eax
call fcn.0040391b
push dword [0x431354]
mov esi, eax
call fcn.0040391b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aa46
test edi, edi
je 0x40aa46
call esi
test eax, eax
je 0x40aa3d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40aa3d
test byte [ebp - 0xc], 1
jne 0x40aa46
or dword [ebp + 0x10], 0x200000
jmp 0x40aa7f
mov eax, dword [0x431348]
cmp eax, ebx
je 0x40aa7f
push eax
call fcn.0040391b
pop ecx
test eax, eax
je 0x40aa7f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40aa7f
mov eax, dword [0x43134c]
cmp eax, ebx
je 0x40aa7f
push eax
call fcn.0040391b
pop ecx
test eax, eax
je 0x40aa7f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431344]
call fcn.0040391b
pop ecx
test eax, eax
je 0x40aa9f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aaa1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401030
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [str._tKBGI]
mov edx, dword [0x42505c]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
call fcn.00401020
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x425060]
mov ecx, dword [0x425064]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x20
jmp 0x401092
xor esi, esi
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x846f4c]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4010ec
push esi
lea edx, [ebp - 0x38]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0x3c]
push edx
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], cx
mov eax, dword [ebp - 0x1c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x846f4c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401106
mov dword [0x846f48], 0xedeb2e40
jmp 0x401122
cmp ecx, 0x3eb
jne 0x401122
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov dword [0x8468fc], esi
lea ecx, [ebx + edi]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, edi
shr edx, cl
mov dword [0x846f44], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shr esi, cl
add esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x846f4c], 0xb03
jne 0x4011a0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x20], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x401090
cmp dword [0x846f4c], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x4011e9
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4