joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d7f10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527080
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], 0x546674
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x4c], 0x1388
mov dword [ebp - 0x2c], 0
push 0x1388
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x958]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x2c], 0
jne 0x4d7f93
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x958]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x958], 0
jmp 0x4d7fa5
push 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x958]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x50]
add ecx, 0x564
call fcn.004d1320
mov ecx, 0x5645b0
call fcn.004e3180
mov ecx, dword [ebp - 0x50]
add ecx, 0x584
call fcn.0040ed60
push eax
lea ecx, [ebp - 0x48]
call fcn.0040ab60
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00520230
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.0051abf0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00520210
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.00407750
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x50]
add ecx, 0xadc
call fcn.004dada0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x50]
add ecx, 0x96c
call fcn.0051b190
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x50]
add ecx, 0x968
call fcn.004070b0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x50]
add ecx, 0x95c
call fcn.004070b0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x50]
add ecx, 0x954
call fcn.004070b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x50]
add ecx, 0x588
call fcn.0044c830
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x50]
add ecx, 0x584
call fcn.004070b0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x50]
add ecx, 0x564
call fcn.004d1370
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
add ecx, 0x554
call fcn.004070b0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
add ecx, 0x550
call fcn.004070b0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
add ecx, 0x528
call fcn.00488bc0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x50], 0
je 0x4d80e4
mov edx, dword [ebp - 0x50]
add edx, 0x504
mov dword [ebp - 0x54], edx
jmp 0x4d80eb
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
call fcn.0044baa0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
call fcn.0044b3b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d81e0
Capabilities:
Get common file path
Get disk information
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527204
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x24]
push eax
call fcn.004cfdd0
mov ecx, eax
call fcn.004cf020
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.00404380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004070b0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.0040b3b0
movzx eax, al
test eax, eax
je 0x4d82a0
push 0
push 0x26
push 0x104
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.00406830
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.0040d520
cmp dword [ebp - 0x14], 0
jne 0x4d82a0
push 0x5341dc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.00407020
push 0x534200
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.00407250
mov ecx, dword [ebp - 0x2c]
add ecx, 0x968
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.00408180
call fcn.004d2b40
mov ecx, eax
call fcn.004d1c10
movzx edx, al
test edx, edx
je 0x4d8328
mov eax, dword [ebp - 0x2c]
add eax, 0x550
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004d2b40
mov ecx, eax
call fcn.004d1a60
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
call fcn.00404380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004070b0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
push ecx
call fcn.004d5970
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
je 0x4d834b
jmp 0x4d8411
mov dword [ebp - 0x18], 0
jmp 0x4d835d
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x1a
je 0x4d8411
mov eax, dword [ebp - 0x18]
add eax, 0x41
mov word [ebp - 0x20], ax
lea ecx, [ebp - 0x1c]
call fcn.004070d0
mov dword [ebp - 4], 2
movzx ecx, word [ebp - 0x20]
push ecx
push 0x534204
lea edx, [ebp - 0x1c]
push edx
call fcn.0040d910
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4d83fd
lea ecx, [ebp - 0x1c]
call fcn.004043a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x968]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push str._sprogram_files_s
mov eax, dword [ebp - 0x2c]
add eax, 0x550
push eax
call fcn.00407e40
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
add ecx, 0x550
push ecx
call fcn.004d5970
add esp, 4
test eax, eax
jne 0x4d83fd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
jmp 0x4d8411
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004070b0
jmp 0x4d8354
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d9db0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5274de
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.004cfdd0
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 0x4d9e40
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070f0
mov eax, dword [ebp - 0x24]
jmp 0x4d9fd4
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x14]
push edx
push 0x5337ac
lea ecx, [ebp - 0x18]
call fcn.00407140
test eax, eax
je 0x4d9e74
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d9e9e
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 0x4d9fd4
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.004d4c40
test eax, eax
je 0x4d9ef3
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 0x4d9fd4
push 0
push 2
call fcn.004db210
mov ecx, eax
call fcn.004dadf0
push 3
mov ecx, dword [ebp - 0x38]
call fcn.004d8de0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x4d9f52
push 1
push 2
call fcn.004db210
mov ecx, eax
call fcn.004dadf0
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 0x4d9fd4
cmp dword [ebp - 0x10], 2
jne 0x4d9f6a
push 2
push 2
call fcn.004db210
mov ecx, eax
call fcn.004dadf0
jmp 0x4d9f80
cmp dword [ebp - 0x10], 0
jne 0x4d9f80
push 3
push 2
call fcn.004db210
mov ecx, eax
call fcn.004dadf0
push 0
push 0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xab0]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004d4c40
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x964]
push edx
push 3
call fcn.004db210
mov ecx, eax
call fcn.004db280
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 0x4da4f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x55f7cc], 0
jne 0x4da50f
mov ecx, dword [ebp - 8]
call fcn.004d9140
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.004d5f70
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4da440
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.004db210
mov ecx, eax
call fcn.004dadf0
mov esp, ebp
pop ebp
ret

Function at 0x4dab50
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 0x534bbc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret
Function at 0x4daec0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524df9
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.004dc360
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
je 0x4daf16
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db0b3
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004073c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4daf3d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
jmp 0x4db0b3
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 0x4daf8b
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 0x4db0b3
push 0
push 0x534db0
lea ecx, [ebp - 0x1c]
call fcn.0040b140
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4dafc3
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 0x4db0b3
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 0x534dbc
lea ecx, [ebp - 0x14]
call fcn.0040b140
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4db04c
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 0x4db0b3
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 0x4db7d0
Capabilities:
Persist via run registry key

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5254f6
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 0x4db8ad
push 0x534ff4
lea ecx, [ebp - 0x14]
call fcn.0045c610
test eax, eax
jne 0x4db8ad
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x18]
jmp 0x4db8c6
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 0x4db8e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fd68
push 0x5236e4
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 0x4db92d
cmp dword [ebp + 0xc], 0
je 0x4db92d
cmp dword [ebp + 0x10], 1
jae 0x4db932
jmp 0x4dba10
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 0x4db954
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp - 0x1c], ecx
jbe 0x4db959
jmp 0x4dba10
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 0x4db994
mov dword [ebp - 4], 0xffffffff
jmp 0x4dba10
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 0x4db9f0
mov eax, dword [ebp + 0x10]
sub eax, 1
cmp dword [ebp - 0x1c], eax
ja 0x4db9f0
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 0x4dba10
cmp dword [ebp - 0x20], 0
je 0x4dba2f
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 0x4dbf90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5246b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
cmp dword [ebp + 8], 0
jne 0x4dbfbb
xor eax, eax
jmp 0x4dc180
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 0x5355a8
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.0050bc20
add esp, 4
test eax, eax
jne 0x4dc152
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 0x4dc03f
mov word [ebp - 0x54], 5
jmp 0x4dc045
mov word [ebp - 0x54], 0
mov dword [ebp - 0x7c], 0x5355b8
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 0x5355d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4dc0aa
push 0x5355f0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0x535608
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 0x4dc0dc
push 0
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x88]
push eax
call dword [ebp - 0x20]
test eax, eax
je 0x4dc0d2
mov ecx, dword [ebp - 0x38]
or ecx, 0x400
mov dword [ebp - 0x38], ecx
jmp 0x4dc0dc
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 0x4dc122
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0
je 0x4dc132
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
je 0x4dc142
mov eax, dword [ebp - 0x88]
push eax
call dword [ebp - 0x34]
cmp dword [ebp - 0x1c], 0
je 0x4dc152
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], 0
je 0x4dc162
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 0x4dc220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5246d5
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 0x5350b0
lea ecx, [ebp - 0x70]
push ecx
call fcn.00407e40
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x4dc2af
mov word [ebp - 0x3c], 0xa
jmp 0x4dc2b5
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 0x4dc2e5
jmp 0x4dc2fa
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0x18], 0
je 0x4dc2fa
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x24]
mov dword [ecx], edx
cmp dword [ebp - 0x24], 0
je 0x4dc317
cmp dword [ebp + 0x18], 0
jne 0x4dc317
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 0x4dc32e
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 0x4dc520
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524e1d
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 0x4dc591
lea ecx, [ebp + 8]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x10], 1
jmp 0x4dc5a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4dc5a3
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 0x4dc620
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524e2f
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 0x4dc682
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x18]
jmp 0x4dc770
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 0x4dc757
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4dc757
lea eax, [ebp - 0x14]
push eax
call fcn.004dc190
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
je 0x4dc6e5
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x1c]
jmp 0x4dc770
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call fcn.004dc620
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dc71a
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x20]
jmp 0x4dc770
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 0x4dc757
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4dc757
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x24]
jmp 0x4dc770
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