joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071c0
Capabilities:
Access peb ldr_data
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46677b
mov eax, dword fs:[0]
push eax
mov eax, 0x1014
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x1010], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x1028]
mov dword fs:[0], eax
mov esi, ecx
lea ebp, [esi + 0x13c]
push 0x470a60
xor ebx, ebx
mov eax, ebp
call fcn.00402c50
lea eax, [esi + 0x138]
push 0x470a60
mov dword [esp + 0x24], eax
call fcn.00402c50
mov eax, dword [0x480ad8]
mov edx, dword [eax + 0xc]
mov ecx, 0x480ad8
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x800
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x103c], ebx
call fcn.00449530
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x130]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [esi + 0xfc]
push ecx
mov ebx, 1
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x800
call dword [0x46836c]
test eax, eax
je 0x4072c6
lea eax, [edi - 0x10]
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4072bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4073b1
cmp dword [esp + 0x18], ebx
jne 0x407298
cmp word [esp + 0x24], 0
je 0x407298
mov ebx, dword [0x468398]
lea ecx, [esp + 0x24]
push ecx
call ebx
test eax, eax
jne 0x407302
lea eax, [edi - 0x10]
mov dword [esp + 0x1030], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4072b3
lea edx, [esp + 0x24]
lea edi, [esp + 0x14]
call fcn.00402b90
mov ecx, dword [esi + 0x11c]
mov edi, dword [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
call dword [0x46839c]
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
jne 0x40735c
mov ecx, dword [esi + 0x118]
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
call dword [0x46839c]
lea eax, [esp + 0x24]
push eax
call ebx
test eax, eax
jne 0x40735c
lea ecx, [esp + 0x14]
call fcn.00402b70
xor eax, eax
jmp 0x4073b1
push 0x800
lea ecx, [esp + 0x828]
push 0
push ecx
call fcn.00449530
add esp, 0xc
mov ecx, 0x400
lea edi, [esp + 0x824]
lea esi, [esp + 0x24]
call fcn.0040d670
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x14]
call fcn.00402bf0
lea edx, [esp + 0x824]
mov edi, ebp
call fcn.00402b90
lea ecx, [esp + 0x14]
call fcn.00402b70
mov eax, 1
mov ecx, dword [esp + 0x1028]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.0044951c
add esp, 0x1020
ret
Function at 0x409ab0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x466668
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x44]
mov eax, dword [0x482248]
mov ecx, dword [eax + 8]
push 0x482248
lea esi, [ebp + 4]
call ecx
mov edi, eax
test edi, edi
jne 0x409aff
mov eax, 0x80004005
jmp 0x409c1a
mov eax, dword [esi]
test eax, eax
je 0x409b0d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi], 0
mov ecx, dword [edi]
mov edx, dword [ecx + 0x78]
push esi
push edi
call edx
mov dword [esp + 0x44], eax
test eax, eax
jge 0x409b29
jmp 0x409c1a
lea edi, [ebp + 8]
call fcn.004099c0
xor edi, edi
mov dword [ebp + 0x10], edi
mov eax, dword [esi]
cmp eax, edi
jne 0x409b46
push 0x80004003
call fcn.00439f10
mov ecx, dword [eax]
mov edx, dword [ecx + 0x4c]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esi]
cmp eax, edi
jne 0x409b60
push 0x80004003
call fcn.00439f10
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x409b77
mov eax, dword [eax]
jmp 0x409b79
xor eax, eax
push eax
call dword [0x468398]
test eax, eax
je 0x409be6
mov ecx, ebx
lea edi, [esp + 0x1c]
call fcn.00404730
mov dword [esp + 0x3c], 2
mov edx, dword [esi]
test edx, edx
jne 0x409ba7
push 0x80004003
call fcn.00439f10
mov ebx, dword [eax]
mov edi, dword [edx]
lea ecx, [esp + 0x18]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x30]
push edx
call ecx
lea edx, [esp + 0x1c]
push edx
mov edi, eax
mov dword [esp + 0x40], 0xffffffff
call dword [0x468304]
jmp 0x409bea
mov edi, dword [esp + 0x44]
cmp word [esp + 0x18], 0
jne 0x409c00
mov dword [esp + 0x44], 0x80004005
mov edi, dword [esp + 0x44]
jmp 0x409c04
test edi, edi
jge 0x409c18
mov eax, dword [esi]
test eax, eax
je 0x409c18
mov dword [esi], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x40a0f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0xa0c]
sub esp, 0xa0c
push 0xfffffffffffffffe
push 0x479738
push 0x44b490
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2008
call fcn.00449f20
mov eax, dword [0x47eb18]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xa08], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0xa14]
mov esi, dword [ebp + 0xa18]
mov dword [ebp - 0x1c], esi
xor ebx, ebx
cmp esi, ebx
je 0x40a2a4
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40a160
sub eax, edx
sar eax, 1
cmp eax, 0x104
ja 0x40a2a4
mov dword [ebp - 4], ebx
mov eax, dword [edi]
push edi
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x40a1a3
push 0x800
push ebx
lea edx, [ebp]
push edx
call fcn.00449530
mov dword [ebp - 0x20], ebx
push 0x2000
push ebx
lea eax, [ebp - 0x2020]
push eax
call fcn.00449530
add esp, 0x18
lea ecx, [ebp - 0x20]
push ecx
push 0x800
lea edx, [ebp - 0x2020]
push edx
call fcn.00462e0a
test eax, eax
je 0x40a2a4
push 0x104
push esi
lea eax, [ebp + 0x800]
push eax
call fcn.00449f8b
lea ecx, [ebp + 0x800]
push ecx
call fcn.0044c250
add esp, 0x10
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
jbe 0x40a2a4
mov edi, dword [0x46827c]
mov esi, dword [ebp - 0x1c]
lea esi, [ebp + esi*4 - 0x2020]
mov edx, dword [esi]
push edx
lea ebx, [ebp]
call fcn.0040a560
test eax, eax
je 0x40a294
mov eax, ebx
push eax
call fcn.0044c250
add esp, 4
mov ecx, ebx
lea eax, [ebp + 0x800]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a26c
test dx, dx
je 0x40a268
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a26c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a246
xor eax, eax
jmp 0x40a271
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40a294
mov eax, dword [esi]
push eax
push 0
push 1
call edi
mov esi, eax
test esi, esi
je 0x40a294
push 0
push esi
call dword [0x468278]
push esi
call dword [0x468074]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jb 0x40a21a
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.0044951c
add ebp, 0xa0c
mov esp, ebp
pop ebp
ret 8
Function at 0x40a2d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0xa0c]
sub esp, 0xa0c
push 0xfffffffffffffffe
push 0x479cf0
push 0x44b490
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2018
call fcn.00449f20
mov eax, dword [0x47eb18]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0xa08], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 0xa14]
mov edi, dword [ebp + 0xa18]
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0xa1c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xa20]
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x40a4a7
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a350
sub eax, edx
sar eax, 1
mov dword [ebp - 0x2c], eax
cmp eax, 4
jl 0x40a4a7
cmp eax, 0x104
jg 0x40a4a7
mov dword [ebp - 4], 0
mov edx, dword [ebx]
push ebx
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xfffffffe
jmp 0x40a3a1
push 0x800
push 0
lea ecx, [ebp]
push ecx
call fcn.00449530
mov dword [ebp - 0x1c], 0
push 0x2000
push 0
lea edx, [ebp - 0x2030]
push edx
call fcn.00449530
add esp, 0x18
lea eax, [ebp - 0x1c]
push eax
push 0x800
lea ecx, [ebp - 0x2030]
push ecx
call fcn.00462e0a
test eax, eax
je 0x40a4a7
push 0x104
push edi
lea edx, [ebp + 0x800]
push edx
call fcn.00449f8b
lea eax, [ebp + 0x800]
push eax
call fcn.0044c250
add esp, 0x10
call dword [0x4682a0]
mov esi, eax
mov dword [ebp - 0x28], esi
push esi
call fcn.0040c060
mov dword [ebp - 0x20], eax
xor edi, edi
cmp dword [ebp - 0x1c], edi
jbe 0x40a4a7
mov eax, dword [ebp + edi*4 - 0x2030]
cmp esi, eax
je 0x40a4a1
cmp dword [ebp - 0x20], eax
je 0x40a4a1
push eax
lea ebx, [ebp]
call fcn.0040a560
test eax, eax
je 0x40a4a1
mov ecx, ebx
push ecx
call fcn.0044c250
mov edx, dword [ebp - 0x2c]
push edx
mov eax, ebx
push eax
lea ecx, [ebp + 0x800]
push ecx
call fcn.0044c01d
add esp, 0x10
test eax, eax
jne 0x40a4a1
mov eax, dword [ebp + edi*4 - 0x2030]
push eax
push 0
push 1
call dword [0x46827c]
test eax, eax
je 0x40a48a
mov esi, eax
call fcn.0040a540
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x40a4a1
mov edx, dword [ebp - 0x30]
push edx
push edi
mov edx, dword [ebp - 0x1c]
push edx
push eax
lea eax, [ebp]
push eax
call ecx
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x40a42b
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.0044951c
add ebp, 0xa0c
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40a4d0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 4]
push eax
push 0x28
xor esi, esi
call dword [0x46806c]
push eax
call dword [0x468030]
test eax, eax
je 0x40a531
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
mov dword [esp + 0x14], 1
call dword [0x468034]
mov eax, dword [esp + 4]
push esi
push esi
push 0x10
lea edx, [esp + 0x14]
push edx
push esi
push eax
mov dword [esp + 0x2c], 2
call dword [0x468038]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [0x468074]
mov eax, esi
pop esi
add esp, 0x14
ret 4
Function at 0x40a690
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push edi
push str.Registering_dll__s
call fcn.0040bd90
add esp, 8
test edi, edi
je 0x40a6e3
push edi
call dword [0x468398]
test eax, eax
je 0x40a6d6
push edi
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x40a6d6
call fcn.004492d0
push eax
push edi
call fcn.004492e0
add esp, 8
jmp 0x40a6e3
push edi
call dword [0x4681f4]
mov ebx, eax
test ebx, ebx
jne 0x40a6f9
push edi
push str.Can_not_load__s__return.
call fcn.0040bd90
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
push ebp
push str.DllRegisterServer
push ebx
xor ebp, ebp
call dword [0x4681dc]
test eax, eax
je 0x40a717
call eax
xor ecx, ecx
test eax, eax
setge cl
mov ebp, ecx
push ebx
call dword [0x468294]
push edi
push str.Register__s_done.
call fcn.0040bd90
add esp, 8
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
ret 8

Function at 0x40a740
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
test esi, esi
je 0x40a771
push esi
call dword [0x468398]
test eax, eax
je 0x40a775
push esi
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x40a775
call fcn.004492d0
push eax
push esi
call fcn.004492e0
add esp, 8
xor edi, edi
jmp 0x40a77e
push esi
call dword [0x4681f4]
mov edi, eax
test esi, esi
jne 0x40a789
pop edi
xor eax, eax
pop esi
ret 8
push str.DllUnregisterServer
push edi
call dword [0x4681dc]
test eax, eax
je 0x40a79b
call eax
push edi
call dword [0x468294]
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x40ac60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x466938
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x40acdd
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x40acdd
lea eax, [esp + 0x28]
push eax
call fcn.0040c160
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x468398]
test eax, eax
jne 0x40acf5
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40acdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
mov esi, dword [esp + 0x28]
mov eax, dword [esi - 0xc]
cmp eax, 0x100
jl 0x40ad1d
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40acd1
push 0x2a0
push 0
push ebx
call fcn.00449530
push 0x100
push esi
push ebx
call fcn.00449f8b
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x34]
add esp, 0x18
push edx
push ebp
call eax
mov dword [ebx + 0x208], eax
test eax, eax
je 0x40ad82
mov ecx, dword [ebp]
lea edx, [ebx + 0x28c]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [ebx + 0x288]
push eax
mov eax, dword [ecx + 0x3c]
push edx
push ebp
call eax
mov edi, dword [esp + 0x28]
lea esi, [ebx + 0x218]
call fcn.00414350
jmp 0x40adac
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x468360]
test eax, eax
je 0x40adac
mov ecx, dword [ebp + 8]
push ecx
push 0x10
lea edx, [ebx + 0x218]
push edx
push 0
push 0x471634
push eax
call dword [0x468144]
mov edx, dword [esp + 0x28]
mov eax, dword [ebp]
mov eax, dword [eax + 0x38]
push 0x28
lea ecx, [ebx + 0x238]
push ecx
push edx
push ebp
call eax
lea ecx, [esp + 0x28]
call fcn.00414460
mov dword [ebx + 0x210], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [ebx + 0x214], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ae00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40acdf
Function at 0x40b240
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x68
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
mov esi, dword [esp + 0x74]
push edi
mov edi, dword [esp + 0x7c]
xor eax, eax
test edi, edi
je 0x40b2c0
mov word [edi], ax
test esi, esi
jne 0x40b27a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0044951c
add esp, 0x68
ret 0x10
push esi
call dword [0x468398]
test eax, eax
je 0x40b265
push 0x64
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.00449530
add esp, 0xc
lea eax, [esp + 8]
mov ecx, esi
call fcn.00414230
test eax, eax
je 0x40b265
mov eax, dword [esp + 0x80]
push ebx
push edi
lea ebx, [esp + 0x10]
call fcn.004142f0
add esp, 4
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.0044951c
add esp, 0x68
ret 0x10

Function at 0x40b430
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [0x46806c]
push eax
call dword [0x468030]
test eax, eax
jne 0x40b452
xor eax, eax
add esp, 0x14
ret 4
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [0x468034]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [0x468038]
call dword [0x468088]
test eax, eax
jne 0x40b44a
push 0x80020003
push 0x12
call dword [0x468488]
neg eax
sbb eax, eax
neg eax
add esp, 0x14
ret 4
Function at 0x40bb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x466b46
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x47eb18]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x40bd5e
mov eax, dword [0x480ad8]
mov edx, dword [eax + 0xc]
mov ecx, 0x480ad8
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x248], 0
cmp dword [edi + 0x10], 0
jne 0x40bc53
lea eax, [esp + 0x10]
push eax
call dword [0x468340]
test eax, eax
jl 0x40bc5f
lea ecx, [esp + 0x1c]
push ecx
push 0x15
push 0
call dword [0x46833c]
test eax, eax
jl 0x40bc45
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push eax
call dword [0x468338]
lea edx, [esp + 0x2c]
lea edi, [esp + 0x14]
call fcn.00402b90
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x40bc5f
lea eax, [edi + 4]
lea edi, [esp + 0x14]
call fcn.00402bf0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
mov ebx, 0x4717a0
je 0x40bc73
mov ebx, str.360safe.setup.log
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040c210
mov byte [esp + 0x250], 1
mov eax, dword [esp + 0x20]
push 0x4717ec
push eax
call fcn.0044b46b
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40bd0b
push 2
push 0
push edi
call fcn.0044cbb8
add esp, 0xc
push 0
call fcn.0044c578
add esp, 4
push edx
push eax
lea eax, [esp + 0x28]
call fcn.00409d20
lea ebx, [esp + 0x10]
lea ecx, [esp + 0x20]
call fcn.00409d80
mov ecx, dword [esp + 0x10]
push esi
push ecx
push str._s__s_r_n
push edi
call fcn.0044cc3d
push edi
call fcn.0044ad6f
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bd0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x248], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x248], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bd5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0044951c
mov esp, ebp
pop ebp
ret 8
Function at 0x40bed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x479cd0
push 0x44b490
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
mov eax, dword [0x47eb18]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x40bf3b
cmp dword [0x48229c], 0
jne 0x40bfaa
push str.ntdll
call dword [0x468398]
test eax, eax
je 0x40bf7b
push str.ntdll
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x40bf7b
call fcn.004492d0
push eax
push str.ntdll
call fcn.004492e0
add esp, 8
xor edi, edi
jmp 0x40bf9d
push str.ntdll
call dword [0x4681f4]
mov edi, eax
test edi, edi
je 0x40bf9d
push str.NtQueryInformationProcess
push edi
call dword [0x4681dc]
mov dword [0x48229c], eax
cmp dword [0x48229c], 0
je 0x40c03d
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x410
call dword [0x46827c]
mov esi, eax
test esi, esi
je 0x40c03d
push 0
push 0x18
lea ecx, [ebp - 0x3c]
push ecx
push 0
push esi
call dword [0x48229c]
test eax, eax
jne 0x40c036
lea edx, [ebp - 0x1c]
push edx
push 0x1c
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push esi
mov ebx, dword [0x46825c]
call ebx
test eax, eax
je 0x40c036
lea edx, [ebp - 0x1c]
push edx
push 0x90
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
push esi
call ebx
test eax, eax
je 0x40c036
movzx eax, word [ebp - 0xa8]
cmp dword [ebp + 0x14], eax
jb 0x40c036
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
push esi
call ebx
test eax, eax
je 0x40c036
mov dword [ebp - 0x20], 1
push esi
call dword [0x468074]
test edi, edi
je 0x40c048
push edi
call dword [0x468294]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40c060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
xor eax, eax
push edi
push str.ntdll
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call dword [0x468398]
test eax, eax
je 0x40c0d1
push str.ntdll
call fcn.004044e0
add esp, 4
test eax, eax
jne 0x40c0d1
call fcn.004492d0
push eax
push str.ntdll
call fcn.004492e0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.ntdll
call dword [0x4681f4]
mov esi, eax
test esi, esi
je 0x40c0fb
push str.NtQueryInformationProcess
push esi
call dword [0x4681dc]
mov ebx, eax
test ebx, ebx
jne 0x40c107
push esi
call dword [0x468294]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
push 0
push 0x400
call dword [0x46827c]
mov edi, eax
test edi, edi
je 0x40c0f4
push 0
push 0x18
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
call ebx
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x40c138
mov ebx, dword [esp + 0xc]
push edi
call dword [0x468074]
push esi
call dword [0x468294]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c980
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1104
call fcn.00449f20
mov eax, dword [0x47eb18]
xor eax, esp
mov dword [esp + 0x1100], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1110]
push esi
push edi
push 0x800
lea eax, [esp + 0x914]
push 0
push eax
call fcn.00449530
push 0x800
lea ecx, [esp + 0x120]
push 0
push ecx
call fcn.00449530
push 0x100
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.00449530
add esp, 0x24
lea eax, [esp + 0x910]
push eax
push 0x400
call dword [0x46814c]
mov edi, dword [0x46839c]
mov ebx, dword [0x468398]
xor esi, esi
mov edx, dword [0x481fc0]
mov eax, dword [edx + 0x2c]
push 0x80
lea ecx, [esp + 0x14]
push ecx
push 0x481fc0
call eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x914]
push edx
lea eax, [esp + 0x118]
push eax
call edi
lea eax, [esp + 0x110]
add eax, 0xfffffffe
jmp 0x40ca40
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x40ca40
mov ecx, dword [0x471914]
mov edx, dword [0x471918]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x110]
push eax
call ebx
test eax, eax
je 0x40ca8e
inc esi
cmp esi, 0xa
jl 0x40ca00
xor eax, eax
mov ecx, dword [esp + 0x1110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044951c
add esp, 0x1104
ret 4
lea eax, [esp + 0x110]
lea edx, [eax + 2]
jmp 0x40caa0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40caa0
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x110]
mov ebx, eax
push ecx
mov eax, ebp
call fcn.00402c50
mov eax, 1
jmp 0x40ca73