joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489952
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4b1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x444], 0
mov dword [ebp - 4], 2
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x424], 0
movq qword [ebp - 0x42c], xmm0
mov dword [edi], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x45860b
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], 1
push 0
push eax
call fcn.00462380
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00462380
add esp, 0x18
mov dword [ebp - 0x440], esi
cmp byte [ebp + 0x18], 0
mov eax, 1
mov ecx, 0x11
cmovne eax, ecx
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], 0
je 0x4586b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4586b0
test al, 0x10
je 0x4586b0
push ecx
mov ecx, dword [ebp + 0x10]
mov esi, esp
mov dword [ebp - 0x448], esi
lea ecx, [ecx - 0x10]
call fcn.0042f1b0
add eax, 0x10
mov dword [esi], eax
call fcn.004584b0
add esp, 4
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
je 0x4586f2
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea eax, [ebp - 0x218]
push eax
push 0x49a7c8
push edi
call fcn.00430100
add esp, 0xc
jmp 0x4586f9
mov ecx, edi
call fcn.0042dc20
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp + 0x10]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45871a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x458736
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045daaf
mov esp, ebp
pop ebp
ret 0x14
Function at 0x459840
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4b1014]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push str.CProcessKiller::CProcessKiller
push str._s_Started
push 0
push 5
mov esi, ecx
call fcn.00458800
add esp, 0x10
mov dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x459923
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x459923
mov eax, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x38], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4598fa
push str.CProcessKiller::CProcessKiller
push str._s_Successfully_changed_token_privileges
push 0
push 5
call fcn.00458800
add esp, 0x10
jmp 0x459923
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x45990c
movzx eax, ax
or eax, 0x80070000
push eax
push str.CProcessKiller::CProcessKiller
push str._s_Failed_to_change_token_privileges_error__0x_x_
push 0
push 5
call fcn.00458800
add esp, 0x14
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045daaf
mov esp, ebp
pop ebp
ret
Function at 0x459940
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b1014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Started_for___s_
push 0
push 5
call fcn.00458800
add esp, 0x14
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00459b10
mov edi, eax
test edi, edi
jne 0x4599b6
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Could_not_find_the_process_or_get_a_handle_of_it___s_
push eax
push 5
call fcn.00458800
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045daaf
mov esp, ebp
pop ebp
ret 0xc
push ebx
push edi
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Found_the_process___s___Handle__0x_x_
push 0
push 5
call fcn.00458800
push str.CProcessKiller::KillProcess
push str._s_Starting_loop
push 0
push 5
call fcn.00458800
add esp, 0x28
xor ebx, ebx
push dword [esi]
inc ebx
push ebx
push str.CProcessKiller::KillProcess
push str._s_Loop_iteration___d___Process___s_
push 0
push 5
call fcn.00458800
add esp, 0x18
push dword [ebp - 8]
push 0x45a1d0
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Waiting_for_process_to_signal___s_
push 0
push 5
call fcn.00458800
add esp, 0x14
push 0x1f4
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
push str.CProcessKiller::KillProcess
test eax, eax
je 0x459a73
push str._s_Timeout_while_waiting_for_the_process___s_
push 0
push 5
call fcn.00458800
add esp, 0x14
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x459a8b
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Terminate_Process_failed_for_the_process___s_
push eax
push 5
call fcn.00458800
jmp 0x459a88
push str._s_Finished_waiting_for_the_process___s_
push 0
push 5
call fcn.00458800
mov dword [ebp - 0xc], 1
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 5
jge 0x459abf
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
push dword [esi]
call fcn.00459b10
mov edi, eax
test edi, edi
jne 0x4599e5
jmp 0x459ad7
push dword [esi]
push str.CProcessKiller::KillProcess
push str._s_Breaking_the_loop___s_
push 0
push 5
call fcn.00458800
add esp, 0x14
push dword [esi]
push ebx
push str.CProcessKiller::KillProcess
push str._s_Ended_the_loop_after___d__iterations__Process___s_
push 0
push 5
call fcn.00458800
mov ecx, dword [ebp - 4]
add esp, 0x18
cmp dword [ebp - 0xc], 1
sete al
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0045daaf
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45a240
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489b38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4b1014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
push 0
mov dword [ebp - 4], 0
xor bl, bl
push 0
mov byte [ebp - 4], 1
push dword [ebp + 8]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x45a314
inc eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045daf8
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
push dword [ebp - 0x18]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x45a307
test esi, esi
jne 0x45a2dc
xor ecx, ecx
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042f2f0
jmp 0x45a305
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a2e1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x1c]
push esi
call fcn.0042f2f0
jmp 0x45a305
mov bl, 1
test esi, esi
je 0x45a314
push esi
call fcn.0045dac0
add esp, 4
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45a336
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bc00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489e09
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4b1014]
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 esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], 0
push eax
push str.iexplore.exe
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [esi], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x45bc82
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test ebx, ebx
je 0x45bd11
push ebx
call fcn.0045daf8
add esp, 4
mov edi, eax
push edi
push ebx
push dword [ebp - 0x14]
push str.iexplore.exe
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45bd08
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x49934c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45bd08
cmp dword [ebp - 0x18], 0
je 0x45bd08
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0xfeef04bd
jne 0x45bd08
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
call fcn.00430100
add esp, 0x18
push edi
call fcn.0045dac0
add esp, 4
mov eax, esi
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.0045daaf
mov esp, ebp
pop ebp
ret
Function at 0x45c420
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b1014]
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 edi, ecx
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.0045c250
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45c4ad
push 0x4a0b48
mov ecx, edi
call fcn.0042dad0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45c5af
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x45c5af
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x4a0b48
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042dad0
mov byte [ebp - 4], 1
test esi, esi
je 0x45c55f
push esi
call fcn.0045daf8
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45c556
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x49934c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45c556
cmp dword [ebp - 0x20], 0
je 0x45c556
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x45c556
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.00430100
add esp, 0x18
push ebx
call fcn.0045dac0
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042f1b0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45c590
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45c5af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.0045daaf
mov esp, ebp
pop ebp
ret
Function at 0x45cce0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b1014]
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 edi, ecx
mov dword [ebp - 0x24], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
call fcn.0045cb10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x45cd6d
push 0x4a0b48
mov ecx, edi
call fcn.0042dad0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ce6f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x45ce6f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push ecx
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
push 0x4a0b48
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, eax
call fcn.0042dad0
mov byte [ebp - 4], 1
test esi, esi
je 0x45ce1f
push esi
call fcn.0045daf8
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x45ce16
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x49934c
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x45ce16
cmp dword [ebp - 0x20], 0
je 0x45ce16
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0xfeef04bd
jne 0x45ce16
movzx esi, word [eax + 0xa]
movzx edx, word [eax + 8]
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x18]
push str._d._d._d._d
push eax
call fcn.00430100
add esp, 0x18
push ebx
call fcn.0045dac0
add esp, 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.0042f1b0
add eax, 0x10
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
or esi, 0xffffffff
mov dword [edi], eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ce50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45ce6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.0045daaf
mov esp, ebp
pop ebp
ret
Function at 0x45cfe0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b1014]
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 esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
shr eax, 8
movzx eax, al
movzx ebx, cl
mov dword [ebp - 0x18], eax
cmp ecx, 0x80000000
jae 0x45d03a
mov edi, ecx
shr edi, 0x10
cmp ebx, 6
jb 0x45d04d
cmp eax, 2
jb 0x45d04d
mov ecx, esi
call fcn.0045d320
jmp 0x45d0b8
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x45d062
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push ebx
push str._d._d___d_
push eax
call fcn.00430100
mov edi, dword [ebp - 0x14]
add esp, 0x14
add edi, 0xfffffff0
mov ecx, edi
call fcn.0042f1b0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45d0b8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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.0045daaf
mov esp, ebp
pop ebp
ret

Function at 0x47739c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047721b

Function at 0x478df4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00478ab4
Function at 0x408753
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x408775
mov eax, 0xfffffffd
jmp 0x4087ed
mov ebx, dword [0x4fc3c0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4087bb
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4fc3c0]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4087e3
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4087ed
mov esp, ebp
pop ebp
ret 4

Function at 0x4181fd
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x43e380
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a874b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049b19c
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43e402
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00498c1a
mov eax, dword [eax]
push 0x4ed240
push eax
call fcn.0048b784
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049b427
test bl, bl
je 0x43e402
push 0x4ed240
lea ecx, [esp + 0xc]
call fcn.0049b803
push 0x4f0dc4
lea ecx, [esp + 0xc]
call fcn.0049b803
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43e43e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049b427
jmp 0x43e509
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43e4c2
lea edx, [esp + 0x7c]
push 0x4f0dc0
push edx
call fcn.0048b784
add esp, 8
test eax, eax
je 0x43e4c2
lea eax, [esp + 0x7c]
push 0x4f0dbc
push eax
call fcn.0048b784
add esp, 8
test eax, eax
je 0x43e4c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43e452
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049b427
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43f760
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43f7c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x43f7d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a88ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f7cf8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x43f908
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43f836
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049b427
xor eax, eax
jmp 0x43f97f
push 0x4f0e04
lea ecx, [esp + 0xc]
call fcn.0049b5b0
push esi
lea ecx, [esp + 0xc]
call fcn.0049b83f
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4f0dfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43f95d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4f0df4
push closesocket
call fcn.0043f760
test eax, eax
jne 0x43f95d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4f0de0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0043f760
test eax, eax
jne 0x43f95d
lea eax, [esp + 0x14]
push 0x4f0dd8
push eax
call fcn.0048c8a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f93c
lea ecx, [esp + 0x14]
push 0x4f0dd4
push ecx
call fcn.0048c820
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f93c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43f93f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049b560
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43f84e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049b427
xor eax, eax
jmp 0x43f97f
mov byte [esi], 0
push 0x4f0dd0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049b427
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4