joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d9fe
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x10004]
mov eax, 0x10004
call fcn.004737a0
push 0xffffffffffffffff
push 0x49b1e4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x10000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x1000c]
mov ebx, dword [ebp + 0x10010]
and dword [ebp - 4], 0
push 0
push 0x10000
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.0045482e
mov dword [ebp - 0x14], 0x65ef0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call fcn.00454a37
cmp dword [esi + 0x18], 8
jb 0x44da7f
mov edi, dword [esi + 4]
jmp 0x44da82
lea edi, [esi + 4]
test edi, edi
je 0x44da95
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x44da99
xor eax, eax
jmp 0x44dab2
lea esi, [eax + eax]
mov eax, esi
call fcn.00472f70
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0044ced6
push eax
lea ecx, [ebp - 0x40]
call fcn.004024f8
push eax
lea ecx, [ebp - 0x24]
call fcn.00455eef
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004028c7
cmp dword [ebx + 0x18], 8
jb 0x44dadb
mov edi, dword [ebx + 4]
jmp 0x44dade
lea edi, [ebx + 4]
test edi, edi
je 0x44daf1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x44daf5
xor eax, eax
jmp 0x44db0e
lea esi, [eax + eax]
mov eax, esi
call fcn.00472f70
mov dword [ebp - 0x10], esp
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0044ced6
push 0x4a6a38
push eax
call fcn.00474b37
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x44db4d
push esi
lea ecx, [ebp - 0x24]
call fcn.00454879
push eax
push 1
lea eax, [ebp]
push eax
call fcn.004749f1
push esi
call fcn.00474813
add esp, 0x14
mov al, 1
jmp 0x44db4f
xor al, al
lea esp, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10000]
xor ecx, ebp
call fcn.0047099a
add ebp, 0x10004
leave
ret
Function at 0x44e0dc
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1d4]
sub esp, 0x254
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1d0], eax
push ebx
push esi
mov esi, dword [ebp + 0x1dc]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x36]
push ebx
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
call fcn.00470920
add esp, 0xc
push 0x20019
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x64], 0x208
mov byte [ebp - 0x55], bl
call fcn.0044a713
test eax, eax
jne 0x44e1f7
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x38]
push eax
push str.CommonFilesDir
lea ecx, [ebp - 0x60]
call fcn.0044cf7e
test eax, eax
jne 0x44e1f7
lea eax, [ebp - 0x38]
push eax
call fcn.004708ae
pop ecx
test eax, eax
jbe 0x44e1f7
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.004018f6
push 0x20
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0044de91
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x54]
call fcn.004019a1
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x44e1b8
lea eax, [ebp - 0x50]
push eax
call fcn.0046953b
pop ecx
test al, al
je 0x44e1df
cmp dword [ebp - 0x3c], 8
mov eax, dword [ebp - 0x50]
jae 0x44e1cf
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004708f6
pop ecx
pop ecx
mov byte [ebp - 0x55], 1
lea ecx, [ebp - 0x60]
call fcn.0044a6f8
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00401a58
cmp byte [ebp - 0x55], bl
jne 0x44e239
push 0x104
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4a6b24
test eax, eax
je 0x44e21e
call fcn.004708ae
pop ecx
xor ecx, ecx
mov word [ebp + eax*2 - 0x38], cx
jmp 0x44e229
lea eax, [ebp - 0x38]
push eax
call fcn.004708f6
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push str.Program_FilesCommon_Files
push eax
call fcn.004708c8
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
call fcn.004708ae
pop ecx
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x3a]
je 0x44e268
lea eax, [ebp - 0x38]
push eax
call fcn.004708ae
pop ecx
push 0x2f
pop ecx
cmp cx, word [ebp + eax*2 - 0x3a]
je 0x44e268
push str.Thunder_NetworkTP_
jmp 0x44e26d
push 0x4a6a98
lea eax, [ebp - 0x38]
push eax
call fcn.004708c8
cmp dword [0x4c14a0], 8
mov eax, dword [0x4c148c]
pop ecx
pop ecx
jae 0x44e28b
mov eax, 0x4c148c
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004708c8
lea eax, [ebp - 0x38]
push 0x4aca20
push eax
call fcn.004708c8
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.004018f6
lea ecx, [ebp - 0x60]
call fcn.0044a6f8
mov ecx, dword [ebp + 0x1d0]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
add ebp, 0x1d4
leave
ret
Function at 0x44fc60
Capabilities:
Compare security identifiers

Disassembly:
mov ecx, dword [esp + 4]
push ebx
lea ebx, [ecx + 4]
push esi
push edi
test ebx, ebx
je 0x44fc9d
mov edi, dword [esp + 0x14]
lea esi, [edi + 4]
test esi, esi
je 0x44fc9d
call fcn.0044fbf8
test al, al
je 0x44fc9d
mov ecx, edi
call fcn.0044fbf8
test al, al
je 0x44fc9d
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x44fc9f
xor al, al
pop edi
pop esi
pop ebx
ret

Function at 0x450e58
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1fc], eax
push esi
push edi
mov edi, dword [ebp + 0x208]
xor eax, eax
push 0x206
mov word [ebp - 0xc], ax
xor esi, esi
lea eax, [ebp - 0xa]
push esi
push eax
call fcn.00470920
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._net_monitor_i.exe
lea eax, [ebp - 0xc]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450f47
push edi
push 0x4a6e6c
lea ecx, [ebp - 0x80]
call fcn.004018f6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428d9f
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
push 0x38
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00470920
lea eax, [ebp - 0xc]
add esp, 0xc
cmp dword [ebp - 0x10], 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], str.open
jae 0x450f26
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401a58
mov ecx, dword [ebp + 0x1fc]
pop edi
xor ecx, ebp
pop esi
call fcn.0047099a
add ebp, 0x200
leave
ret
Function at 0x450f5e
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1fc], eax
push esi
push edi
mov edi, dword [ebp + 0x208]
xor eax, eax
push 0x206
mov word [ebp - 0xc], ax
xor esi, esi
lea eax, [ebp - 0xa]
push esi
push eax
call fcn.00470920
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..._net_monitor_i.exe
lea eax, [ebp - 0xc]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45104d
push edi
push str._i_net_monitor.dll
lea ecx, [ebp - 0x80]
call fcn.004018f6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00428d9f
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
push 0x38
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.00470920
lea eax, [ebp - 0xc]
add esp, 0xc
cmp dword [ebp - 0x10], 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x40
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], str.open
jae 0x45102c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401a58
mov ecx, dword [ebp + 0x1fc]
pop edi
xor ecx, ebp
pop esi
call fcn.0047099a
add ebp, 0x200
leave
ret

Function at 0x451429
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x4a6ed4
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00410e7f
push esi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00410e7f
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
pop edi
pop esi
jae 0x45146d
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
jae 0x451479
lea eax, [ebp - 0x38]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047099a
leave
ret 8
Function at 0x45160e
Capabilities:
Copy file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe4
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0044f911
mov ecx, eax
call fcn.0045620f
mov ebx, str.cid_store.dat
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.00410e7f
mov eax, dword [ebp + 0x5c]
add esp, 0xc
cmp dword [ebp + 0x70], 8
jae 0x451658
lea eax, [ebp + 0x5c]
push eax
call fcn.00469a15
xor edi, edi
pop ecx
push edi
test al, al
je 0x45166e
xor esi, esi
inc esi
jmp 0x4517b4
lea ecx, [ebp + 0x3c]
mov dword [ebp + 0x54], 7
call fcn.00401cdf
lea eax, [ebp + 0x3c]
push eax
call fcn.00456c65
xor esi, esi
inc esi
pop ecx
test al, al
je 0x45173c
lea eax, [ebp + 0x3c]
push eax
call fcn.004568ef
lea ecx, [ebp - 0x6c]
mov dword [esp], 0x4a6f2c
call fcn.004018f6
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00428d9f
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp + 0x3c]
call fcn.004019a1
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp - 0x6c]
call fcn.00401a58
push ebx
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00410e7f
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
cmp dword [ebp + 0x70], 8
jae 0x4516f8
lea ecx, [ebp + 0x5c]
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x451704
lea eax, [ebp + 0x24]
push ecx
push eax
call fcn.00469b7f
pop ecx
pop ecx
test eax, eax
je 0x451732
cmp dword [ebp + 0x70], 8
mov ecx, dword [ebp + 0x5c]
jae 0x45171d
lea ecx, [ebp + 0x5c]
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x451729
lea eax, [ebp + 0x24]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push esi
lea ecx, [ebp + 0x20]
call fcn.00401a58
push edi
lea ecx, [ebp + 4]
mov dword [ebp + 0x1c], 7
call fcn.00401cdf
lea eax, [ebp + 4]
push eax
call fcn.00456b72
pop ecx
test al, al
je 0x45179f
lea eax, [ebp + 4]
push eax
call fcn.004568ef
push ebx
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00410e7f
mov ecx, dword [ebp + 0x5c]
add esp, 0x10
cmp dword [ebp + 0x70], 8
jae 0x451780
lea ecx, [ebp + 0x5c]
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x45178c
lea eax, [ebp - 0x30]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp + 4]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp + 0x3c]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp + 0x58]
call fcn.00401a58
push edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00401a58
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
add ebp, 0x78
leave
ret
Function at 0x451f7f
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
mov dword [ebp - 0x48], eax
call fcn.004568ef
push esi
call fcn.004568ef
xor ebx, ebx
pop ecx
pop ecx
cmp dword [esi + 0x14], ebx
je 0x451fc5
cmp dword [esi + 0x18], 8
jb 0x451fbb
mov eax, dword [esi + 4]
jmp 0x451fbe
lea eax, [esi + 4]
push eax
call fcn.0046957e
pop ecx
lea ecx, [ebp - 0x60]
call fcn.0040f76c
push str.bootstrap.dat
lea ecx, [ebp - 0x20]
call fcn.004018f6
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f646
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a58
push str.dhtnodes.dat
lea ecx, [ebp - 0x20]
call fcn.004018f6
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f646
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a58
push str.nodes.dat
lea ecx, [ebp - 0x20]
call fcn.004018f6
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f646
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a58
push str.server.met
lea ecx, [ebp - 0x20]
call fcn.004018f6
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.0040f646
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a58
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x44]
call fcn.004096ea
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.004096ea
jmp 0x4520e7
lea ecx, [ebp - 0x44]
call fcn.0040fe3a
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x20]
push eax
call fcn.00428d9f
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.0040fe3a
push eax
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00428d9f
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x4520b6
lea ecx, [ebp - 0x38]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4520c2
lea eax, [ebp - 0x1c]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00401a58
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a58
lea ecx, [ebp - 0x44]
call fcn.00403a7f
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403aae
test al, al
je 0x45207c
lea ecx, [ebp - 0x60]
call fcn.0040fab9
push dword [ebp - 0x60]
call fcn.00470471
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret 8
Function at 0x45629b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x3c]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [ebp - 0x24], 7
call fcn.00401cdf
lea eax, [ebp - 0x3c]
push eax
call fcn.004366db
mov ecx, eax
call fcn.00434680
push str.dl_uac_tool.dll
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00410e7f
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x4562fe
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x456354
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSingleProcessUseDir
push ebx
call edi
push str.GetProfileDir
push ebx
mov dword [esi], eax
call edi
push str.GetComponentsDir
push ebx
mov dword [esi + 4], eax
call edi
push str.GetSingleProcessUseDir
push ebx
mov dword [esi + 8], eax
call edi
push str.SetMultiProcessUseDir
push ebx
mov dword [esi + 0xc], eax
call edi
push str.GetMultiProcessUseDir
push ebx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret

Function at 0x45659e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c1774]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 8
xor ecx, ecx
pop ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
cmp dword [0x4c1788], ebx
jae 0x4565d4
mov eax, 0x4c1774
push ecx
push ecx
push 0x2001f
push ecx
push ecx
push eax
push closesocket
lea ecx, [ebp - 0x28]
call fcn.004564aa
test eax, eax
jne 0x45669c
push str.AppName
lea ecx, [ebp - 0x20]
call fcn.004018f6
cmp dword [edi + 0x18], ebx
jb 0x45660a
mov edi, dword [edi + 4]
jmp 0x45660d
add edi, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x456618
lea eax, [ebp - 0x1c]
push 1
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00456504
push str.AppPath
lea ecx, [ebp - 0x20]
call fcn.00401a34
cmp dword [esi + 0x18], ebx
jb 0x45663b
mov esi, dword [esi + 4]
jmp 0x45663e
add esi, 4
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x456649
lea eax, [ebp - 0x1c]
push 1
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00456504
push 0x4a743c
lea ecx, [ebp - 0x20]
call fcn.00401a34
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], ebx
jae 0x45666d
lea eax, [ebp - 0x1c]
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 4
push 0
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 3
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x28]
call fcn.0044a6f8
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
lea ecx, [ebp - 0x28]
call fcn.0044a6f8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.0047099a
leave
ret
Function at 0x4566b5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x44
xor ebx, ebx
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.00470920
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
mov dword [ebp - 0x94], 0x44
mov dword [ebp - 0x68], 0x80
call fcn.00470920
add esp, 0x18
mov eax, 0x4a0df8
push eax
push edi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00409a99
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00410e7f
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00401a58
cmp esi, ebx
je 0x456748
push 0x4ac724
lea ecx, [ebp - 0x20]
call fcn.0040197d
push esi
lea ecx, [ebp - 0x20]
call fcn.0040197d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x20]
call fcn.00403205
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45678e
mov byte [ebp - 0x21], bl
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret
cmp byte [ebp + 0x10], bl
je 0x45679e
push 0xffffffffffffffff
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov byte [ebp - 0x21], 1
jmp 0x456771
Function at 0x456b72
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
mov edi, dword [ebp + 0x1b4]
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
xor esi, esi
lea eax, [ebp - 0x5e]
push esi
push eax
call fcn.00470920
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x456bc5
xor al, al
jmp 0x456c4e
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x456c1b
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4a73b0
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x456bbe
push dword [ebp - 0x64]
call fcn.004708ae
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x456c05
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x456bbe
lea eax, [ebp - 0x60]
push eax
call fcn.004708f6
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x456c2a
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x25
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.004018f6
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.004019a1
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0047099a
add ebp, 0x1ac
leave
ret

Function at 0x456c65
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push esi
push edi
mov edi, dword [ebp + 0x1b4]
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
xor esi, esi
lea eax, [ebp - 0x5e]
push esi
push eax
call fcn.00470920
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
jne 0x456cb8
xor al, al
jmp 0x456d41
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x456d0e
lea ecx, [ebp - 0x64]
push ecx
push esi
push esi
push 0x4a73c0
mov dword [ebp - 0x64], esi
call eax
cmp dword [ebp - 0x64], esi
je 0x456cb1
push dword [ebp - 0x64]
call fcn.004708ae
pop ecx
push dword [ebp - 0x64]
cmp eax, 0x104
jbe 0x456cf8
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x456cb1
lea eax, [ebp - 0x60]
push eax
call fcn.004708f6
pop ecx
pop ecx
push dword [ebp - 0x64]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x456d1d
lea eax, [ebp - 0x60]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x80]
call fcn.004018f6
push 0xffffffffffffffff
push esi
push eax
mov ecx, edi
call fcn.004019a1
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00401a58
mov al, 1
mov ecx, dword [ebp + 0x1a8]
pop edi
xor ecx, ebp
pop esi
call fcn.0047099a
add ebp, 0x1ac
leave
ret
Function at 0x459480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49b3bb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bca50]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
xor edx, edx
test ecx, ecx
setl dl
mov esi, dword [eax + 0xc]
dec edx
and edx, ecx
mov ecx, dword [eax]
mov edi, edx
xor edx, edx
test ecx, ecx
setl dl
dec edx
and edx, ecx
mov ebp, edx
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + 0xc]
cmp esi, ecx
jle 0x4594d6
mov esi, ecx
mov edx, dword [edx + 8]
mov eax, dword [eax + 8]
cmp eax, edx
jle 0x4594e2
mov eax, edx
sub eax, ebp
mov ebx, eax
sub esi, edi
test ebx, ebx
jle 0x45958e
test esi, esi
jle 0x45958e
push 0x1c
call fcn.004709c4
add esp, 4
mov dword [esp + 0x30], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x459521
push esi
push ebx
push 4
mov ecx, eax
call fcn.00457d80
mov dword [esp + 0x30], eax
jmp 0x459525
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
push edi
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.00457ef0
mov edi, eax
mov eax, dword [esp + 0x30]
mov ebp, dword [eax + 0x14]
test esi, esi
jle 0x459590
mov dword [esp + 0x14], esi
mov edx, ebp
test ebx, ebx
jle 0x459569
mov eax, dword [esp + 0x2c]
lea ecx, [edi + eax]
mov esi, ebx
mov al, byte [ecx]
mov byte [edx], al
inc edx
add ecx, 4
sub esi, 1
jne 0x459558
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add edi, dword [ecx + 0x10]
add ebp, dword [eax + 0x10]
sub dword [esp + 0x14], 1
jne 0x459549
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret