joyce8/EMBER2024-capa huggingface dataset:
Function at 0x535980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59eed7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
lea ecx, [ebp - 0x230]
call fcn.004e98a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004e98a0
mov byte [ebp - 4], 1
push 0
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5359fb
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.004e9a20
push str._tencentQQPCMgrAdBlockuserconfig.dat
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x26c]
push eax
call fcn.004ee650
add esp, 0xc
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004e9990
lea ecx, [ebp - 0x26c]
call fcn.004e99d0
lea ecx, [ebp - 0x230]
call fcn.004e9c70
push eax
call fcn.004e4770
add esp, 4
test eax, eax
je 0x535a5a
mov byte [ebp - 0x249], 1
jmp 0x535a61
mov byte [ebp - 0x249], 0
mov dl, byte [ebp - 0x249]
mov byte [ebp - 0x24a], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004e99d0
mov al, byte [ebp - 0x24a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e34d
mov esp, ebp
pop ebp
ret
Function at 0x535f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59efe1
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x288], 0
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
lea ecx, [ebp - 0x280]
push ecx
call fcn.004e3b70
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x280]
call fcn.004e9c70
push eax
push 0x5ad5c8
lea edx, [ebp - 0x250]
push edx
call fcn.004e2580
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x284]
push eax
push 0x2001f
push 0
lea ecx, [ebp - 0x250]
call fcn.004e9c70
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x28c], eax
push 0x5ad67c
lea ecx, [ebp - 0x238]
call fcn.004e98c0
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], 0
jne 0x535fe2
push 0x5ad6b8
lea ecx, [ebp - 0x238]
call fcn.004e9a20
jmp 0x536010
cmp dword [ebp + 0xc], 1
jne 0x535ffa
push 0x5ad6e0
lea ecx, [ebp - 0x238]
call fcn.004e9a20
jmp 0x536010
cmp dword [ebp + 0xc], 2
jne 0x536010
push 0x5ad710
lea ecx, [ebp - 0x238]
call fcn.004e9a20
push 0x5ad73c
lea ecx, [ebp - 0x268]
call fcn.004e98c0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x28c], 0
jne 0x5360e2
xor ecx, ecx
mov word [ebp - 0x218], cx
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.0055ea20
add esp, 0xc
mov dword [ebp - 0x21c], 1
lea eax, [ebp - 0x220]
push eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
lea ecx, [ebp - 0x238]
call fcn.004e9c70
push eax
mov edx, dword [ebp - 0x284]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5360cd
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x21c]
push edx
push 0
lea ecx, [ebp - 0x238]
call fcn.004e9c70
push eax
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004e9a20
jmp 0x5360d3
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x536117
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x250]
call fcn.004e9c70
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x536117
mov edx, dword [ebp + 0x10]
mov byte [edx], 1
mov eax, dword [ebp - 0x284]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x268]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004e9920
mov edx, dword [ebp - 0x288]
or edx, 1
mov dword [ebp - 0x288], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
call fcn.004e99d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.004e99d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.004e99d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.004e99d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e34d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x53d3e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59fabd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x384
call fcn.00552130
movzx eax, al
test eax, eax
je 0x53d425
jmp 0x53d50b
lea ecx, [ebp - 0x30]
push ecx
call fcn.004e3fe0
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
add edx, 0x384
mov dword [ebp - 0x34], edx
push 4
lea ecx, [ebp - 0x14]
call fcn.005590b0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00551c40
push 4
lea ecx, [ebp - 0x18]
call fcn.005590b0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.005521b0
jmp 0x53d47a
lea ecx, [ebp - 0x14]
call fcn.00550480
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00550250
movzx eax, al
test eax, eax
je 0x53d4fc
lea ecx, [ebp - 0x14]
call fcn.00550310
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x18
call fcn.004e92b0
push eax
lea ecx, [ebp - 0x78]
push ecx
call fcn.004e1e00
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.0054bd70
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004e9c70
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x60]
call fcn.004e99d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.004e99d0
jmp 0x53d472
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004e99d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e34d
mov esp, ebp
pop ebp
ret
Function at 0x556130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 0x18]
and eax, 1
jne 0x556164
push 9
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00554920
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov byte [ebp - 1], 0x3c
lea ecx, [ebp - 1]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 2], 0x21
lea edx, [ebp - 2]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 3], 0x5b
lea eax, [ebp - 3]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 5], 0x44
lea edx, [ebp - 5]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 6], 0x41
lea eax, [ebp - 6]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 7], 0x54
lea ecx, [ebp - 7]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 8], 0x41
lea edx, [ebp - 8]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 9], 0x5b
lea eax, [ebp - 9]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.0055a4b0
mov esi, eax
mov ecx, dword [ebp + 0x14]
call fcn.0055a4e0
add esi, eax
push esi
mov ecx, dword [ebp + 0x14]
call fcn.0055a4b0
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005548d0
add esp, 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], edx
mov byte [ebp - 0xa], 0x5d
lea eax, [ebp - 0xa]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 0xb], 0x5d
lea ecx, [ebp - 0xb]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 0xc], 0x3e
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5566f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 0x18]
and eax, 1
jne 0x556724
push 9
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00554920
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov byte [ebp - 1], 0x3c
lea ecx, [ebp - 1]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 2], 0x21
lea edx, [ebp - 2]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 3], 0x44
lea eax, [ebp - 3]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 4], 0x4f
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 5], 0x43
lea edx, [ebp - 5]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 6], 0x54
lea eax, [ebp - 6]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 7], 0x59
lea ecx, [ebp - 7]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 8], 0x50
lea edx, [ebp - 8]
push edx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 9], 0x45
lea eax, [ebp - 9]
push eax
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov byte [ebp - 0xa], 0x20
lea ecx, [ebp - 0xa]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0055a4b0
mov esi, eax
mov ecx, dword [ebp + 0x14]
call fcn.0055a4e0
add esi, eax
push esi
mov ecx, dword [ebp + 0x14]
call fcn.0055a4b0
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.005548d0
add esp, 0x14
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov byte [ebp - 0xb], 0x3e
lea ecx, [ebp - 0xb]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov ecx, eax
call fcn.00558a70
lea ecx, [ebp + 0xc]
call fcn.0054dc30
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x568a5e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x584ca5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005690ec
mov dword [ebp - 0x14], eax
cmp dword [0x61eb44], esi
jne 0x584d98
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x584d25
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x584e78
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x584e78
push 0x5f3eb4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x584e78
push eax
call ebx
push 0x5f3ec0
push edi
mov dword [0x61eb44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x61eb48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f3ee4
push edi
mov dword [0x61eb4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61eb54], eax
test eax, eax
je 0x584d95
push 0x5f3f00
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61eb50], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x584dbd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x584db0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x584dd2
push 4
pop eax
jmp 0x584e7a
cmp dword [ebp - 0x14], esi
je 0x584dd2
push dword [0x61eb44]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x584db7
mov eax, dword [0x61eb50]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x584e30
cmp dword [0x61eb54], edi
je 0x584e30
push eax
call ebx
push dword [0x61eb54]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x584e30
test eax, eax
je 0x584e30
call ecx
test eax, eax
je 0x584e25
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x584e25
test byte [ebp - 8], 1
jne 0x584e30
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x584e60
mov eax, dword [0x61eb48]
cmp eax, edi
je 0x584e5d
push eax
call ebx
test eax, eax
je 0x584e5d
call eax
mov esi, eax
test esi, esi
je 0x584e5d
mov eax, dword [0x61eb4c]
cmp eax, edi
je 0x584e5d
push eax
call ebx
test eax, eax
je 0x584e5d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x61eb44]
call ebx
test eax, eax
je 0x584e78
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x584e7a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055e34d
mov esp, ebp
pop ebp
ret
Function at 0x100012be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0
push 0
push 0
push 0x1000dcca
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000130e
push 0x19
push 0x40130d1
push 6
call fcn.10015091
add esp, 0xc
mov dword [0x1179addc], eax
mov dword [ebp - 4], esp
push dword [0x1179addc]
xor eax, eax
call dword [0x1179adf4]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001342
push 0x5f
push 0x40130d1
push 6
call fcn.10015091
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x1000d343
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x1000d395
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000d38d
push 0x4f
push 0x401350c
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x1000d3ce
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000d3cb
push 0x7d
push 0x401350c
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000d3e2
mov eax, 0
jmp 0x1000d44a
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000d413
push 0x10b
push 0x401350c
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000d442
push 0x12f
push 0x401350c
push 6
call fcn.10015091
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x1000d44a
mov esp, ebp
pop ebp
ret 8
Function at 0x1000db04
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 8], 0
je 0x1000dc9a
mov dword [ebp - 4], 0x400
fild dword [ebp - 4]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fmul qword [0x1179a491]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000140d
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
push 0x40
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000db9d
push 0xba
push 0x40139b4
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000dbd3
push 0xf3
push 0x40139b4
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000dc6e
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fsub qword [0x1179a491]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
call fcn.1000140d
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x1000dc6b
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.1000dcaa
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 8], eax
jne 0x1000dc63
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000dc59
push 0x1f4
push 0x40139b4
push 6
call fcn.10015091
add esp, 0xc
mov eax, 1
jmp 0x1000dca4
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x1000dc06
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x1000dc9a
push 0x24f
push 0x40139b4
push 6
call fcn.10015091
add esp, 0xc
mov eax, 0
jmp 0x1000dca4
mov esp, ebp
pop ebp
ret 4
Function at 0x10015810
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebp
push esi
push edi
push eax
call fcn.10018de0
mov edi, dword [esp + 0x38]
xor esi, esi
push edi
mov ebp, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
call fcn.10018bb0
add esp, 8
cmp ebp, esi
je 0x100158ef
cmp eax, esi
je 0x100158ef
inc eax
push ebx
push eax
call fcn.10025ced
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.1001a910
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10015885
mov byte [esi], 0
inc esi
lea eax, [esp + 0x18]
push eax
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100158dd
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
mov edi, 4
push esi
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100158d2
cmp dword [esp + 0x14], edi
jne 0x100158d2
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.10025d16
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
pop ebx
jne 0x100158fb
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, dword [esp + 0x40]
jne 0x100158ff
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x10015920
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret

Function at 0x10015950
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x100159e2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x100159d4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x100159cc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x10015995
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x100159f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x10015a31.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x10015a31.2
jmp dword [eax*4 + 0x10015abc]
mov word [esp + 0x48], di
jmp 0x10015a6a
mov word [esp + 0x48], 2
jmp 0x10015a6a
mov word [esp + 0x48], 3
jmp 0x10015a6a
mov word [esp + 0x48], 4
jmp 0x10015a6a
mov word [esp + 0x48], 7
jmp 0x10015a6a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x10015ab4
cmp dword [esp + 0x70], edi
je 0x10015aa0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x10015e50
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret