joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4345a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4444e0
push 0x43e794
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x434746
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
mov esi, eax
test esi, esi
je 0x434746
lea edi, [esi - 9]
push 9
push 0x46d9d4
push edi
mov ebx, dword [sym.imp.MSVCRT.dll__mbsnbicmp]
call ebx
add esp, 0xc
test eax, eax
je 0x434746
push 9
push 0x46d3f8
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x434746
push 0x47ba38
push esi
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
call edi
add esp, 8
test eax, eax
jne 0x434639
mov eax, 1
jmp 0x434651
push 0x47ba2c
push esi
call edi
add esp, 8
test eax, eax
jne 0x434746
mov eax, 2
mov edi, dword [ebp + 0xc]
xor ecx, ecx
cmp edi, ecx
jne 0x434672
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], edi
cmp word [edi], 0x5a4d
jne 0x434729
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [ebp - 0x2c], esi
cmp word [esi + 6], cx
je 0x434729
cmp dword [esi], 0x4550
jne 0x434729
cmp word [esi + 0x18], 0x10b
jne 0x434729
cmp eax, 1
jne 0x4346d4
mov ebx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov ecx, dword [ebp - 0x30]
call fcn.00434060
test eax, eax
jne 0x4346eb
push ebx
push esi
push edi
mov ecx, dword [ebp - 0x30]
call fcn.00434270
test eax, eax
je 0x434729
jmp 0x4346eb
cmp eax, 2
jne 0x434729
mov eax, dword [ebp + 0x10]
push eax
push esi
push edi
mov ecx, dword [ebp - 0x30]
call fcn.004343d0
test eax, eax
je 0x434729
push 1
call fcn.004197d0
add esp, 4
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x434890
Capabilities:
Enumerate pe sections
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444588
push 0x43e794
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x144], ecx
xor ebx, ebx
mov byte [ebp - 0x12c], bl
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0x105
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0x47c558
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x43491d
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x12c]
push eax
call fcn.00414f90
add esp, 4
test eax, eax
jne 0x434943
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push ebx
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00415170
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x130], esi
cmp esi, ebx
jne 0x434976
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], ebx
push esi
call fcn.00414750
add esp, 4
test eax, eax
je 0x434a2f
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x13c], eax
xor edx, edx
mov dx, word [eax + 0x14]
lea ecx, [edx + eax + 0x18]
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ebx
mov edx, 1
mov dword [ebp - 0x134], edx
xor edi, edi
mov di, word [eax + 6]
cmp edx, edi
ja 0x4349da
cmp dword [ecx], 0x7865742e
je 0x4349da
inc edx
mov dword [ebp - 0x134], edx
add ecx, 0x28
mov dword [ebp - 0x138], ecx
jmp 0x4349b6
xor edi, edi
mov di, word [eax + 6]
cmp edx, edi
jbe 0x4349fa
mov eax, dword [ebp + 0xc]
push eax
push 0x6b
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x144]
push edx
jmp 0x434a27
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x140], eax
mov edx, dword [ecx + 0xc]
cmp eax, edx
jb 0x434a13
mov ecx, dword [ecx + 8]
add ecx, edx
cmp eax, ecx
jbe 0x434a32
mov edx, dword [ebp + 0xc]
push edx
push 0x6b
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x144]
push ecx
call dword [ebp + 8]
mov ebx, 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x434a53
push esi
call fcn.00415210
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444598
push 0x43e794
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x158], ecx
xor ebx, ebx
mov byte [ebp - 0x124], bl
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + eax - 0x124]
lea ecx, [ebp - 0x20]
sub ecx, eax
cmp ecx, 0x7fffffff
ja 0x434b0d
mov esi, ecx
cmp ecx, ebx
je 0x434b0d
mov edx, 0x47ba80
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x434b06
mov byte [eax], cl
inc eax
dec esi
jne 0x434af9
cmp esi, ebx
jne 0x434b0b
dec eax
mov byte [eax], bl
lea ecx, [ebp - 0x124]
push ecx
call fcn.00414f90
add esp, 4
test eax, eax
je 0x434c74
lea edx, [ebp - 0x124]
push edx
call fcn.00414220
add esp, 4
cmp eax, ebx
je 0x434c74
cmp eax, 0x32000
jb 0x434c74
cmp eax, 0x3e800
ja 0x434c74
push 1
push ebx
lea eax, [ebp - 0x124]
push eax
call fcn.00415170
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x12c], edi
cmp edi, ebx
je 0x434c74
mov dword [ebp - 4], ebx
push edi
call fcn.00414750
add esp, 4
test eax, eax
je 0x434c11
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [ebp - 0x134], eax
cmp word [eax + 6], 3
jne 0x434c11
xor ecx, ecx
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x68]
mov dword [ebp - 0x13c], edx
cmp dword [edx], 0x7275782e
jne 0x434c11
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x138], eax
mov ecx, dword [edx + 0xc]
cmp eax, ecx
jb 0x434c11
mov edx, dword [edx + 8]
add edx, ecx
cmp eax, edx
ja 0x434c11
mov eax, dword [ebp + 0xc]
push eax
push 0x6b
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [ebp + 8]
mov esi, 1
mov dword [ebp - 0x128], esi
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00415210
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor esi, esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00415210
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x434c90
Capabilities:
Enumerate files on windows
Query or enumerate registry value

Disassembly:
sub esp, 0x25c
push esi
mov dword [esp + 0xc], ecx
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
push str.Path
push 0x47bab0
push connect
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x105
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x434e3f
cmp dword [esp + 0x18], 1
jne 0x434e3f
mov eax, dword [esp + 8]
test eax, eax
je 0x434e3f
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esp + ecx + 0x1b]
lea edi, [esp + ecx + 0x1c]
cmp al, 0x3b
jne 0x434d20
mov byte [edi - 1], 0
dec edi
mov byte [edi], 0x5c
mov edx, dword [esp + 8]
mov ecx, 0x105
inc edi
sub ecx, edx
cmp ecx, 0x7fffffff
ja 0x434d5d
test ecx, ecx
mov esi, ecx
mov eax, edi
je 0x434d5d
mov edx, 0x46e888
sub edx, edi
mov cl, byte [edx + eax]
test cl, cl
je 0x434d55
mov byte [eax], cl
inc eax
dec esi
jne 0x434d46
jmp 0x434d59
test esi, esi
jne 0x434d5a
dec eax
mov byte [eax], 0
lea eax, [esp + 0x124]
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x434e3f
push ebx
mov ebx, dword [esp + 0x26c]
push ebp
mov ebp, dword [esp + 0x274]
test byte [esp + 0x12c], 0x10
jne 0x434e0c
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edx, [esp + 0x158]
push 0x47baa0
push edx
call esi
add esp, 8
test eax, eax
je 0x434e0c
lea eax, [esp + 0x158]
push 0x47ba94
push eax
call esi
add esp, 8
test eax, eax
je 0x434e0c
lea edx, [esp + 0x158]
mov esi, 0x104
mov eax, edi
sub edx, edi
mov cl, byte [edx + eax]
test cl, cl
je 0x434de8
mov byte [eax], cl
inc eax
dec esi
jne 0x434dd9
jmp 0x434dec
test esi, esi
jne 0x434ded
dec eax
push ebp
lea ecx, [esp + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x24]
mov byte [eax], 0
call fcn.00434e50
test eax, eax
je 0x434e0c
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x12c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434d8d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x25c
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x25c
ret 8
Function at 0x435690
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
call fcn.00414f90
add esp, 4
test eax, eax
je 0x4357e7
lea eax, [esp + 0xc]
push 1
push eax
push edi
call fcn.00415170
mov edi, eax
add esp, 0xc
cmp edi, esi
mov dword [esp + 8], edi
je 0x4357e7
mov edx, dword [edi + 0x3c]
push ebx
add edx, edi
push ebp
cmp edx, esi
je 0x4357b9
cmp word [edi], 0x5a4d
jne 0x4357b9
cmp dword [edx], 0x4550
jne 0x4357b9
mov bx, word [edx + 6]
cmp bx, si
je 0x4357b9
xor ecx, ecx
mov cx, word [edx + 0x14]
lea eax, [ecx + edx + 0x18]
cmp eax, esi
je 0x4357b9
mov ecx, 5
mov edi, 0x46d0e0
mov esi, eax
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x435737
mov edi, dword [esp + 0x10]
mov esi, 1
jmp 0x4357b9
mov ecx, 5
mov edi, 0x47bb6c
mov esi, eax
xor ebp, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x43575b
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x43575b
mov edi, dword [esp + 0x10]
mov esi, 1
jmp 0x4357b9
cmp dword [eax], 0x31585055
jne 0x43576e
mov edi, dword [esp + 0x10]
mov esi, 1
jmp 0x4357b9
mov edi, dword [esp + 0x10]
mov esi, dword [edx + 0x28]
cmp dword [edi + 0x3c], 0x40
jb 0x4357ae
mov ecx, dword [edx + 0x2c]
cmp esi, ecx
jb 0x4357ae
mov edx, dword [edx + 0x1c]
add edx, ecx
cmp esi, edx
ja 0x4357ae
cmp bx, 1
jbe 0x4357b5
and ebx, 0xffff
mov ecx, ebx
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8 - 0x28]
cmp esi, dword [eax + 0x14]
jbe 0x4357b5
test dword [eax + 0x24], 0x80000000
je 0x4357b5
mov esi, 1
jmp 0x4357b9
mov esi, dword [esp + 0x18]
push edi
call fcn.00415210
add esp, 4
test esi, esi
pop ebp
pop ebx
je 0x4357e7
mov edx, dword [esp + 0x18]
push edx
call fcn.0041e770
mov ecx, eax
call fcn.0041eb60
test eax, eax
je 0x4357e7
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 4
mov eax, esi
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x436350
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x110
lea eax, [esp]
push ebx
push eax
push 0xf003f
push 0
push ecx
push edx
mov ebx, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x436388
xor eax, eax
pop ebx
add esp, 0x110
ret 8
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [esp + 0x14], 0x105
xor esi, esi
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
push esi
push edx
call edi
cmp eax, 0x103
je 0x4363ef
test eax, eax
jne 0x4363ed
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call ebp
test eax, eax
je 0x4363b3
xor ebx, ebx
inc esi
jmp 0x4363b3
xor ebx, ebx
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x110
ret 8
Function at 0x436420
Capabilities:
Enumerate pe sections
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444618
push 0x43e794
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x168], ecx
xor ebx, ebx
mov byte [ebp - 0x124], bl
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
push ebx
push 0x26
lea eax, [ebp - 0x124]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x43648e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x104
lea eax, [ebp - 0x124]
xor edx, edx
cmp byte [eax], bl
je 0x4364a3
inc eax
dec ecx
jne 0x43649b
cmp ecx, ebx
jne 0x4364ac
mov edx, 0x80070057
cmp edx, ebx
jl 0x4364c3
lea eax, [ebp - 0x140]
test eax, eax
je 0x4364c3
mov eax, 0x104
sub eax, ecx
jmp 0x4364c9
mov eax, dword [ebp - 0x140]
cmp edx, ebx
jl 0x4364f8
mov edx, 0x104
sub edx, eax
lea eax, [ebp + eax - 0x124]
je 0x4364f8
mov esi, 0x47bc28
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x4364f1
mov byte [eax], cl
inc eax
dec edx
jne 0x4364e4
cmp edx, ebx
jne 0x4364f6
dec eax
mov byte [eax], bl
lea ecx, [ebp - 0x124]
push ecx
call fcn.00414f90
add esp, 4
test eax, eax
jne 0x43651e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push ebx
lea edx, [ebp - 0x124]
push edx
call fcn.00415170
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x128], edi
cmp edi, ebx
jne 0x436551
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 4], ebx
push edi
call fcn.00414750
add esp, 4
test eax, eax
je 0x436628
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [ebp - 0x134], eax
mov si, word [eax + 6]
cmp si, 3
jne 0x436596
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], ebx
mov ecx, 1
mov dword [ebp - 0x12c], ecx
mov ebx, esi
and ebx, 0xffff
cmp ecx, ebx
ja 0x4365dd
cmp dword [edx], 0x6265682e
je 0x4365dd
inc ecx
mov dword [ebp - 0x12c], ecx
add edx, 0x28
mov dword [ebp - 0x130], edx
jmp 0x4365b7
and esi, 0xffff
cmp ecx, esi
ja 0x436628
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x138], eax
mov ecx, dword [edx + 0xc]
cmp eax, ecx
jb 0x436628
mov edx, dword [edx + 8]
add edx, ecx
cmp eax, edx
ja 0x436628
mov eax, dword [ebp + 0xc]
push eax
push 0x6b
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call dword [ebp + 8]
mov esi, 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x43664e
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
jmp 0x43664e
push edi
call fcn.00415210
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x436ea0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x440b6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esp + 5], eax
push edi
mov dword [esp + 0xd], eax
push ecx
mov dword [esp + 0x15], eax
mov byte [esp + 0xc], 0
mov word [esp + 0x19], ax
mov byte [esp + 0x1b], al
call fcn.0043f9e0
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push edx
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.0043f0d0
lea edx, [esp + 0x4c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0043f1cf
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
add esp, 0x18
lea ecx, [esp + 4]
call fcn.00412970
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
push ecx
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0xa4], 0
call fcn.00413f90
mov eax, dword [esp + 0xac]
push 0x20
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
pop edi
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp]
jne 0x436f8f
call fcn.00413f80
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
add esp, 0x9c
ret
call fcn.00413f80
mov ecx, dword [esp + 0x90]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x9c
ret

Function at 0x437070
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
test ebx, ebx
jne 0x43708e
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push connect
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x437109
cmp dword [esp + 0xc], 1
jne 0x437109
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + ecx + 0x13]
mov cl, byte [esp + ecx + 0x13]
cmp cl, 0x3b
jne 0x4370f4
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x437109
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 4
Function at 0x437810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
mov eax, 0x811c9dc5
test edx, edx
jbe 0x437832
mov ecx, dword [esp + 4]
push esi
movsx esi, byte [ecx]
imul eax, eax, 0x1000193
xor eax, esi
inc ecx
dec edx
jne 0x437822
pop esi
ret
Function at 0x4383f0
Capabilities:
Get common file path
Print debug messages

Disassembly:
sub esp, 0x108
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x43842c
pop edi
pop esi
add esp, 0x108
ret 4
mov esi, dword [esp + 0x114]
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 8
test eax, eax
jne 0x43844e
pop edi
pop esi
add esp, 0x108
ret 4
sub eax, esi
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x43846e
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret 4
lea edx, [esp + 8]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
je 0x43848a
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret 4
push esi
call fcn.0041e770
mov ecx, eax
call fcn.0041eb60
test eax, eax
je 0x4384a8
pop edi
xor eax, eax
pop esi
add esp, 0x108
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x47be80
call edi
push esi
call edi
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret 4
Function at 0x438fc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x440beb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov al, byte [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esi]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebx
call fcn.00438d40
mov eax, dword [esp + 0x20]
mov byte [esp + 0x34], 1
cmp eax, ebx
je 0x439025
mov edx, dword [esp + 0x28]
sub edx, eax
sar edx, 2
cmp edx, 0x64
jae 0x43909d
push 0x190
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esp + 0x28]
add esp, 4
cmp esi, eax
mov edi, ebp
mov ebx, eax
je 0x439060
push esi
push edi
call fcn.00437ee0
add esi, 4
add esp, 8
add edi, 4
cmp esi, ebx
jne 0x439044
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00411ed0
mov eax, dword [esp + 0x20]
push eax
call fcn.0043fa08
lea ecx, [ebp + 0x190]
add esp, 4
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
call fcn.00439210
mov esi, dword [esp + 0x10]
lea edx, [ebp + eax*4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebp
xor ebx, ebx
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esi]
push edx
call fcn.0043b540
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
cmp edi, ebx
mov byte [esp + 0x34], 2
je 0x4390e8
mov al, byte [esp + 0x3c]
push 0x10
mov byte [edi], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
jmp 0x4390ea
xor edi, edi
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ebp, eax
mov byte [esp + 0x34], 1
je 0x439152
mov ecx, dword [ebp]
push 0x10
mov dword [esp + 0x1c], ecx
mov esi, dword [edi + 4]
mov ebx, dword [esi + 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, esi
test esi, esi
jne 0x43911a
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x439124
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x14]
push edx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.00439230
mov edx, dword [edi + 8]
add esp, 8
inc edx
add ebp, 4
mov dword [edi + 8], edx
mov eax, dword [esp + 0x24]
cmp ebp, eax
jne 0x4390fb
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.00438dc0
mov eax, dword [esp + 0x20]
push eax
call fcn.0043fa08
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4