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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52749e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x18]
call fcn.00467c60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
call fcn.004cfd90
mov ecx, eax
call fcn.004cf0a0
mov dword [ebp - 0x3c], eax
push 1
mov ecx, dword [ebp - 0x3c]
call fcn.00477060
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.00474aa0
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x19], al
lea ecx, [ebp - 0x20]
call fcn.004070b0
movzx ecx, byte [ebp - 0x19]
test ecx, ecx
je 0x4d9e00
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070f0
mov eax, dword [ebp - 0x24]
jmp 0x4d9f94
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
push edx
push 0x533794
lea ecx, [ebp - 0x18]
call fcn.00407140
test eax, eax
je 0x4d9e34
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d9e5e
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070f0
mov eax, dword [ebp - 0x28]
jmp 0x4d9f94
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x550
call fcn.00404380
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x964], 1
mov ecx, dword [ebp - 0x38]
call fcn.004d4c00
test eax, eax
je 0x4d9eb3
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070f0
mov eax, dword [ebp - 0x2c]
jmp 0x4d9f94
push 0
push 2
call fcn.004db1d0
mov ecx, eax
call fcn.004dadb0
push 3
mov ecx, dword [ebp - 0x38]
call fcn.004d8da0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4d9f12
push 1
push 2
call fcn.004db1d0
mov ecx, eax
call fcn.004dadb0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070f0
mov eax, dword [ebp - 0x30]
jmp 0x4d9f94
cmp dword [ebp - 0x10], 2
jne 0x4d9f2a
push 2
push 2
call fcn.004db1d0
mov ecx, eax
call fcn.004dadb0
jmp 0x4d9f40
cmp dword [ebp - 0x10], 0
jne 0x4d9f40
push 3
push 2
call fcn.004db1d0
mov ecx, eax
call fcn.004dadb0
push 0
push 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xab0]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004d4c00
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x964]
push edx
push 3
call fcn.004db1d0
mov ecx, eax
call fcn.004db240
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4da4b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x55f7cc], 0
jne 0x4da4cf
mov ecx, dword [ebp - 8]
call fcn.004d9100
mov dword [0x55f7cc], eax
push 0
push 0xc
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.0044dcf0
push 0
push 0x32
push 0x3eb
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0045b150
push 0
push 0x50
push 0x3ed
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0045b150
mov dword [ebp - 4], 0x1e
push 0
push 0x1e
push 1
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0045b150
push 0
push 0x64
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.0044dcf0
push 1
push 0xc8
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.0044dcf0
push 0
mov ecx, dword [ebp - 8]
call fcn.004d5f30
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4da400
push 0
push 0
call fcn.004a31ff
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x958], eax
push 1
push 1
call fcn.004db1d0
mov ecx, eax
call fcn.004dadb0
mov esp, ebp
pop ebp
ret

Function at 0x4dab10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push str.http:__www.xsso.net_dksq_privateliscense.html
push 0x534ba4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x4dae80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524db9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x28], ecx
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004dc320
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
je 0x4daed6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db073
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004073c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4daefd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db073
lea ecx, [ebp - 0x10]
call fcn.00406ac0
sub eax, dword [ebp - 0x18]
sub eax, 1
push eax
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00407530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b3b0
movzx eax, al
test eax, eax
je 0x4daf4b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db073
push 0
push 0x534d98
lea ecx, [ebp - 0x1c]
call fcn.0040b140
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4daf83
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db073
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004075c0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004070b0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406b50
mov byte [ebp - 4], 3
push 0
push 0x534da4
lea ecx, [ebp - 0x14]
call fcn.0040b140
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4db00c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db073
lea ecx, [ebp - 0x14]
call fcn.00406ac0
sub eax, dword [ebp - 0x18]
sub eax, 5
push eax
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407530
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00404380
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.004070b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4db790
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x534ddc
push 0x534e4c
push 0x534e68
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004776d0
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4db7f0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5254b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push str.asreboot_inst
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045c560
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4db86d
push 0x534fdc
lea ecx, [ebp - 0x14]
call fcn.0045c610
test eax, eax
jne 0x4db86d
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x18]
jmp 0x4db886
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4db8a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fd58
push 0x5236a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x4db8ed
cmp dword [ebp + 0xc], 0
je 0x4db8ed
cmp dword [ebp + 0x10], 1
jae 0x4db8f2
jmp 0x4db9d0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jb 0x4db914
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp - 0x1c], ecx
jbe 0x4db919
jmp 0x4db9d0
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049bd17
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4db954
mov dword [ebp - 4], 0xffffffff
jmp 0x4db9d0
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.0049e730
add esp, 0xc
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4db9b0
mov eax, dword [ebp + 0x10]
sub eax, 1
cmp dword [ebp - 0x1c], eax
ja 0x4db9b0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004a2081
add esp, 0x10
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x4db9d0
cmp dword [ebp - 0x20], 0
je 0x4db9ef
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049c2e2
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dbf50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524671
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
cmp dword [ebp + 8], 0
jne 0x4dbf7b
xor eax, eax
jmp 0x4dc140
lea ecx, [ebp - 0x18]
call fcn.004070d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x535590
lea edx, [ebp - 0x18]
push edx
call fcn.00407e40
add esp, 0x10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0050bbe0
add esp, 4
test eax, eax
jne 0x4dc112
mov dword [ebp - 0x84], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.0049e730
add esp, 0xc
mov dword [ebp - 0x30], 0
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
cmp dword [ebp + 0x10], 0
je 0x4dbfff
mov word [ebp - 0x54], 5
jmp 0x4dc005
mov word [ebp - 0x54], 0
mov dword [ebp - 0x7c], 0x5355a0
mov dword [ebp - 0x38], 0x30
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
push 0x5355c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4dc06a
push 0x5355d8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0x5355f0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x20], 0
je 0x4dc09c
push 0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x4dc092
mov ecx, dword [ebp - 0x38]
or ecx, 0x400
mov dword [ebp - 0x38], ecx
jmp 0x4dc09c
mov dword [ebp - 0x88], 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00477060
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], 0
je 0x4dc0e2
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0
je 0x4dc0f2
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
je 0x4dc102
mov eax, dword [ebp - 0x88]
push eax
call dword [ebp - 0x34]
cmp dword [ebp - 0x1c], 0
je 0x4dc112
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], 0
je 0x4dc122
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070b0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4dc1e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524695
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.0049e730
add esp, 0xc
mov dword [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x70]
call fcn.004070d0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x535098
lea ecx, [ebp - 0x70]
push ecx
call fcn.00407e40
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x4dc26f
mov word [ebp - 0x3c], 0xa
jmp 0x4dc275
mov word [ebp - 0x3c], 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00477060
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4dc2a5
jmp 0x4dc2ba
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0x18], 0
je 0x4dc2ba
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x24]
mov dword [ecx], edx
cmp dword [ebp - 0x24], 0
je 0x4dc2d7
cmp dword [ebp + 0x18], 0
jne 0x4dc2d7
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x20], 0
je 0x4dc2ee
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004070b0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4dc4e0
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524ddd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push str._access
lea ecx, [ebp + 8]
call fcn.004087b0
push 0
lea ecx, [ebp + 8]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x4dc551
lea ecx, [ebp + 8]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x10], 1
jmp 0x4dc563
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4dc563
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004070b0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4dc5e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524def
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406b50
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4dc642
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x18]
jmp 0x4dc730
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dc717
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4dc717
lea eax, [ebp - 0x14]
push eax
call fcn.004dc150
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
je 0x4dc6a5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x1c]
jmp 0x4dc730
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call fcn.004dc5e0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dc6da
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x20]
jmp 0x4dc730
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dc717
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4dc717
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x24]
jmp 0x4dc730
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4dc7c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 8]
push eax
push 0x52b90c
push 1
push 0
push 0x52b92c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4dc80e
jmp 0x4dc8b7
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0xc], 0
je 0x4dc842
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x4dc842
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x2c]
call eax
push 5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
lea edx, [ebp - 0xc]
push edx
push 0x52b9cc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4dc89d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004dc740
add esp, 4
push 1
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
xor eax, eax
cmp dword [ebp - 0x10], 0
setge al
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4dd8c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4dd902
mov eax, 1
jmp 0x4dd9b8
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4dd913
mov dword [ebp - 0xc], 1
jmp 0x4dd98d
lea ecx, [ebp - 8]
push ecx
push 0x545c14
push 1
push 0
push 0x545c04
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4dd93d
mov dword [ebp - 0xc], 2
jmp 0x4dd98d
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4dd961
mov dword [ebp - 0xc], 3
jmp 0x4dd98d
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4dd985
mov dword [ebp - 0xc], 4
jmp 0x4dd98d
xor eax, eax
jne 0x4dd902
cmp dword [ebp - 4], 0
je 0x4dd9a1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 8], 0
je 0x4dd9b5
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4ddd60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00475070
cmp dword [ebp + 0xc], 0
je 0x4dddae
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x4dddae
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0xffffffff
mov esp, ebp
pop ebp
ret 8
Function at 0x4dde30
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 4]
call fcn.00475070
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x4dde6e
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
cmp dword [ebp + 0x10], 0
je 0x4dde88
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
jmp 0x4dde91
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4ddd20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.00475030
add esp, 8
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx], 0
setne al
mov esp, ebp
pop ebp
ret 0x10