joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4672ec
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x467338
cmp dword [ebp - 0x84], 2
jne 0x467338
cmp dword [ebp - 0x90], 5
jg 0x467336
cmp dword [ebp - 0x90], 5
jne 0x467338
cmp dword [ebp - 0x8c], 1
jl 0x467338
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x467c4c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x467c92
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0042f4ac
mov eax, dword [ebp - 4]
call fcn.00403b94
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467c99
lea eax, [ebp - 4]
call fcn.00403754
ret

Function at 0x467ca0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403b94
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x467cb9
test al, 0x10
je 0x467cbd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x467cd8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403b94
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x467cf6
test al, 0x10
je 0x467cf6
test ah, 4
je 0x467cfa
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x467e2c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x467eb9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x467e76
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.00403838
jmp 0x467ea3
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x467e8a
lea eax, [ebp - 4]
call fcn.00403754
jmp 0x467e99
lea edx, [ebp - 4]
call fcn.00467d48
test ebx, ebx
je 0x467e99
dec ebx
jmp 0x467e7b
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.004037ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467ec0
lea eax, [ebp - 4]
call fcn.00403754
ret

Function at 0x467f40
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.004075b8
add esp, 0x104
pop ebx
ret

Function at 0x467f6c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
mov eax, esp
call fcn.004075b8
add esp, 0x104
pop ebx
ret
Function at 0x468058
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x468190
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46817a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x4680b5
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x46817a
cmp dword [ebp - 0x10], 0
jne 0x4680ca
mov eax, dword [ebp - 8]
call fcn.00403754
mov bl, 1
jmp 0x46817a
cmp dword [ebp - 0x10], 0x70000000
jb 0x4680d8
call fcn.00409580
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00403838
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.00403ba0
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA_1
cmp eax, 0xea
je 0x46807e
test eax, eax
jne 0x46817a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x468128
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x46817a
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x468133
dec esi
test esi, esi
je 0x468141
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi - 1], 0
je 0x468132
cmp dword [ebp - 0xc], 7
jne 0x46814c
test esi, esi
je 0x46814c
inc esi
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00403d00
cmp dword [ebp - 0xc], 7
jne 0x46816d
test esi, esi
je 0x46816d
lea eax, [ebp - 0x14]
call fcn.00403ba0
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004037a8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468197
lea eax, [ebp - 0x14]
call fcn.00403754
ret

Function at 0x468210
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp al, 2
je 0x468224
push esi
push ebx
call sub.advapi32.dll_RegDeleteKeyA
pop esi
pop ebx
ret
cmp dword [0x483504], 0
jne 0x468247
push 0x46826c
push 0x46827c
call sub.kernel32.dll_GetModuleHandleA_1
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x483504], eax
cmp dword [0x483504], 0
je 0x468261
push 0
push pe_nt_image_headers32
push esi
push ebx
call dword [0x483504]
jmp 0x468266
mov eax, 0x7f
pop esi
pop ebx
ret
Function at 0x46828c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4683b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x481384]
cmp dword [eax], 2
jne 0x468390
push 0
push 8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.004681e8
test eax, eax
jne 0x468390
xor edx, edx
push ebp
push 0x468389
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x14]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00403838
xor ebx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004039d0
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
call fcn.00403ba0
push eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyExA
cmp eax, 0xea
jne 0x468352
mov eax, dword [ebp - 0x14]
call fcn.004039d0
cmp eax, 0x10000
jge 0x468372
mov eax, dword [ebp - 0x14]
call fcn.004039d0
mov ecx, eax
add ecx, ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403838
jmp 0x4682fa
test eax, eax
jne 0x468372
mov eax, dword [ebp - 0x14]
call fcn.00403b94
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
call fcn.0046828c
test eax, eax
je 0x4682fa
inc ebx
jmp 0x4682fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468390
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov al, byte [ebp - 1]
call fcn.00468210
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4683bd
lea eax, [ebp - 0x14]
call fcn.00403754
ret

Function at 0x4683c4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov edi, edx
mov ebx, eax
push 0
push 1
lea eax, [esp + 8]
push eax
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.004681e8
mov esi, eax
test esi, esi
jne 0x468442
push 0
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
mov eax, dword [esp + 0x2c]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
mov esi, eax
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
test esi, esi
jne 0x468442
cmp dword [esp + 4], 0
jne 0x46843d
cmp dword [esp + 8], 0
jne 0x46843d
mov ecx, ebp
mov edx, edi
mov eax, ebx
call fcn.00468210
mov esi, eax
jmp 0x468442
mov esi, 0x91
mov eax, esi
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46844c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4684f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403754
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.0040af4c
test al, al
je 0x46848f
lea eax, [ebp - 8]
call fcn.004049ec
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0040af44
test al, al
je 0x4684dd
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4684ca
mov eax, ebx
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00403980
cmp dword [ebp - 8], 0
je 0x4684dd
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4684fa
lea eax, [ebp - 8]
call fcn.004049ec
ret
Function at 0x46876c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor edx, edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46892c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4688f2
mov edx, dword [ebp - 4]
mov eax, 0x468944
call fcn.00403cb8
test eax, eax
jne 0x4688f2
mov eax, dword [ebp - 4]
call fcn.00467cd8
test al, al
je 0x4688f2
lea eax, [ebp - 0x14c]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.0042efe8
lea eax, [ebp - 0x150]
mov edx, 0x468950
call fcn.004039d8
mov eax, dword [ebp - 0x150]
call fcn.00403b94
push eax
call sub.kernel32.dll_FindFirstFileA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4688f2
xor eax, eax
push ebp
push 0x4688eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x468954
lea eax, [ebp - 0x120]
call fcn.00407470
test eax, eax
je 0x4688bc
mov edx, 0x468958
lea eax, [ebp - 0x120]
call fcn.00407470
test eax, eax
je 0x4688bc
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.0042efe8
mov eax, dword [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403980
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0xc]
pop edx
call fcn.00403a1c
mov ebx, dword [ebp - 0x14c]
test bl, 1
je 0x46889b
and ebx, 0xfffffffe
push ebx
mov eax, dword [ebp - 0xc]
call fcn.00403b94
push eax
call sub.kernel32.dll_SetFileAttributesA
test byte [ebp - 0x14c], 0x10
jne 0x4688b4
mov eax, dword [ebp - 0xc]
call fcn.00403b94
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x4688bc
mov eax, dword [ebp - 0xc]
call fcn.0046876c
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x468818
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4688f2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
mov eax, dword [ebp - 4]
call fcn.00403b94
push eax
call sub.kernel32.dll_RemoveDirectoryA
neg eax
sbb ebx, ebx
neg ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468933
lea eax, [ebp - 0x154]
mov edx, 2
call fcn.00403778
lea eax, [ebp - 0xc]
call fcn.00403754
ret

Function at 0x46a860
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
push 0
push 0
push 0
push 2
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
mov edx, 0x80000000
xor eax, eax
call fcn.004681b0
call fcn.0046a7b0
xor eax, eax
push ebp
push 0x46a8dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004039d0
inc eax
push eax
mov eax, ebx
call fcn.00403b94
push eax
push 1
push 0
push edi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
call fcn.0046a7b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a8e4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
Function at 0x46acd8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push 0
push 1
lea eax, [ebp - 8]
push eax
mov ecx, esi
mov edx, 0x80000000
xor eax, eax
call fcn.004681e8
test eax, eax
jne 0x46ad32
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push edi
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x46ad3c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0
push 2
lea eax, [ebp - 4]
push eax
mov ecx, ebx
mov edx, 0x80000000
xor eax, eax
call fcn.004681e8
test eax, eax
jne 0x46ad73
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46ad78
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46af72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x46af80
call fcn.0046aca0
test al, al
jne 0x46adb4
mov eax, 0x46af94
call fcn.0046aca0
test al, al
je 0x46af54
lea edx, [ebp - 4]
xor eax, eax
call fcn.00467e2c
lea eax, [ebp - 0x10]
mov ecx, 0x46afa4
mov edx, dword [ebp - 4]
call fcn.00403a1c
mov edx, dword [ebp - 0x10]
mov eax, 0x46afa8
call fcn.0046ac14
test al, al
je 0x46adf0
mov ecx, 0x46afa8
mov edx, 0x80000000
xor eax, eax
call fcn.0046828c
push 0x46afd0
push dword [ebp - 4]
push 0x46afdc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403a90
mov edx, dword [ebp - 0x10]
mov eax, 0x46afe4
call fcn.0046ac14
test al, al
je 0x46ae2c
mov ecx, 0x46b00c
mov edx, 0x80000000
xor eax, eax
call fcn.0046828c
push 0x46afd0
push dword [ebp - 4]
push 0x46afdc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403a90
mov edx, dword [ebp - 0x10]
mov eax, 0x46b02c
call fcn.0046ac14
test al, al
je 0x46ae68
mov ecx, 0x46b060
mov edx, 0x80000000
xor eax, eax
call fcn.0046828c
push 0x46afd0
push dword [ebp - 4]
push 0x46b094
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403a90
mov edx, dword [ebp - 0x10]
mov eax, 0x46b0a0
call fcn.0046ac14
test al, al
je 0x46aea4
mov ecx, 0x46b0cc
mov edx, 0x80000000
xor eax, eax
call fcn.0046828c
mov ecx, 0x46b0f0
mov edx, 0x80000000
xor eax, eax
call fcn.004683c4
mov eax, 0x46af80
mov edx, 0x46b114
call fcn.0046ac14
test al, al
je 0x46aef7
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, 0x46af80
call fcn.0046acd8
test al, al
je 0x46aef7
cmp dword [ebp - 8], 0
jne 0x46aef7
cmp dword [ebp - 0xc], 1
jg 0x46aef7
push 0x46af80
push 0x80000000
call sub.advapi32.dll_RegDeleteKeyA
mov eax, 0x46af80
call fcn.0046aca0
test al, al
jne 0x46af33
mov eax, 0x46af94
mov edx, 0x46b130
call fcn.0046ac14
test al, al
je 0x46af33
mov eax, 0x46af94
xor edx, edx
call fcn.0046ad3c
mov edx, 0x46b144
mov eax, 0x46af94
call fcn.0046ad3c
mov ecx, 0x46af94
mov edx, 0x80000000
xor eax, eax
call fcn.004683c4
push 0
push 0
push 0
push 0x8000000
call sub.shell32.dll_SHChangeNotify
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46af79
lea eax, [ebp - 0x10]
call fcn.00403754
lea eax, [ebp - 4]
call fcn.00403754
ret
Function at 0x46fdd0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00403b94
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x46fe72
mov eax, ebx
call fcn.00402668
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46fe6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46fe55
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46fe94
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46fe55
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fe89
mov eax, dword [ebp - 0x10]
call fcn.00402680
ret
mov eax, dword [0x481384]
cmp dword [eax], 1
je 0x46fe89
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0046fbf4
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4766a8
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x4766b7
add esp, 0xfffffff0
call fcn.00402ea0
mov ebx, edx
mov edi, eax
mov ecx, 0x47670c
xor edx, edx
mov eax, edi
call fcn.00445edc
push 0x476730
push 0
push 0
call sub.kernel32.dll_CreateMutexA
mov esi, eax
mov dword [edi + 0x1c], esi
test esi, esi
je 0x4766ef
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
inc eax
je 0x4766ef
mov byte [edi + 0x20], 1
test bl, bl
je 0x4766fd
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x477d7c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x1018], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477fd0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1014]
push eax
push 0
push 0x477fdc
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
call fcn.0042f348
mov eax, dword [ebp - 0x1018]
call fcn.00403b94
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
jne 0x477e0d
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x1020], eax
mov byte [ebp - 0x101c], 0
lea eax, [ebp - 0x1020]
push eax
push 0
mov ecx, 0x477fe8
mov dl, 1
mov eax, dword [0x406094]
call fcn.004095c0
call fcn.00403214
lea eax, [ebp - 8]
lea edx, [ebp - 0x1014]
mov ecx, 0x1000
call fcn.00403980
xor eax, eax
push ebp
push 0x477f3f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x290]
mov eax, dword [eax + 0x14c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 1
push 0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4690a8]
call fcn.0046924c
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x477e8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00469670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e96
mov eax, dword [ebp - 0x14]
call fcn.00402c64
ret
Function at 0x47d6b4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d9a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x44c], 1
jne 0x47d71a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x454], 0
jne 0x47d707
mov ecx, 0x47d9b4
mov dl, 1
mov eax, dword [0x406094]
call fcn.0040958c
call fcn.00403214
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x454]
call fcn.004037ec
jmp 0x47d72b
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x450]
call fcn.004037ec
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.00421fec
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
lea edx, [ebp - 0x68]
xor ecx, ecx
mov eax, 0x47da14
call fcn.00407a58
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x474]
lea eax, [ebp - 0xc]
call fcn.00403a1c
mov eax, dword [ebp - 4]
call fcn.0047ce2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.004361a8
push 0
push 0
push 0x194
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
call fcn.00421fec
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, 1
call fcn.004670f8
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00479fac
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040292c
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], 0x540
mov eax, dword [0x481290]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3fb], 0
je 0x47d7fb
mov eax, dword [0x4811a8]
cmp dword [eax], 5
jl 0x47d7fb
mov eax, 0x47da24
mov dword [ebp - 0x50], eax
jmp 0x47d803
mov eax, 0x47da2c
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
call fcn.00403b94
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
call fcn.00403b94
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0042f348
mov eax, dword [ebp - 0x10]
call fcn.00403b94
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 1
call sub.user32.dll_GetFocus
mov dword [ebp - 0x14], eax
xor eax, eax
call fcn.00427e40
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x47d8aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_SetFocus
mov eax, dword [0x4811a8]
cmp dword [eax], 6
jl 0x47d877
mov eax, dword [0x481290]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetActiveWindow
lea eax, [ebp - 0x5c]
push eax
call sub.shell32.dll_ShellExecuteExA
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d8b1
mov eax, dword [ebp - 0x18]
call fcn.00427ef0
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_SetFocus
ret