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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523f87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00423af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d708c
lea ecx, [ebp + 8]
call fcn.00423af0
push eax
call fcn.0047cf60
add esp, 4
call fcn.0047dcf0
push 0x2710
call fcn.00486730
add esp, 4
push 0x2711
call fcn.00486b30
add esp, 4
push 0x2712
call fcn.00486d90
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040c650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d7590
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524ab5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov dword [eax], vtable.KDetectorMainDlg.0
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x504], 0x540fe4
mov dword [ebp - 4], 0xd
mov dword [ebp - 0x4c], 0x1388
mov dword [ebp - 0x2c], 0
push 0x1388
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x95c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x2c], 0
jne 0x4d7613
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x95c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x95c], 0
jmp 0x4d7625
push 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x95c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x50]
add ecx, 0x564
call fcn.004d38c0
mov ecx, dword [ebp - 0x50]
add ecx, 0x584
call fcn.00419a00
push eax
lea ecx, [ebp - 0x48]
call fcn.0040f400
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0051cea0
mov byte [ebp - 4], 0xf
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.00519590
add esp, 8
mov ecx, 0x560418
call fcn.004e2210
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0051ce80
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.0040b630
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x50]
add ecx, 0xa9c
call fcn.004d9cb0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
add ecx, 0x970
call fcn.0051e340
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x50]
add ecx, 0x96c
call fcn.0040c650
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x50]
add ecx, 0x960
call fcn.0040c650
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x50]
add ecx, 0x958
call fcn.0040c650
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x50]
add ecx, 0x58c
call fcn.00451560
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x50]
add ecx, 0x588
call fcn.0040c650
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
add ecx, 0x584
call fcn.0040c650
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x564
call fcn.004d3910
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x554
call fcn.0040c650
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
add ecx, 0x550
call fcn.0040c650
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x528
call fcn.00487bb0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x50], 0
je 0x4d777e
mov edx, dword [ebp - 0x50]
add edx, 0x504
mov dword [ebp - 0x54], edx
jmp 0x4d7785
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
call fcn.00487b90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
call fcn.00476c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d7920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524bb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x14]
call fcn.00460ed0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.004d2a40
mov ecx, eax
call fcn.004d1e70
mov dword [ebp - 0x24], eax
push 1
mov ecx, dword [ebp - 0x24]
call fcn.00423af0
push eax
push SysReAllocString
lea ecx, [ebp - 0x14]
call fcn.0040aeb0
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x1c]
call fcn.0040c650
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x4d79a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ae90
jmp 0x4d7a1c
lea ecx, [ebp - 0x10]
call fcn.0040c630
mov byte [ebp - 4], 1
lea edx, [ebp - 0x10]
push edx
push 0x53166c
lea ecx, [ebp - 0x14]
call fcn.0040b060
test eax, eax
je 0x4d79d7
lea ecx, [ebp - 0x10]
call fcn.00423af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d79f4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ae90
jmp 0x4d7a1c
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x968], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ae90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d7a30
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524f0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x14]
push eax
call fcn.004d2a40
mov ecx, eax
call fcn.004d1e30
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.00408510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.004084c0
movzx eax, al
test eax, eax
je 0x4d7af0
push 0
push 0x26
push 0x104
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.0040a680
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.0040c000
cmp dword [ebp - 0x10], 0
jne 0x4d7af0
push 0x532760
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.0040ae00
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
push ecx
call fcn.0051f010
add esp, 4
push 0x532784
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.0040b130
mov edx, dword [ebp - 0x1c]
add edx, 0x96c
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.0040bfd0
call fcn.004dcf90
mov ecx, eax
call fcn.004dd630
movzx eax, al
test eax, eax
je 0x4d7b8b
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004dcf90
mov ecx, eax
call fcn.004dc1c0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x550
call fcn.00408510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040c650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d91c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0xc
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00488390
push 0
push 0x50
push 0x3ed
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0045d500
mov dword [ebp - 4], 0x1e
push 0
push 0x1e
push 1
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0045d500
push 0
push 0x64
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00488390
push 1
push 0xc8
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.00488390
push 0
push 0x32
push 0x3eb
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.0045d500
push 0
mov ecx, dword [ebp - 8]
call fcn.004d6950
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4d9190
push 0
push 0
call fcn.004b705f
add esp, 0x18
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x95c], eax
mov esp, ebp
pop ebp
ret

Function at 0x4d9ad0
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.https:__winzip.imeitools.com_privacy.html
push 0x532b7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x4d9d90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a538
push 0x521554
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 0x4d9ddd
cmp dword [ebp + 0xc], 0
je 0x4d9ddd
cmp dword [ebp + 0x10], 1
jae 0x4d9de2
jmp 0x4d9ec0
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 0x4d9e04
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp - 0x1c], ecx
jbe 0x4d9e09
jmp 0x4d9ec0
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.004b02da
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4d9e44
mov dword [ebp - 4], 0xffffffff
jmp 0x4d9ec0
mov ecx, dword [ebp - 0x1c]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.004b3d60
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 0x4d9ea0
mov eax, dword [ebp + 0x10]
sub eax, 1
cmp dword [ebp - 0x1c], eax
ja 0x4d9ea0
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.004b743d
add esp, 0x10
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x4d9ec0
cmp dword [ebp - 0x20], 0
je 0x4d9edf
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1dc8
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 0x4da0b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], 0
mov eax, dword [0x5605d8]
and eax, 1
jne 0x4da0f3
mov ecx, dword [0x5605d8]
or ecx, 1
mov dword [0x5605d8], ecx
mov ecx, 0x5605d4
call fcn.0040c630
push 0x528a80
call fcn.004b5305
add esp, 4
mov ecx, 0x5605d4
call fcn.004084c0
movzx edx, al
test edx, edx
je 0x4da147
mov word [ebp - 0x210], 0
push 0x20a
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004b3d60
add esp, 0xc
push 1
push 0x24
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
mov ecx, 0x5605d4
call fcn.0040ae00
push 0x5605d4
mov ecx, dword [ebp + 8]
call fcn.0040a580
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4da170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], 0
mov eax, dword [0x5605e0]
and eax, 1
jne 0x4da1b3
mov ecx, dword [0x5605e0]
or ecx, 1
mov dword [0x5605e0], ecx
mov ecx, 0x5605dc
call fcn.0040c630
push 0x528a70
call fcn.004b5305
add esp, 4
mov ecx, 0x5605dc
call fcn.004084c0
movzx edx, al
test edx, edx
je 0x4da207
mov word [ebp - 0x210], 0
push 0x20a
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004b3d60
add esp, 0xc
push 1
push 0x25
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x210]
push edx
mov ecx, 0x5605dc
call fcn.0040ae00
push 0x5605dc
mov ecx, dword [ebp + 8]
call fcn.0040a580
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4da550
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5225d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
cmp dword [ebp + 8], 0
jne 0x4da57b
xor eax, eax
jmp 0x4da747
lea ecx, [ebp - 0x18]
call fcn.0040c630
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x533260
lea edx, [ebp - 0x18]
push edx
call fcn.0040bc40
add esp, 0x10
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0050a0d0
add esp, 4
test eax, eax
jne 0x4da719
mov dword [ebp - 0x84], 0x44
push 0x40
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.004b3d60
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
mov dword [ebp - 0x58], 1
cmp dword [ebp + 0x10], 0
je 0x4da606
mov word [ebp - 0x54], 5
jmp 0x4da60c
mov word [ebp - 0x54], 0
mov dword [ebp - 0x7c], 0x533270
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 0x533290
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4da671
push 0x5332a8
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0x5332c0
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 0x4da6a3
push 0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x4da699
mov ecx, dword [ebp - 0x38]
or ecx, 0x400
mov dword [ebp - 0x38], ecx
jmp 0x4da6a3
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.00423af0
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 0x4da6e9
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0
je 0x4da6f9
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
je 0x4da709
mov eax, dword [ebp - 0x88]
push eax
call dword [ebp - 0x34]
cmp dword [ebp - 0x1c], 0
je 0x4da719
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], 0
je 0x4da729
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.0040c650
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4da7b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5225e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.004b3d60
add esp, 0xc
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x70]
call fcn.0040c630
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x5331fc
lea ecx, [ebp - 0x70]
push ecx
call fcn.0040bc40
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x4da83f
mov word [ebp - 0x3c], 0xa
jmp 0x4da845
mov word [ebp - 0x3c], 0
lea edx, [ebp - 0x20]
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.00423af0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4da875
jmp 0x4da8b1
cmp dword [ebp + 0x10], 0
je 0x4da8aa
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x74], 0
jne 0x4da8aa
cmp dword [ebp + 0x18], 0
je 0x4da8aa
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x20], 0
je 0x4da8c8
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x4da8df
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0040c650
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4dab50
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522dd6
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 0x533658
lea ecx, [ebp + 8]
call fcn.0040c6b0
push 0
lea ecx, [ebp + 8]
call fcn.00423af0
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 0x4dabc1
lea ecx, [ebp + 8]
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x10], 1
jmp 0x4dabd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4dabd3
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.0040c650
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4db1d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522e77
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.0040a960
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4db232
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x18]
jmp 0x4db320
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 0x4db307
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4db307
lea eax, [ebp - 0x14]
push eax
call fcn.004da9e0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.004084c0
movzx ecx, al
test ecx, ecx
je 0x4db295
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x1c]
jmp 0x4db320
lea ecx, [ebp - 0x14]
call fcn.00423af0
push eax
call fcn.004db1d0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4db2ca
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x20]
jmp 0x4db320
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 0x4db307
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4db307
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x24]
jmp 0x4db320
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4db8b0
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 0x52d590
push 1
push 0
push 0x52d5d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4db8fe
jmp 0x4db9a7
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 0x4db932
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x4db932
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 0x52d5e0
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 0x4db98d
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004db390
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 0x4dc110
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00423af0
push eax
call fcn.0050ca70
add esp, 4
test eax, eax
je 0x4dc13b
mov ecx, dword [ebp - 4]
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x4ddcd0
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 0x4ddd12
mov eax, 1
jmp 0x4dddc8
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4ddd23
mov dword [ebp - 0xc], 1
jmp 0x4ddd9d
lea ecx, [ebp - 8]
push ecx
push 0x53d350
push 1
push 0
push 0x53d340
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4ddd4d
mov dword [ebp - 0xc], 2
jmp 0x4ddd9d
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 0x4ddd71
mov dword [ebp - 0xc], 3
jmp 0x4ddd9d
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 0x4ddd95
mov dword [ebp - 0xc], 4
jmp 0x4ddd9d
xor eax, eax
jne 0x4ddd12
cmp dword [ebp - 4], 0
je 0x4dddb1
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 0x4dddc5
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