joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10024ad0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a46e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c66d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x100
call fcn.1003c472
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x10], 0x80
mov dword [ebp - 0x14], 0x44
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
jne 0x10024bdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10024bdb
cmp dword [ebp - 0x14], 0x44
jbe 0x10024b7b
test esi, esi
je 0x10024b67
push esi
call fcn.1003d45d
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x10]
cmp edi, 0x80
jbe 0x10024bbf
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003c472
mov edi, eax
add esp, 4
test edi, edi
je 0x10024bb0
cmp edi, esi
jne 0x10024bb0
call fcn.1003e1c7
test esi, esi
je 0x10024bbd
push esi
call fcn.1003d45d
add esp, 4
mov esi, edi
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push esi
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
setne bl
test esi, esi
je 0x10024bed
push esi
call fcn.1003d45d
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10024cc0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a691b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x30]
push edx
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
mov dword [ebp - 0x94], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10024d75
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x74]
call fcn.10024ad0
add esp, 4
test al, al
je 0x10024d75
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x74]
call fcn.10024c20
add esp, 4
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.100050d0
cmp dword [ebp - 0x7c], 8
jb 0x10024d75
mov edx, dword [ebp - 0x90]
push edx
call fcn.1003d468
add esp, 4
mov dword [esi], 0
call fcn.10024a20
test al, al
mov al, 1
jne 0x10024d8c
mov dword [esi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10028520
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov ecx, dword [0x100c9918]
cmp ecx, ebx
jne 0x1002858a
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x10028579
mov esi, eax
call fcn.10035040
jmp 0x1002857b
xor eax, eax
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x100c9918], ecx
lea edx, [ebp - 0x64]
call fcn.10035560
push 1
mov eax, 0x100b6220
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 1
call fcn.10005e70
lea esi, [ebp - 0x2c]
call fcn.1002a220
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10005d70
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x100285db
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x10028627
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x100285eb
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x10028627
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
mov esi, 7
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.10005150
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [esi - 6]
jmp 0x10028655
push ebx
xor eax, eax
mov esi, 7
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
call fcn.10005fb0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
xor ecx, ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
mov dword [ebp - 0x68], ebx
call fcn.100050d0
or ebx, 4
test bl, 2
je 0x1002869c
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x1002868c
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
test bl, 1
je 0x100286c3
cmp dword [ebp - 0x18], 8
jb 0x100286b3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], 8
jb 0x100286d5
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x1002b760
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a653d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x68], esi
mov edi, dword [0x100c9918]
mov dword [ebp - 0x6c], eax
cmp edi, esi
jne 0x1002b7d1
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x1002b7c0
mov esi, eax
call fcn.10035040
jmp 0x1002b7c2
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x100c9918], edi
lea ebx, [ebp - 0x64]
call fcn.10035310
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.10025860
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10005d70
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x1002b815
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x1002b861
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1002b825
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x1002b861
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
mov edi, 7
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.10005150
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [edi - 6]
jmp 0x1002b88f
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
mov edi, 7
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.10005fb0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
mov esi, dword [ebp - 0x6c]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov dword [ebp - 0x68], ebx
mov word [esi], dx
call fcn.100050d0
or ebx, 4
test bl, 2
je 0x1002b8d9
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x1002b8c9
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
test bl, 1
je 0x1002b900
cmp dword [ebp - 0x18], 8
jb 0x1002b8f0
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], 8
jb 0x1002b912
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x1002c890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a653d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x68], esi
mov edi, dword [0x100c9918]
mov dword [ebp - 0x6c], eax
cmp edi, esi
jne 0x1002c901
push 0x138
call fcn.1003d7eb
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], esi
cmp eax, esi
je 0x1002c8f0
mov esi, eax
call fcn.10035040
jmp 0x1002c8f2
xor eax, eax
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x100c9918], edi
lea ebx, [ebp - 0x64]
call fcn.10035310
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.10025800
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.10005d70
mov esi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x1002c945
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [ebp - 0x54], ebx
je 0x1002c991
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1002c955
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x1002c991
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
xor edx, edx
mov edi, 7
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.10005150
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ebx, [edi - 6]
jmp 0x1002c9bf
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
mov edi, 7
push 0x100b61ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.10005fb0
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 4
mov ebx, 2
mov esi, dword [ebp - 0x6c]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
push eax
mov ecx, esi
mov dword [ebp - 0x68], ebx
mov word [esi], dx
call fcn.100050d0
or ebx, 4
test bl, 2
je 0x1002ca09
and ebx, 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x1002c9f9
mov eax, dword [ebp - 0x48]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], cx
test bl, 1
je 0x1002ca30
cmp dword [ebp - 0x18], 8
jb 0x1002ca20
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], 8
jb 0x1002ca42
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.1003d468
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10033b10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.10033bf0
test al, al
je 0x10033b3f
mov eax, 5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10044ad0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10033b88
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x10033b98
mov eax, 1
cmp dword [ebp - 0x110], eax
je 0x10033b8a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x10033b88
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10033bba
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10033bd2
mov eax, 3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10033b88
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 4
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10035310
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6220
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x6c], esi
cmp dword [edi + 0x10], esi
je 0x1003536a
cmp dword [edi + 0x14], 8
jb 0x1003534d
mov eax, dword [edi]
jmp 0x1003534f
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
test al, al
je 0x1003536a
push 0xffffffffffffffff
mov dword [ebx + 0x10], esi
push esi
jmp 0x1003552b
cmp byte [edi + 0x134], 0
je 0x1003543a
cmp dword [edi + 0x128], esi
je 0x1003543a
call fcn.10033b10
lea esi, [ebp - 0x48]
cmp eax, 1
je 0x100353d3
call fcn.10033e40
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10033de0
push 0
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [ebp - 4], 1
call fcn.10005d70
push 0
lea ecx, [edi + 0x118]
mov esi, eax
push ecx
or eax, 0xffffffff
call fcn.10005d70
mov edx, dword [ebp - 0x68]
push 0
push edx
jmp 0x10035414
call fcn.10033e70
mov dword [ebp - 0x68], eax
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 2
call fcn.10033e10
push 0
push eax
or eax, 0xffffffff
mov esi, edi
mov byte [ebp - 4], 3
call fcn.10005d70
mov esi, eax
push 0
lea eax, [edi + 0x118]
push eax
or eax, 0xffffffff
call fcn.10005d70
mov ecx, dword [ebp - 0x68]
push 0
push ecx
mov esi, eax
or eax, 0xffffffff
call fcn.10005d70
lea ecx, [ebp - 0x2c]
call fcn.10004230
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10004230
jmp 0x10035520
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x68], 0x80000001
call fcn.10033ea0
mov dword [ebp - 0x6c], eax
lea esi, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.10033d50
push 0
lea edx, [ebp - 0x68]
push edx
mov edx, dword [ebp - 0x6c]
mov ecx, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.100357d0
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.100050d0
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x10035494
mov eax, dword [ebp - 0x64]
push eax
call fcn.1003d468
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x34], esi
jb 0x100354b9
mov edx, dword [ebp - 0x48]
push edx
call fcn.1003d468
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x100354e5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1003d468
add esp, 4
cmp dword [edi + 0x10], 0
ja 0x10035520
push 0x100ab2b8
lea esi, [ebp - 0x2c]
call fcn.100359d0
push eax
mov ecx, edi
mov dword [ebp - 4], 7
call fcn.100050d0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x10035520
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1003d468
add esp, 4
push 0xffffffffffffffff
mov dword [ebx + 0x10], 0
push 0
xor eax, eax
mov dword [ebx + 0x14], 7
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.10005150
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10035b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a60e8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x40], esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x44], esi
jb 0x10035b41
mov eax, dword [eax]
lea edi, [ebp - 0x3c]
push edi
or edx, 0x20019
push edx
xor edi, edi
push edi
push eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10035b64
xor al, al
jmp 0x10035c9c
lea ecx, [ebp - 0x34]
push ecx
push edi
lea edx, [ebp - 0x38]
push edx
push edi
mov eax, ebx
mov dword [esi], edi
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.1000bed0
push eax
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
je 0x10035b9b
cmp eax, edi
jne 0x10035c8f
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003c472
mov ecx, dword [ebp - 0x34]
add esp, 4
mov esi, eax
test ecx, ecx
je 0x10035bd7
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [ebp - 0x34]
push eax
push esi
lea ecx, [ebp - 0x38]
push ecx
xor edi, edi
push edi
mov eax, ebx
call fcn.1000bed0
mov edx, dword [ebp - 0x3c]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x10035c82
mov eax, dword [ebp - 0x38]
cmp eax, 1
jne 0x10035c2b
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10035c10
mov ecx, dword [ebp - 0x40]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.10005fb0
jmp 0x10035c76
cmp eax, 7
je 0x10035c35
cmp eax, 2
jne 0x10035c76
mov eax, dword [ebp - 0x34]
inc eax
shr eax, 1
xor ecx, ecx
push eax
mov word [ebp - 0x2c], cx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.10005fb0
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], edi
call fcn.100050d0
cmp dword [ebp - 0x18], 8
jb 0x10035c76
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov byte [ebp - 0x2d], 1
cmp esi, edi
je 0x10035c8f
push esi
call fcn.1003d45d
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035cc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x14], 8
push ebx
mov ebx, edx
mov dword [ebp - 4], 0
jb 0x10035cd6
mov eax, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0
or ecx, 0x2001b
push ecx
push 0
push 0
push 0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x10035d05
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x14], 8
mov edx, dword [esi + 0x10]
jb 0x10035d12
mov ecx, dword [esi]
jmp 0x10035d14
mov ecx, esi
cmp dword [ebx + 0x14], 8
jb 0x10035d1e
mov eax, dword [ebx]
jmp 0x10035d20
mov eax, ebx
lea edx, [edx + edx + 2]
push edx
push ecx
push 1
push 0
push eax
mov eax, dword [ebp - 4]
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10035d3d
xor bl, bl
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10035d50
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x14], 8
jb 0x10035d5b
mov ecx, dword [ecx]
lea edx, [ebp + 8]
push edx
or eax, 2
push eax
mov eax, dword [ebp + 8]
push 0
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10035d7c
xor al, al
pop ebp
ret 4
cmp dword [esi + 0x14], 8
push ebx
mov bl, 1
jb 0x10035d89
mov eax, dword [esi]
jmp 0x10035d8b
mov eax, esi
mov edx, dword [ebp + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x10035d9c
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop ebp
ret 4
Function at 0x10037740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7890
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x10], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, ecx
je 0x10037794
cmp dword [edi + 0x14], 8
jb 0x10037782
mov eax, dword [edi]
jmp 0x10037784
mov eax, edi
push eax
call ebx
test eax, eax
setne al
test al, al
jne 0x1003781f
cmp dword [esi + 0x10], 0
je 0x100377b2
cmp dword [esi + 0x14], 8
jb 0x100377a4
mov eax, dword [esi]
jmp 0x100377a6
mov eax, esi
push eax
call ebx
test eax, eax
setne al
test al, al
jne 0x1003781f
mov ecx, esi
lea esi, [ebp - 0x48]
call fcn.10037840
mov ebx, eax
mov ecx, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10037840
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.1000db80
mov esi, 0x10
add esp, 8
mov bl, al
cmp dword [ebp - 0x18], esi
jb 0x100377f5
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1003d468
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], esi
jb 0x10037818
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1003d468
add esp, 4
test bl, bl
setne al
jmp 0x10037821
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret
Function at 0x10037840
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a784d
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x100c66d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], esi
cmp dword [edi + 0x10], ebx
jne 0x100378a0
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x100b6252
mov ecx, esi
mov byte [esi], bl
call fcn.10005990
jmp 0x100379fb
lea eax, [ebp - 0x138]
push eax
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.100399a0
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
jb 0x100378e2
mov ecx, dword [edi]
jmp 0x100378e4
mov ecx, edi
push 0x21
lea edx, [ebp - 0x128]
call fcn.10019780
test eax, eax
jne 0x10037919
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x12c]
lea ecx, [ebp + ecx - 0x138]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x1003793a
or eax, 4
jmp 0x1003793a
mov edx, dword [ebp - 0x138]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0x100]
lea ecx, [ebp + ecx - 0x138]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
and eax, 0x17
test dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
je 0x1003794b
push ebx
call fcn.10001610
cmp dword [ebp - 0xd4], ebx
jne 0x1003798d
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x100b6252
mov ecx, esi
mov byte [esi], bl
call fcn.10005990
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
call fcn.100044c0
lea eax, [ebp - 0xd0]
push eax
jmp 0x100379e9
lea edi, [ebp - 0x138]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
call fcn.1003a050
mov edi, esi
lea eax, [ebp - 0x80]
call fcn.1003ab80
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], bl
call fcn.100044c0
lea ecx, [ebp - 0xd0]
push ecx
mov dword [ebp - 0xd0], vtable.std::ios_base.0
call fcn.1003baf7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c5b5
mov esp, ebp
pop ebp
ret