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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10111404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1003b0f4
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.1003a6c0
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003b251
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 0x1003b152
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10004500
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1003b25b
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.100aa026
add esp, 8
test eax, eax
js 0x1003b25b
cmp eax, dword [esi - 8]
jg 0x1003b25b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003b1fb
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003b1fb
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003b1fb
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.10009470
lea eax, [ebx + 0x48]
mov ecx, ebx
push eax
lea eax, [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call fcn.1003a880
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.1003a630
mov ecx, eax
call fcn.10048b60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1003b200
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 0x1003b21e
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 0x1003b23d
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.10003fe0
push 0x80070057
call fcn.10003fe0
int3
Function at 0x1003bcb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3c6b
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.1007f420
mov eax, dword [0x10111404]
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 [0x10115730], 0
jne 0x1003bdd8
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 1
push 0
push eax
call fcn.100a5d20
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAc1wuD5hVjglIbaOJeXMCQ
push eax
call fcn.10054400
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 0x1003bd90
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, 0x10115730
lea esi, [ebp - 0x1010]
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1003bdc0
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003bdc0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1003bda2
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1028]
call fcn.10008cf0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003be4b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10115730
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1003be2c
mov ecx, 0x10115730
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003be10
sub ecx, edx
sar ecx, 1
push ecx
push 0x10115730
mov ecx, edi
call fcn.100045a0
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.1007f3c1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003fe0
int3
Function at 0x1003c510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10111404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1003c554
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.1003bcb0
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003c6ad
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 0x1003c5b2
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10004500
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1003c6b7
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.100aa026
add esp, 8
test eax, eax
js 0x1003c6b7
cmp eax, dword [esi - 8]
jg 0x1003c6b7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003c657
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003c657
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003c657
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.10009470
lea eax, [ebx + 0x44]
mov ecx, ebx
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.1003be60
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.1003a630
mov ecx, eax
call fcn.10048b60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1003c65c
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 0x1003c67a
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 0x1003c699
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.10003fe0
push 0x80070057
call fcn.10003fe0
int3
Function at 0x1003ce70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10111404]
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 [0x10115940], 0
jne 0x1003cf2b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a5d20
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, 0x10115940
lea esi, [ebp - 0x218]
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1003cf1e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003cf1e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1003cf00
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003cf9b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10115940
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1003cf7c
mov ecx, 0x10115940
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003cf60
sub ecx, edx
sar ecx, 1
push ecx
push 0x10115940
mov ecx, edi
call fcn.100045a0
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.1007f3c1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003fe0
int3
Function at 0x1003d660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10111404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1003d6a4
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.1003ce70
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003d7fd
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 0x1003d702
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10004500
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1003d807
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.100aa026
add esp, 8
test eax, eax
js 0x1003d807
cmp eax, dword [esi - 8]
jg 0x1003d807
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003d7a7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003d7a7
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003d7a7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.10009470
lea eax, [ebx + 0x44]
mov ecx, ebx
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.1003cfb0
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.1003a630
mov ecx, eax
call fcn.10048b60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1003d7ac
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 0x1003d7ca
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 0x1003d7e9
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.10003fe0
push 0x80070057
call fcn.10003fe0
int3
Function at 0x1003dfc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3d2b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x10111404]
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 [0x10115b50], 0
jne 0x1003e07b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a5d20
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, 0x10115b50
lea esi, [ebp - 0x218]
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1003e06e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003e06e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1003e050
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003e0eb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10115b50
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1003e0cc
mov ecx, 0x10115b50
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003e0b0
sub ecx, edx
sar ecx, 1
push ecx
push 0x10115b50
mov ecx, edi
call fcn.100045a0
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.1007f3c1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003fe0
int3
Function at 0x1003e7b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3b30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10111404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1003e7f4
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.1003dfc0
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003e94d
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 0x1003e852
push 0x104
lea ecx, [ebp - 0x14]
call fcn.10004500
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1003e957
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.100aa026
add esp, 8
test eax, eax
js 0x1003e957
cmp eax, dword [esi - 8]
jg 0x1003e957
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003e8f7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003e8f7
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003e8f7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx + 0x3c]
call fcn.10009470
lea eax, [ebx + 0x44]
mov ecx, ebx
push eax
lea eax, [ebx + 0x48]
push eax
call fcn.1003e100
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.1003a630
mov ecx, eax
call fcn.10048b60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1003e8fc
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 0x1003e91a
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 0x1003e939
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.10003fe0
push 0x80070057
call fcn.10003fe0
int3
Function at 0x1003fe10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d3f30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10111404]
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 0x1003fe57
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.1003f150
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003ffbd
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 0x1003feac
push 0x104
lea ecx, [ebp - 0x18]
call fcn.10004500
mov esi, dword [ebp - 0x18]
cmp dword [esi - 8], 0x104
jl 0x1003ffc7
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.100aa026
add esp, 8
test eax, eax
js 0x1003ffc7
cmp eax, dword [esi - 8]
jg 0x1003ffc7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003ff67
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003ff67
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003ff67
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x3c]
call fcn.10009470
push 8
push str.prefs.js
lea ecx, [edi + 0x40]
call fcn.100045a0
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + 0x44]
push eax
call fcn.1003f4b0
mov eax, dword [ebp - 0x10]
add eax, 0x38
push eax
push 0x11
push dword [edi + 0x40]
push dword [edi + 0x3c]
call fcn.1003a630
mov ecx, eax
call fcn.10048b60
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [eax + 0x30], 1
jmp 0x1003ff6c
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 0x1003ff8a
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 0x1003ffa9
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.10003fe0
push 0x80070057
call fcn.10003fe0
int3
Function at 0x10040010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10111404]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x740053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x10115e30
mov dword [ebp - 0x18], 0x720061
mov dword [ebp - 0x14], 0x200074
mov edx, 0xc
mov dword [ebp - 0x10], 0x610050
sub esi, eax
mov dword [ebp - 0xc], 0x650067
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x1004007e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1004007e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10040060
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x10115e30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f3c1
mov esp, ebp
pop ebp
ret

Function at 0x100400a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x10111404]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x10115d68
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 0x10040173
movzx ecx, word [esi + eax]
test cx, cx
je 0x10040173
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10040155
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, 0x10115d68
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f3c1
mov esp, ebp
pop ebp
ret

Function at 0x100401a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10111404]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x740053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x10115dc0
mov dword [ebp - 0x18], 0x720061
mov dword [ebp - 0x14], 0x200074
mov edx, 0xc
mov dword [ebp - 0x10], 0x610050
sub esi, eax
mov dword [ebp - 0xc], 0x650067
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x1004020e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1004020e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x100401f0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x10115dc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007f3c1
mov esp, ebp
pop ebp
ret