joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100070b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x100070f4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.100064f0
mov dword [ebp - 4], 0
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x10007251
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
jge 0x10007152
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10006e70
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1000725b
push edi
push edx
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.1009fd47
add esp, 8
test eax, eax
js 0x1000725b
cmp eax, dword [esi - 8]
jg 0x1000725b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x100071fb
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100071fb
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100071fb
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.100051b0
lea eax, [ebx + 0x48]
mov ecx, ebx
push eax
lea eax, [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call fcn.100066b0
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.100063b0
mov ecx, eax
call fcn.10019080
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x10007200
mov edi, 0x80004005
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000721e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1000723d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005aa0
push 0x80070057
call fcn.10005aa0
int3
Function at 0x100073d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10007429
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10007429
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000741a
cmp esi, edx
jae 0x10007429
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10007408
cmp esi, edx
jae 0x10007429
cmp word [esi], 0
je 0x10007429
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x100093c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4b8b
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.10075220
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1034], edi
cmp word [0x10107d48], 0
jne 0x100094e8
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 1
push 0
push eax
call fcn.1009c2f0
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAc1wuD5hVjglIbaOJeXMCQ
push eax
call fcn.100473c0
add esp, 0x14
lea ecx, [ebp - 0x102c]
cmp dword [ebp - 0x1014], 8
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push ecx
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1030]
push ecx
push str.InstallLocation
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x100094a0
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.User_DataDefault
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x10107d48
lea esi, [ebp - 0x1010]
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100094d0
movzx eax, word [esi + ecx]
test ax, ax
je 0x100094d0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100094b2
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1028]
call fcn.10004d80
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x1000955b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10107d48
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10005ae0
test al, al
jne 0x1000953c
mov ecx, 0x10107d48
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009520
sub ecx, edx
sar ecx, 1
push ecx
push 0x10107d48
mov ecx, edi
call fcn.10006f80
mov eax, edi
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.100751d1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10005aa0
int3
Function at 0x10009c20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x10009c64
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.100093c0
mov dword [ebp - 4], 0
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x10009dbd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
jge 0x10009cc2
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10006e70
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x10009dc7
push edi
push edx
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.1009fd47
add esp, 8
test eax, eax
js 0x10009dc7
cmp eax, dword [esi - 8]
jg 0x10009dc7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x10009d67
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009d67
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10009d67
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.100051b0
lea eax, [ebx + 0x44]
mov ecx, ebx
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.10009570
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.100063b0
mov ecx, eax
call fcn.10019080
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x10009d6c
mov edi, 0x80004005
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009d8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x10009da9
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005aa0
push 0x80070057
call fcn.10005aa0
int3
Function at 0x1000a590
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], edi
cmp word [0x10107f58], 0
jne 0x1000a64b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009c2f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.GoogleChromeUser_DataDefault
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x10107f58
lea esi, [ebp - 0x218]
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1000a63e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1000a63e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1000a620
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x1000a6bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10107f58
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10005ae0
test al, al
jne 0x1000a69c
mov ecx, 0x10107f58
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a680
sub ecx, edx
sar ecx, 1
push ecx
push 0x10107f58
mov ecx, edi
call fcn.10006f80
mov eax, edi
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.100751d1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10005aa0
int3
Function at 0x1000ad80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1000adc4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.1000a590
mov dword [ebp - 4], 0
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x1000af1d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
jge 0x1000ae22
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10006e70
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1000af27
push edi
push edx
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.1009fd47
add esp, 8
test eax, eax
js 0x1000af27
cmp eax, dword [esi - 8]
jg 0x1000af27
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1000aec7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000aec7
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000aec7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.100051b0
lea eax, [ebx + 0x44]
mov ecx, ebx
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.1000a6d0
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.100063b0
mov ecx, eax
call fcn.10019080
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1000aecc
mov edi, 0x80004005
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000aeea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1000af09
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005aa0
push 0x80070057
call fcn.10005aa0
int3
Function at 0x1000b6e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x21c], edi
cmp word [0x10108168], 0
jne 0x1000b79b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009c2f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str...LocalMicrosoftEdgeUser_DataDefault
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x10108168
lea esi, [ebp - 0x218]
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1000b78e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1000b78e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1000b770
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x1000b80b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10108168
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10005ae0
test al, al
jne 0x1000b7ec
mov ecx, 0x10108168
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b7d0
sub ecx, edx
sar ecx, 1
push ecx
push 0x10108168
mov ecx, edi
call fcn.10006f80
mov eax, edi
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.100751d1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10005aa0
int3
Function at 0x1000bed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4a30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1000bf14
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
call fcn.1000b6e0
mov dword [ebp - 4], 0
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x1000c06d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov edx, dword [ebp - 0x10]
mov edi, dword [ebx + 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edx
jge 0x1000bf72
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10006e70
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1000c077
push edi
push edx
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.1009fd47
add esp, 8
test eax, eax
js 0x1000c077
cmp eax, dword [esi - 8]
jg 0x1000c077
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1000c017
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000c017
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000c017
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.100051b0
lea eax, [ebx + 0x44]
mov ecx, ebx
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.1000b820
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.100063b0
mov ecx, eax
call fcn.10019080
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1000c01c
mov edi, 0x80004005
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000c03a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1000c059
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005aa0
push 0x80070057
call fcn.10005aa0
int3
Function at 0x1000d7a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4e50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010445c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp dword [edi + 0x30], 0
je 0x1000d7e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
push eax
call fcn.1000c870
mov dword [ebp - 4], 0
call fcn.10006440
mov ecx, eax
test ecx, ecx
je 0x1000d94d
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
jge 0x1000d83c
push 0x104
lea ecx, [ebp - 0x18]
call fcn.10006e70
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1000d957
push str.prefs.js
push ebx
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.1009fd47
add esp, 8
test eax, eax
js 0x1000d957
cmp eax, dword [esi - 8]
jg 0x1000d957
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1000d8f7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d8f7
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000d8f7
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x3c]
call fcn.100051b0
push 8
push str.prefs.js
lea ecx, [edi + 0x40]
call fcn.10006f80
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 0x44]
push eax
call fcn.1000cbe0
mov eax, dword [ebp - 0x10]
add eax, 0x38
push eax
push 0x11
push dword [edi + 0x40]
push dword [edi + 0x3c]
call fcn.100063b0
mov ecx, eax
call fcn.10019080
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [eax + 0x30], 1
jmp 0x1000d8fc
mov edi, 0x80004005
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000d91a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x1000d939
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10005aa0
push 0x80070057
call fcn.10005aa0
int3
Function at 0x1000dbe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x10108380
mov dword [ebp - 0x58], 0x6f0053
lea esi, [ebp - 0x58]
mov dword [ebp - 0x54], 0x740066
push edi
mov dword [ebp - 0x50], 0x610077
mov edx, 0x2b
mov dword [ebp - 0x4c], 0x650072
sub esi, eax
mov dword [ebp - 0x48], 0x4d005c
mov dword [ebp - 0x44], 0x630069
mov dword [ebp - 0x40], 0x6f0072
mov dword [ebp - 0x3c], 0x6f0073
mov dword [ebp - 0x38], 0x740066
mov dword [ebp - 0x34], 0x49005c
mov dword [ebp - 0x30], 0x74006e
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x65006e
mov dword [ebp - 0x24], 0x200074
mov dword [ebp - 0x20], 0x780045
mov dword [ebp - 0x1c], 0x6c0070
mov dword [ebp - 0x18], 0x72006f
mov dword [ebp - 0x14], 0x720065
mov dword [ebp - 0x10], 0x4d005c
mov dword [ebp - 0xc], 0x690061
mov dword [ebp - 8], 0x6e
lea ecx, [edx + 0x7fffffd3]
test ecx, ecx
je 0x1000dcb3
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000dcb3
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000dc95
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x10108380
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret

Function at 0x1000dce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x101083d8
mov dword [ebp - 0x58], 0x6f0053
lea esi, [ebp - 0x58]
mov dword [ebp - 0x54], 0x740066
push edi
mov dword [ebp - 0x50], 0x610077
mov edx, 0x2b
mov dword [ebp - 0x4c], 0x650072
sub esi, eax
mov dword [ebp - 0x48], 0x4d005c
mov dword [ebp - 0x44], 0x630069
mov dword [ebp - 0x40], 0x6f0072
mov dword [ebp - 0x3c], 0x6f0073
mov dword [ebp - 0x38], 0x740066
mov dword [ebp - 0x34], 0x49005c
mov dword [ebp - 0x30], 0x74006e
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x65006e
mov dword [ebp - 0x24], 0x200074
mov dword [ebp - 0x20], 0x780045
mov dword [ebp - 0x1c], 0x6c0070
mov dword [ebp - 0x18], 0x72006f
mov dword [ebp - 0x14], 0x720065
mov dword [ebp - 0x10], 0x4d005c
mov dword [ebp - 0xc], 0x690061
mov dword [ebp - 8], 0x6e
lea ecx, [edx + 0x7fffffd3]
test ecx, ecx
je 0x1000ddb3
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000ddb3
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000dd95
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x101083d8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret
Function at 0x1000f8f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x1010844c
mov dword [ebp - 0x1c], 0x610074
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6b0073
mov dword [ebp - 0x14], 0x67006d
mov edx, 0xd
mov dword [ebp - 0x10], 0x2e0072
sub esi, eax
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop word [eax + eax]
lea ecx, [edx + 0x7ffffff1]
test ecx, ecx
je 0x1000f95e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000f95e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000f940
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x1010844c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret

Function at 0x1000f980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010445c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x20], 0x780065
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x20]
mov eax, 0x10108430
mov dword [ebp - 0x1c], 0x6c0070
mov dword [ebp - 0x18], 0x72006f
mov edx, 0xe
mov dword [ebp - 0x14], 0x720065
sub esi, eax
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
lea ecx, [edx + 0x7ffffff0]
test ecx, ecx
je 0x1000f9ee
movzx ecx, word [esi + eax]
test cx, cx
je 0x1000f9ee
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1000f9d0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x10108430
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100751d1
mov esp, ebp
pop ebp
ret