joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4347de
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x434880
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x434861
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x43484a
mov byte [ebp - 1], 0
push 1
push 0
push 0x373f
push 0
push 0x27bf
lea eax, [ebp - 1]
push eax
call fcn.004309e2
add esp, 0x18
jmp 0x43485f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0x93d7f28
jmp 0x43487b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push 1
push 0
push dword [ebp - 0x28]
push 0x58aa
call fcn.00433ee2
add esp, 0x10
jmp 0x434962
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x434924
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x4348ea
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x4348e8
push 0
call fcn.00433988
pop ecx
jmp 0x434922
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x434922
push 1
push 0
push 0x17fe
push 0x6978
push 0x259a
push 0
push 0x11d3
call fcn.004308f0
add esp, 0x1c
jmp 0x434962
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x43495a
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x434958
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x434962
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x434a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x434afe
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x434ad4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x434ab9
mov byte [ebp - 1], 0
push 0x68f0
push 0
lea eax, [ebp - 1]
push eax
call fcn.004396e0
add esp, 0xc
jmp 0x434ad2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0x1b
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x434af9
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
push 1
push 0x5c80
push dword [ebp - 0x2c]
push 1
push dword [ebp - 0x30]
push 1
call fcn.0042e007
add esp, 0x18
jmp 0x434bc2
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x434b70
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x434b50
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x434b6e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x434b6e
push 0
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
jmp 0x434bc2
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x434ba6
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x434ba4
push 0
call dword [sym.imp.KERNEL32.dll_EncodePointer]
jmp 0x434bc2
mov byte [ebp - 2], 0
push 0xaed
lea eax, [ebp - 2]
push eax
push 0x3c6c
push 0
call fcn.00432b61
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x43598b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x435a10
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4359c9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0x10]
call fcn.00435a44
pop ecx
pop ecx
jmp 0x435a0e
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x4359ef
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4359ed
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x435a0e
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x435a0e
push 0
push 0x1596
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x435a40
lea eax, [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x435a2a
push 1
call fcn.004323c5
pop ecx
jmp 0x435a40
push 0
push 1
push 0x6566
push 0x7384
call fcn.0042bcd5
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x437f0e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x438008
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x437ff1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x437fd9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 2
jmp 0x437f7e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x437fd7
push 1
push 0
push 0
push 1
push 0x50b
call fcn.00436f0c
add esp, 0x14
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x437fd5
push 0x7764
push 0x2698
push 0
push 0x1df2
push 1
push 0x7dc4
push 0x6c3d
push 1
push 0x4a65
push 1
call fcn.00430f16
add esp, 0x28
jmp 0x437f73
jmp 0x437fef
mov byte [ebp - 2], 0
push 0
lea eax, [ebp - 2]
push eax
push 0
push 1
call fcn.004303bd
add esp, 0x10
jmp 0x438003
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push 0
call fcn.0043c664
pop ecx
pop ecx
jmp 0x4380a5
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x438044
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 1
push dword [ebp - 0x34]
call fcn.0042f8c5
pop ecx
pop ecx
jmp 0x4380a5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x438085
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x438083
push 0x1534
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x4380a5
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x4380a5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov esp, ebp
pop ebp
ret
Function at 0x438d3d
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x438d6c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00438e46
add esp, 0xc
jmp 0x438e42
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x438da1
push 1
push 0x6f26
call fcn.004320c0
pop ecx
pop ecx
jmp 0x438e42
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x438e24
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x438ddf
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffec
jg 0x438e22
mov byte [ebp - 1], 0
push 0
push 0x1cdc
push 0x4d0f
push 0
push 0x41ab
push 0x7ed
push 0x1970
push 0x6d1
push 1
lea eax, [ebp - 1]
push eax
push 0x49e8
call fcn.0042daf0
add esp, 0x2c
jmp 0x438dd4
jmp 0x438e42
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x438e42
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esp, ebp
pop ebp
ret
Function at 0x439f3e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x439f6d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0043a04a
add esp, 0xc
jmp 0x43a046
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x439fa6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 0x1c]
call fcn.0042b9de
pop ecx
pop ecx
jmp 0x43a046
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x43a040
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffff2
jmp 0x439fe2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xc
jne 0x43a03e
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0xfffffffe
mov dword [ebp - 0x40], 0xd53b
mov dword [ebp - 0x34], 0xfffffff8
mov dword [ebp - 8], 0
jmp 0x43a016
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x43a029
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], 0
jmp 0x43a00f
push 0
lea eax, [ebp - 0x34]
push eax
push 0x1d8
call fcn.0042fb6a
add esp, 0xc
jmp 0x439fd7
jmp 0x43a046
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esp, ebp
pop ebp
ret
Function at 0x43b637
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x43b666
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
push 0x3ac3
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push 1
call fcn.0043b731
add esp, 0xc
jmp 0x43b72d
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43b70e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x43b6e9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 2
jmp 0x43b6ca
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x43b6e7
push 1
push 1
push 0xb49
push 0
call fcn.0043149c
add esp, 0x10
jmp 0x43b6bf
jmp 0x43b70c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x43b70c
push 0x1534
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x43b72d
push 0x6cb1
push 1
push 1
push 0x206b
push 0
push 0
push 0x1eff
call fcn.0042f5a3
add esp, 0x1c
mov esp, ebp
pop ebp
ret

Function at 0x43b755
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x43b7fd
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x43b7d0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43b7c6
mov byte [ebp - 1], 0
push 1
push 1
push 0x79d0
push 1
push 0x16cb
push 0x67e6
push 0x446f
push 1
lea eax, [ebp - 1]
push eax
push 0x2047
call fcn.00431d7d
add esp, 0x28
jmp 0x43b7ce
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x43b7fb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x2afb
push 1
push 0x610c
push 0x9a0
push 1
push 0x40e
push 1
call fcn.00437576
add esp, 0x20
jmp 0x43b82b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push 0
push 0x135a
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
push eax
call fcn.0042b3c8
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x43c687
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x43c6c1
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
push 1
push 0x4663
push 1
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
push eax
call fcn.0043c7aa
add esp, 0x14
jmp 0x43c7a6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43c783
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x43c759
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x43c738
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
je 0x43c738
mov dword [ebp - 8], 1
jmp 0x43c73c
and dword [ebp - 8], 0
cmp dword [ebp - 8], 1
jne 0x43c74b
mov dword [ebp - 0xc], 1
jmp 0x43c74f
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
jmp 0x43c781
push 0
push 0x14fb
push 0x18b4
push 0xbb7
push 0x1e28
push 0x10bf
push 0x22a8
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
jmp 0x43c7a6
push 0x29b0
push 0x1152
push 0
push 0x713f
push 0x3f31
push 0x7acd
call fcn.004331e2
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x43c7c8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x43c8ba
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x43c85f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x43c846
mov byte [ebp - 1], 0
push 1
push 0x495d
push 0xe8f
lea eax, [ebp - 1]
push eax
push 0x1778
push 0x2ae
push 1
push 1
push 0
call fcn.0043613f
add esp, 0x24
jmp 0x43c85d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x43c8b8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43c8a4
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x43c8a2
push 1
push 1
push 1
push 0x104f
push 1
push 0
call fcn.0042d01d
add esp, 0x18
jmp 0x43c8b8
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x43c8b8
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x43c8c2
push 1
call fcn.0042e7a4
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x46aa37
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x478aef
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48b484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00468894
mov dword [ebp - 0x14], eax
cmp dword [0xa84b90], esi
jne 0x478be2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x478b6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x478cc2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x478cc2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x478cc2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa84b90], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa84b94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa84b98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa84ba0], eax
test eax, eax
je 0x478bdf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa84b9c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x478c07
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x478bfa
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x478c1c
push 4
pop eax
jmp 0x478cc4
cmp dword [ebp - 0x14], esi
je 0x478c1c
push dword [0xa84b90]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x478c01
mov eax, dword [0xa84b9c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x478c7a
cmp dword [0xa84ba0], edi
je 0x478c7a
push eax
call ebx
push dword [0xa84ba0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x478c7a
test eax, eax
je 0x478c7a
call ecx
test eax, eax
je 0x478c6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x478c6f
test byte [ebp - 8], 1
jne 0x478c7a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x478caa
mov eax, dword [0xa84b94]
cmp eax, edi
je 0x478ca7
push eax
call ebx
test eax, eax
je 0x478ca7
call eax
mov esi, eax
test esi, esi
je 0x478ca7
mov eax, dword [0xa84b98]
cmp eax, edi
je 0x478ca7
push eax
call ebx
test eax, eax
je 0x478ca7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa84b90]
call ebx
test eax, eax
je 0x478cc2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x478cc4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00467d3b
mov esp, ebp
pop ebp
ret