joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a694
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x50a69c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x50a88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x50a8a4
mov eax, esi
call fcn.00508424
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004043e0
lea ecx, [ebp - 0x10]
mov edx, 0x50a8b8
mov eax, esi
call fcn.00508424
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004043e0
lea ecx, [ebp - 0x14]
mov edx, 0x50a8d0
mov eax, esi
call fcn.00508424
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004043e0
lea ecx, [ebp - 0x18]
mov edx, 0x50a8ec
mov eax, esi
call fcn.00508424
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004043e0
lea ecx, [ebp - 0x1c]
mov edx, 0x50a908
mov eax, esi
call fcn.00508424
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004043e0
lea ecx, [ebp - 0x24]
mov edx, 0x50a920
mov eax, esi
call fcn.00508424
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409348
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409a24
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x50a938
mov eax, esi
call fcn.00508424
mov eax, dword [ebp - 0x28]
call fcn.0050753c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x50a948
mov eax, esi
call fcn.00508424
mov eax, dword [ebp - 0x2c]
call fcn.0050753c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x50a960
mov eax, esi
call fcn.00508424
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409a24
inc eax
je 0x50a831
lea ecx, [ebp - 0x34]
mov edx, 0x50a960
mov eax, esi
call fcn.00508424
mov eax, dword [ebp - 0x34]
call fcn.004099e8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b88c
fstp qword [ebp - 0x3c]
wait
call fcn.0040bcc0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x50a84c
lea ecx, [ebp - 0x40]
mov edx, 0x50a960
mov eax, esi
call fcn.00508424
mov eax, dword [ebp - 0x40]
call fcn.0050753c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x50a970
mov eax, esi
call fcn.00508424
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004043e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a895
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004043b0
ret
Function at 0x516f08
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x516f1b
add esp, 0xfffffff0
call fcn.004038a0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x516f94
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.0040350c
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.00517300
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.004043e0
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x516fc0
call fcn.004046a8
mov ecx, esi
mov dl, 1
mov eax, dword [0x516d3c]
call fcn.00517760
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516f9b
lea eax, [ebp - 4]
call fcn.0040438c
ret

Function at 0x52553c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], ecx
mov byte [ebp - 0xa], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
call fcn.00402db4
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [0x565404]
cmp byte [eax + 0xc], 0
je 0x5255c7
mov eax, dword [0x5653ec]
cmp dword [eax], 2
jne 0x5255c7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
add dword [edx + 0xc], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x5255d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5256c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x40]
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0052553c
test al, al
je 0x52569b
mov ecx, dword [ebp - 0x3c]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040447c
mov eax, dword [ebp - 0x40]
dec eax
test eax, eax
jl 0x52569b
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x52568a
mov eax, dword [ebp - 0x14]
call fcn.0040485c
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00404594
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x525693
cmp dword [ebp - 0x20], 0x103
je 0x52569b
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x525637
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5256cd
lea eax, [ebp - 0x44]
call fcn.0040438c
lea eax, [ebp - 0x14]
call fcn.0040438c
ret
Function at 0x5256d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5257ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x40]
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0052553c
test al, al
je 0x5257a3
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0040447c
mov eax, dword [ebp - 0x38]
dec eax
test eax, eax
jl 0x5257a3
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x525792
mov eax, dword [ebp - 0x14]
call fcn.0040485c
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00404594
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x52579b
cmp dword [ebp - 0x20], 0x103
je 0x5257a3
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x52573f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5257d5
lea eax, [ebp - 0x44]
call fcn.0040438c
lea eax, [ebp - 0x14]
call fcn.0040438c
ret

Function at 0x525fa4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040484c
xor eax, eax
push ebp
push 0x526022
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402db4
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040485c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.00525f60
mov edx, dword [ebp - 0xc]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526029
lea eax, [ebp - 8]
call fcn.0040438c
ret
Function at 0x526098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x19], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040484c
xor eax, eax
push ebp
push 0x526181
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00526030
inc eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
call fcn.0040438c
cmp dword [ebp - 0xc], 0
jle 0x526158
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.0040447c
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.0040485c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x526150
mov eax, dword [ebp - 0x14]
call fcn.00525f60
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 1
je 0x52612d
cmp byte [ebp - 0xd], 2
jne 0x526146
mov eax, dword [ebp - 0x18]
call fcn.0040485c
call fcn.0040a368
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004049e8
jmp 0x526158
lea eax, [ebp - 0x18]
call fcn.0040438c
jmp 0x526158
lea eax, [ebp - 0x18]
call fcn.0040438c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
call fcn.004043e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526188
lea eax, [ebp - 0x18]
call fcn.0040438c
lea eax, [ebp - 8]
call fcn.0040438c
ret
Function at 0x527268
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040484c
xor eax, eax
push ebp
push 0x527379
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.0040465c
test eax, eax
je 0x52735b
mov eax, dword [ebp - 8]
call fcn.0040465c
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
jne 0x5272d1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0040465c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004048bc
mov edx, dword [ebp - 8]
mov eax, 0x527390
call fcn.0040a034
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x52735b
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004048bc
lea eax, [ebp - 0x10]
push eax
push 0xf013f
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x52735b
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.0040465c
mov ecx, eax
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
inc edx
mov eax, dword [ebp - 8]
call fcn.004048bc
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527380
lea eax, [ebp - 0x14]
call fcn.0040438c
lea eax, [ebp - 8]
call fcn.0040438c
ret
Function at 0x52a94c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret

Function at 0x52a974
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040484c
xor eax, eax
push ebp
push 0x52aa35
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402db4
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x88
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040485c
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x52aa48
mov edx, dword [0x567990]
call fcn.004046a8
mov eax, dword [ebp - 0x5c]
call fcn.0040485c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x52aa17
push 0x2710
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52aa3c
lea eax, [ebp - 0x5c]
call fcn.0040438c
lea eax, [ebp - 4]
call fcn.0040438c
ret

Function at 0x52ae84
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
xor eax, eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52afa5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.0040460c
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0040f990
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404424
lea eax, [ebp - 0x14c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402db4
mov dword [ebp - 0x14c], 0x44
mov dword [ebp - 0x120], 1
mov word [ebp - 0x11c], 0
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 0x88
push 0
push 0
push 0
push 0x52afb0
lea eax, [ebp - 0x164]
mov ecx, 0x52afc8
mov edx, dword [ebp - 4]
call fcn.004046a8
mov eax, dword [ebp - 0x164]
call fcn.0040485c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x52af7f
push 0
mov eax, dword [ebp - 0x15c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x15c]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52afac
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 4]
call fcn.0040438c
ret
Function at 0x52caec
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040484c
xor eax, eax
push ebp
push 0x52cbc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x52cbb2
mov eax, dword [ebp - 4]
call fcn.00409dc4
test al, al
je 0x52cbb2
mov eax, dword [ebp - 4]
call fcn.0040465c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x52cb51
mov eax, dword [ebp - 4]
call fcn.0040465c
mov edx, eax
dec edx
lea eax, [ebp - 4]
call fcn.004049e8
lea eax, [ebp - 0x12f]
mov edx, 0x104
call fcn.00407ab8
lea eax, [ebp - 0x12f]
mov edx, dword [ebp - 4]
call fcn.0040a400
xor eax, eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], 3
lea eax, [ebp - 0x12f]
mov dword [ebp - 0x22], eax
xor eax, eax
mov dword [ebp - 0x1e], eax
mov word [ebp - 0x1a], 0x414
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2a]
push eax
call sub.shell32.dll_SHFileOperationA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cbcf
lea eax, [ebp - 4]
call fcn.0040438c
ret

Function at 0x52cce8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
or eax, 0x8000
push eax
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x52cd2b
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.0040460c
jmp 0x52cd33
mov eax, dword [ebp - 8]
call fcn.0040438c
mov esp, ebp
pop ebp
ret

Function at 0x52ce48
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
xor eax, eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52cf69
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.0040460c
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0040f990
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404424
lea eax, [ebp - 0x14c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402db4
mov dword [ebp - 0x14c], 0x44
mov dword [ebp - 0x120], 1
mov word [ebp - 0x11c], 0
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 0x88
push 0
push 0
push 0
push 0x52cf74
lea eax, [ebp - 0x164]
mov ecx, 0x52cf8c
mov edx, dword [ebp - 4]
call fcn.004046a8
mov eax, dword [ebp - 0x164]
call fcn.0040485c
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x52cf43
push 0
mov eax, dword [ebp - 0x15c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x15c]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52cf70
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 4]
call fcn.0040438c
ret
Function at 0x52ecac
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor ebx, ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x52ede7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.0040438c
lea eax, [ebp - 0x119]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x119]
mov ecx, 0x105
call fcn.0040460c
lea eax, [ebp - 0x10]
call fcn.0052cc34
lea eax, [ebp - 0x120]
call fcn.0052cac8
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x10]
call fcn.00404664
lea eax, [ebp - 0x10]
call fcn.0052cc34
mov eax, dword [ebp - 0x10]
call fcn.00409de8
push dword [ebp - 0x10]
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 8]
call fcn.0040a1a0
push dword [ebp - 0x124]
push 0x52ee00
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040471c
mov eax, dword [ebp - 0x14]
call fcn.00409db4
test al, al
je 0x52ed7b
mov eax, dword [ebp - 0x14]
call fcn.00409fec
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
mov eax, dword [ebp - 8]
call fcn.0040485c
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x52edbc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 0xc]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.0052cf9c
test al, al
je 0x52edbc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004043e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52edee
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004043b0
ret

Function at 0x530fcc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5310a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, 1
call fcn.0052a84c
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00402db4
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 5
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x531040
push 0x5310bc
mov eax, dword [ebp - 4]
push dword [eax]
push 0x5310c8
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.0040471c
jmp 0x53104d
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call fcn.00404424
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x88
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040485c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x53108c
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
call fcn.0052a84c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5310b0
lea eax, [ebp - 0xc]
call fcn.0040438c
ret
Function at 0x533bec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x10], eax
cmp byte [0x5649f4], 0
jne 0x533c95
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00533b3c
test al, al
jne 0x533c47
cmp dword [ebp - 0x14], 0
jne 0x533c36
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x14], eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x14]
cmp eax, 0xbb8
ja 0x533c95
jmp 0x533c4c
xor eax, eax
mov dword [ebp - 0x14], eax
cmp byte [ebp - 9], 0
je 0x533c61
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x18]
cmp eax, 0x3a98
ja 0x533c95
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 0x10]
cmp eax, 0xdbba0
ja 0x533c95
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005334e8
jmp 0x533c10
mov esp, ebp
pop ebp
ret 0xc

Function at 0x533ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x533fec
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call fcn.00402db4
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 5
cmp dword [ebp - 8], 0
je 0x533f0e
push 0x534008
push dword [ebp - 4]
push 0x534014
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.0040471c
jmp 0x533f19
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00404424
lea eax, [ebp - 0x14]
call fcn.004048ac
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040a084
lea eax, [ebp - 0x10]
call fcn.004048ac
xor eax, eax
push ebp
push 0x533f87
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x10]
call fcn.0040485c
push eax
push 0
push 0x88
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0040485c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x533f8e
ret