joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c6b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x48dac0
push 0xffffffffffffffff
push 0x781100
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, dword [esp + 0x70]
mov ebp, ecx
jne 0x48db14
mov ecx, dword [ebx]
lea ecx, [ecx]
cmp dword [eax + 0xc], ecx
jae 0x48db0a
mov eax, dword [eax + 8]
jmp 0x48db0e
mov ebp, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x48db00
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
test esi, esi
je 0x48db25
cmp esi, esi
je 0x48db2a
call fcn.00565471
cmp ebp, dword [esp + 0x18]
je 0x48db37
mov ecx, dword [ebx]
cmp ecx, dword [ebp + 0xc]
jae 0x48dba2
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.004024f0
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0
call fcn.00406b2c
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.00404e94
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.00404241
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00404241
test esi, esi
jne 0x48dbce
call fcn.00565471
cmp ebp, dword [esi + 0x18]
jne 0x48dbb5
call fcn.00565471
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov esi, dword [esi]
jmp 0x48dbab

Function at 0x402c98
Capabilities:
Encrypt data using blowfish

Disassembly:
jmp 0x413020
mov eax, 0x105c
call fcn.00564f40
push esi
mov esi, dword [esp + 0x106c]
lea eax, [esi - 1]
cmp eax, 0x37
ja 0x4130ff
push ebx
push ebp
push edi
push 0x1048
lea ecx, [esp + 0x28]
push 0x7a8f98
push ecx
call fcn.00564f70
mov ebx, dword [esp + 0x1080]
add esp, 0xc
add esi, ebx
mov eax, ebx
lea edx, [esp + 0x24]
xor ecx, ecx
lea edi, [ecx + 4]
lea esp, [esp]
movzx ebp, byte [eax]
shl ecx, 8
inc eax
or ecx, ebp
cmp eax, esi
jne 0x41307f
mov eax, ebx
sub edi, 1
jne 0x413070
xor dword [edx], ecx
add edx, 4
lea ecx, [esp + 0x6c]
cmp edx, ecx
jne 0x413067
pop edi
xor eax, eax
pop ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea esi, [esp + 0x1c]
pop ebx
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00402793
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
add esi, 4
mov dword [esi], eax
add esi, 4
lea edx, [esp + 0x106c]
add esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
cmp esi, edx
jne 0x4130a2
mov esi, dword [esp + 0x1064]
push 0x1048
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00564f70
add esp, 0xc
mov eax, esi
pop esi
add esp, 0x105c
ret
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 8], str.Invalid_key_length_used_to_initialize_BlowFish.
call fcn.0056424d
push 0x825154
lea edx, [esp + 0x10]
push edx
call fcn.00564659
int3
Function at 0x403436
Capabilities:
Get common file path

Disassembly:
jmp 0x4c56e0
push 0xffffffffffffffff
push 0x7858f6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
push 0x104
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea eax, [esp + 0x18]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x10], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c5765
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00405920
push 0xffffffffffffffff
push ebx
push edi
mov ecx, esi
call fcn.00401e38
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00564b24
add esp, 0x11c
ret
Function at 0x403b70
Capabilities:
Enumerate processes

Disassembly:
jmp 0x4c5370
sub esp, 0x234
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push 0x124
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], 0
call fcn.00566330
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c53ce
xor al, al
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00564b24
add esp, 0x234
ret
push ebx
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
xor bl, bl
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4c5439
jmp 0x4c53f0
xor eax, eax
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x134], cl
inc eax
test cl, cl
jne 0x4c53f2
cmp byte [esp + 0x240], cl
jne 0x4c542a
lea edx, [esp + 0x134]
push edx
push 0x7b76f4
call fcn.005687ea
add esp, 8
test eax, eax
jne 0x4c542a
test bl, bl
mov bl, 1
jne 0x4c543d
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4c53f0
mov bl, byte [esp + 0xb]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
mov al, bl
pop ebx
pop esi
xor ecx, esp
call fcn.00564b24
add esp, 0x234
ret
Function at 0x403da5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x471080
push 0xffffffffffffffff
push 0x77eaae
mov eax, dword fs:[LookupPrivilegeValueA]
push eax
sub esp, 0x54
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[StartServiceA], eax
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x74]
cmp dword [esi + 0x14], ebp
jne 0x4710cf
mov esi, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.004087b0
jmp 0x471214
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0x4c]
call fcn.004087b0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x6c], 1
call fcn.004046bf
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
mov byte [esp + 0x6c], 2
jb 0x471102
mov eax, dword [esi + 4]
jmp 0x471105
lea eax, [esi + 4]
push 0x2c
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00406fcd
add esp, 0x10
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 3
call fcn.00404926
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 2
call fcn.00407112
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x4711ab
xor edi, edi
cmp esi, eax
jb 0x47115d
call fcn.00565471
mov edx, dword [esp + 0x38]
lea eax, [edi + edx]
push eax
call fcn.00408f1c
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, ebp
je 0x471188
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0040126c
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x38]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x1c
cmp esi, eax
jb 0x47115d
mov esi, dword [esp + 0x74]
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.00404db8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 1
cmp eax, ebp
je 0x4711ed
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x38]
push edx
push ecx
push eax
call fcn.004023dd
mov edx, dword [esp + 0x48]
push edx
call fcn.00564155
add esp, 0x14
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.00564155
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0
call fcn.00403b43
mov eax, esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x60
ret 8
Function at 0x4041d3
Capabilities:
Get session user name

Disassembly:
jmp 0x4ab390
push 0xffffffffffffffff
push 0x783c19
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
mov dword [esp + 8], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x34]
push edx
push 2
mov dword [esp + 0x250], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x104
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x4ab458
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0040655f
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x250], 1
call fcn.00406f1e
cmp dword [esp + 0x2c], 8
jb 0x4ab458
mov edx, dword [esp + 0x18]
push edx
call fcn.00564155
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00564b24
add esp, 0x240
ret 4

Function at 0x404296
Capabilities:
Resolve dns

Disassembly:
jmp 0x449c90
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x449d34
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x449d05
cmp word [ecx + 0xa], 4
jne 0x449d05
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x449d05
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.00408ae9
mov dword [esi], eax
test eax, eax
je 0x449d28
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x449ce0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.00566cee
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x449d44.11001
jmp dword [eax*4 + 0x449d68]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x4043ea
Capabilities:
Delete file

Disassembly:
jmp 0x47d260
push 0xffffffffffffffff
push 0x77fd3c
mov eax, dword fs:[0]
push eax
mov eax, 0x2874
call fcn.00564f40
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x2870], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x2884]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov dword [esp + 0x288c], ebx
call fcn.00408a76
lea ecx, [esp + 0x10]
push ecx
call fcn.00405e25
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x2898], 1
call fcn.00406f1e
mov edi, 8
mov byte [esp + 0x288c], bl
cmp dword [esp + 0x28], edi
jb 0x47d300
mov edx, dword [esp + 0x14]
push edx
call fcn.00564155
add esp, 4
push 5
push 0x7b1d48
lea ecx, [esp + 0x6c]
call fcn.00403323
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x47d31e
lea eax, [esp + 0x68]
push 0x7b1d54
push eax
call fcn.00564ed0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x47d466
push 0x27ff
lea eax, [esp + 0x85]
push ebx
push eax
mov byte [esp + 0x8c], bl
call fcn.00566330
lea ecx, [esp + 0x8c]
push ecx
push 0x7b1d5c
push esi
call fcn.00567c39
push esi
call fcn.00564baa
add esp, 0x1c
cmp byte [esp + 0x80], bl
je 0x47d451
lea eax, [esp + 0x80]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47d393
sub eax, edx
push eax
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x34]
call fcn.00405920
push 0x7b1d60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2890], 2
call fcn.00403706
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x2894], 3
call fcn.00406bef
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x289c], 4
call fcn.0040308a
add esp, 0x10
cmp dword [esp + 0x28], edi
jb 0x47d404
mov eax, dword [esp + 0x14]
push eax
call fcn.00564155
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
cmp dword [esp + 0x60], edi
jb 0x47d42a
mov edx, dword [esp + 0x4c]
push edx
call fcn.00564155
add esp, 4
xor eax, eax
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], ax
jb 0x47d451
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00564155
add esp, 4
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x7c], edi
jae 0x47d45f
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x7c], edi
jb 0x47d479
mov edx, dword [esp + 0x68]
push edx
call fcn.00564155
add esp, 4
mov ecx, dword [esp + 0x2884]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2870]
xor ecx, esp
call fcn.00564b24
add esp, 0x2880
ret
Function at 0x404656
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x48ce40
push 0xffffffffffffffff
push 0x781020
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x31], 0
mov ebx, dword [esp + 0x70]
mov ebp, ecx
jne 0x48ce94
mov ecx, dword [ebx]
lea ecx, [ecx]
cmp dword [eax + 0xc], ecx
jae 0x48ce8a
mov eax, dword [eax + 8]
jmp 0x48ce8e
mov ebp, eax
mov eax, dword [eax]
cmp byte [eax + 0x31], 0
je 0x48ce80
mov esi, dword [edi]
mov eax, dword [edi + 0x18]
mov dword [esp + 0x18], eax
test esi, esi
je 0x48cea5
cmp esi, esi
je 0x48ceaa
call fcn.00565471
cmp ebp, dword [esp + 0x18]
je 0x48ceb7
mov ecx, dword [ebx]
cmp ecx, dword [ebp + 0xc]
jae 0x48cf22
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x24]
call fcn.00405b64
mov ecx, dword [ebx]
lea edx, [esp + 0x1c]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x6c], 0
call fcn.004071df
lea eax, [esp + 0x3c]
push eax
push ebp
push esi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.00404bfb
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0
call fcn.00408a85
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], 0xffffffff
call fcn.00408a85
test esi, esi
jne 0x48cf4e
call fcn.00565471
cmp ebp, dword [esi + 0x18]
jne 0x48cf35
call fcn.00565471
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 4
mov esi, dword [esi]
jmp 0x48cf2b
Function at 0x4049cb
Capabilities:
Get common file path

Disassembly:
jmp 0x44a7e0
sub esp, 0x230
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x868404], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x406325
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x407aae
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.00401965
je 0x44a852
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x8525a4]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00564b24
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x44a94d
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.00565ed6
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.005672ad
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x44a8cd
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x44a914
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.00565ed6
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.005672ad
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x44a949
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x44a97d
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
mov dword [esp + edi*8 + 0x14], eax
test eax, eax
je 0x44a97d
inc edi
cmp edi, 3
jl 0x44a916
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x8525a4], edx
mov dword [0x8525ac], eax
mov dword [fcn.00401965], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x8525a4]
xor ecx, esp
mov dword [0x868404], 1
call fcn.00564b24
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x44a949
Function at 0x4050bf
Capabilities:
Get common file path

Disassembly:
jmp 0x4e8740
push 0xffffffffffffffff
push 0x788460
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], esi
mov byte [esi + 4], bl
lea eax, [esp + 0x18]
push eax
push 0x104
mov dword [esp + 0x130], ebx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4e87c5
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00405920
push 0xffffffffffffffff
push ebx
push edi
mov ecx, esi
call fcn.00401e38
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00564b24
add esp, 0x11c
ret
Function at 0x405d53
Capabilities:
Query service status

Disassembly:
jmp 0x4faf50
push 0xffffffffffffffff
push 0x789ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x4fafe8
mov ebp, dword [esp + 0x68]
cmp ebp, ebx
je 0x4faf8e
mov byte [ebp], 1
push 2
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebx
jne 0x4fafec
push 0x27
push str.CWFP::UninstallWFP___Failed_to_open_SCM
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405920
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x64], ebx
call fcn.004024eb
mov ecx, eax
call fcn.004020ae
cmp dword [esp + 0x2c], 0x10
jb 0x4fafe8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00564155
add esp, 4
xor al, al
jmp 0x4fb060
cmp dword [esi + 0x18], 8
jb 0x4faff7
mov eax, dword [esi + 4]
jmp 0x4faffa
lea eax, [esi + 4]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x4fb018
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x4fb060
lea edx, [esp + 0x64]
push edx
push 0x24
lea eax, [esp + 0x38]
push eax
push 0
push esi
xor bl, bl
mov dword [esp + 0x78], 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4fb052
mov eax, dword [esp + 0x34]
cmp eax, 4
sete bl
test ebp, ebp
je 0x4fb052
cmp eax, 1
sete cl
mov byte [ebp], cl
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
Function at 0x406f41
Capabilities:
Set registry value

Disassembly:
jmp 0x4cb740
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x4074d7
Capabilities:
Check os version

Disassembly:
jmp 0x4ba940
sub esp, 0xa0
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [0x85380c]
cmp eax, 0xf
jne 0x4baaa0
push esi
push edi
push 0x9c
lea esi, [eax - 2]
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00566330
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x4ba9c1
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x94
call edi
test eax, eax
jne 0x4ba9c1
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00564b24
add esp, 0xa0
ret
mov eax, dword [esp + 0x18]
mov ecx, 1
sub eax, ecx
je 0x4baa70
sub eax, ecx
jne 0x4baa96
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x4ba9e6
lea esi, [ecx + 2]
cmp eax, 5
jne 0x4baa25
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4ba9fb
lea esi, [eax + 4]
jmp 0x4baa96
cmp eax, ecx
jne 0x4baa09
mov esi, 5
jmp 0x4baa96
cmp eax, 2
jne 0x4baa96
xor eax, eax
cmp byte [esp + 0xa2], cl
setne al
add eax, 5
mov esi, eax
jmp 0x4baa96
cmp eax, 6
jne 0x4baa96
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x4baa46
xor edx, edx
cmp byte [esp + 0xa2], cl
setne dl
add edx, 0xb
mov esi, edx
jmp 0x4baa96
cmp eax, ecx
jne 0x4baa5d
xor eax, eax
cmp byte [esp + 0xa2], cl
sete al
add eax, 9
mov esi, eax
jmp 0x4baa96
xor edx, edx
cmp byte [esp + 0xa2], cl
setne dl
add edx, 7
mov esi, edx
jmp 0x4baa96
cmp dword [esp + 0xc], 4
jne 0x4baa96
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4baa83
xor esi, esi
jmp 0x4baa96
cmp eax, 0xa
jne 0x4baa8c
mov esi, ecx
jmp 0x4baa96
cmp eax, 0x5a
jne 0x4baa96
mov esi, 2
pop edi
mov dword [0x85380c], esi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00564b24
add esp, 0xa0
ret
Function at 0x407a13
Capabilities:
Get common file path

Disassembly:
jmp 0x424ea0
push 0xffffffffffffffff
push 0x7780f8
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14c]
push 0x104
lea eax, [esp + 0x38]
xor ebx, ebx
push eax
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x34]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x424f00
mov cx, word [0x7ad5a0]
mov word [edi], cx
lea edi, [esp + 0x34]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x424f17
mov ecx, 7
mov esi, str.KeepMyFamilySecureProxy.ini
lea eax, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x424f42
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405920
lea eax, [esp + 0x14]
push eax
push ebp
mov dword [esp + 0x14c], ebx
call fcn.00406bef
add esp, 8
cmp dword [esp + 0x2c], 0x10
jb 0x424f83
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00564155
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00564b24
add esp, 0x134
ret 4