joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026d50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], 0x64006c
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x1c]
mov eax, 0x101135b0
mov dword [ebp - 0x18], 0x5f0073
mov dword [ebp - 0x14], 0x6e0075
mov edx, 0xc
mov dword [ebp - 0x10], 0x6f006c
sub esi, eax
mov dword [ebp - 0xc], 0x6b0063
nop dword [eax]
lea ecx, [edx + 0x7ffffff2]
test ecx, ecx
je 0x10026dbe
movzx ecx, word [esi + eax]
test cx, cx
je 0x10026dbe
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10026da0
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101135b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007d494
mov esp, ebp
pop ebp
ret

Function at 0x10026de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], 0x720062
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x2c]
mov eax, 0x10113588
mov dword [ebp - 0x28], 0x77006f
mov dword [ebp - 0x24], 0x650073
mov edx, 0x14
mov dword [ebp - 0x20], 0x5f0072
sub esi, eax
mov dword [ebp - 0x1c], 0x360033
mov dword [ebp - 0x18], 0x5f0030
mov dword [ebp - 0x14], 0x6e0075
mov dword [ebp - 0x10], 0x6f006c
mov dword [ebp - 0xc], 0x6b0063
lea ecx, [edx + 0x7fffffea]
test ecx, ecx
je 0x10026e63
movzx ecx, word [esi + eax]
test cx, cx
je 0x10026e63
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10026e45
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x10113588
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007d494
mov esp, ebp
pop ebp
ret
Function at 0x1002e570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0740
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1000a9f0
push 1
mov ecx, eax
call fcn.100688c0
call fcn.1000a9f0
push 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.100658e0
push str.LogComputerZ12.log
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10007030
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 1
jb 0x1002e5e0
mov eax, dword [eax]
push eax
call fcn.1005eb80
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x1002e624
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e61a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e6b4
push edx
push ecx
call fcn.1007d115
add esp, 8
cmp dword [0x10113554], 0
jne 0x1002e665
mov dword [0x10113554], 1
call fcn.1000ab10
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x40]
call fcn.10028630
push 0
push 0
push eax
push 0x1002d2e0
push 0
push 0
call fcn.100a7907
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1002e69b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e691
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e6b9
push edx
push ecx
call fcn.1007d115
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007d494
mov esp, ebp
pop ebp
ret
call fcn.100a7ba5
call fcn.100a7ba5
int3
Function at 0x100339f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x101136a4
mov dword [ebp - 0x34], 0x31005a
lea esi, [ebp - 0x34]
mov dword [ebp - 0x30], 0x480032
mov dword [ebp - 0x2c], 0x6f006f
mov edx, 0x19
mov dword [ebp - 0x28], 0x43006b
sub esi, eax
mov dword [ebp - 0x24], 0x6d006f
mov dword [ebp - 0x20], 0x6c0070
mov dword [ebp - 0x1c], 0x740065
mov dword [ebp - 0x18], 0x640065
mov dword [ebp - 0x14], 0x750053
mov dword [ebp - 0x10], 0x630063
mov dword [ebp - 0xc], 0x730065
mov dword [ebp - 8], 0x73
lea ecx, [edx + 0x7fffffe5]
test ecx, ecx
je 0x10033a82
movzx ecx, word [esi + eax]
test cx, cx
je 0x10033a82
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x10033a64
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x101136a4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007d494
mov esp, ebp
pop ebp
ret
Function at 0x10035280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ccf80
mov eax, dword fs:[0]
push eax
mov eax, dword [0x1010f404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ecx + 0x30]
or eax, 0xffffffff
mov dword [ecx], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100352c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100352e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ccf60
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1010f404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
or eax, 0xffffffff
mov dword [esi], vtable.CLayerControlBase.0
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10035326
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x10035337
push 0x48
push esi
call fcn.1007d115
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10035590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1288
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010f404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add ebx, 0x30
mov eax, dword [ebx]
mov ecx, dword [eax - 0x10]
lea esi, [eax - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x100355e2
cmp ecx, dword [esi]
jne 0x100355e2
lock inc dword [eax]
jmp 0x10035612
mov eax, dword [ecx]
lea edi, [esi + 4]
push 2
push dword [edi]
call dword [eax]
mov esi, eax
test esi, esi
je 0x1003577b
mov eax, dword [edi]
mov dword [esi + 4], eax
mov eax, dword [edi]
inc eax
add eax, eax
push eax
push dword [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10004920
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x100356fc
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10035630
sub edi, edx
sar edi, 1
je 0x100356fc
mov edx, dword [ebx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
sub eax, edx
sar eax, 1
mov dword [ebp - 0x10], eax
test edi, edi
js 0x10035780
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x10035679
push edi
mov ecx, ebx
call fcn.10004500
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
lea ecx, [edi + edi]
cmp eax, dword [ebp - 0x14]
ja 0x100356ce
lea eax, [edx + eax*2]
mov dword [ebp + 0xc], eax
test ecx, ecx
je 0x100356e4
test eax, eax
jne 0x100356a4
call fcn.100a7f4c
mov dword [eax], 0x16
call fcn.100a7b95
jmp 0x100356e1
mov eax, dword [edx - 8]
add eax, eax
cmp eax, ecx
jae 0x100356bf
call fcn.100a7f4c
mov dword [eax], 0x22
call fcn.100a7b95
jmp 0x100356e1
push ecx
push dword [ebp + 0xc]
push edx
call fcn.100a3f50
add esp, 0xc
jmp 0x100356e1
mov eax, dword [edx - 8]
push ecx
push dword [ebp + 0xc]
add eax, eax
push eax
push edx
call fcn.10004920
add esp, 0x10
lea ecx, [edi + edi]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x10035780
mov dword [eax - 0xc], edi
xor edx, edx
mov eax, dword [ebx]
mov word [ecx + eax], dx
jmp 0x10035703
mov ecx, ebx
call fcn.1000a4a0
mov eax, dword [ebx]
test eax, eax
je 0x1003578a
mov ecx, esi
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10035736
test dx, dx
je 0x10035732
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10035736
add ecx, 4
add eax, 4
test dx, dx
jne 0x10035710
xor eax, eax
jmp 0x1003573b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10035748
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10035767
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.100046d0
push 0x80070057
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
int3
Function at 0x100377f0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10036b60
push 0
push 0
call fcn.100a7907
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x100389c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1796
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.1007d4f0
mov eax, dword [0x1010f404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
push 0x1000
push 0
mov dword [ebp - 0x1034], esi
push eax
mov dword [ebp - 0x1030], 1
call fcn.100a3d80
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAcNYT9wv6OGo2LxfcPIj7LcA
push eax
call fcn.100526e0
add esp, 0x14
cmp dword [ebp - 0x1014], 8
lea ecx, [ebp - 0x102c]
push ecx
lea ecx, [ebp - 0x1010]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x1030]
push ecx
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push str.InstallLocation
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10038ab2
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 eax, dword [ebx + 0x58]
cmp dword [eax - 0xc], 0
je 0x10038ab2
push eax
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10038b69
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x1010]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.10004160
test al, al
jne 0x10038b0e
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10038af0
sub ecx, edx
lea eax, [ebp - 0x1010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100045a0
mov edx, dword [ebp - 0x1014]
cmp edx, 8
jb 0x10038b4a
mov ecx, dword [ebp - 0x1028]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038b40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10038b73
push edx
push ecx
call fcn.1007d115
add esp, 8
mov eax, esi
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.1007d494
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003fe0
call fcn.100a7ba5
int3
Function at 0x100393b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d18a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010f404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x100393f4
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.100389c0
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10039551
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 0x10039452
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 0x1003955b
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.100a8086
add esp, 8
test eax, eax
js 0x1003955b
cmp eax, dword [esi - 8]
jg 0x1003955b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x100394fb
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100394fb
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100394fb
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.10038b80
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.10038930
mov ecx, eax
call fcn.10046e60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x10039500
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 0x1003951e
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 0x1003953d
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 0x10039fb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d19db
mov eax, dword fs:[0]
push eax
mov eax, 0x1028
call fcn.1007d4f0
mov eax, dword [0x1010f404]
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 [0x10113710], 0
jne 0x1003a0d8
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1030], 1
push 0
push eax
call fcn.100a3d80
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x102c], 0x800
push str.TK8Fj70YG_v_3_vPPg7Vdm30XuBkLQEO1THF4mZ06i_foDUuatiCLqo3UQuDlAc1wuD5hVjglIbaOJeXMCQ
push eax
call fcn.100526e0
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 0x1003a090
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, 0x10113710
lea esi, [ebp - 0x1010]
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1003a0c0
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003a0c0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1003a0a2
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 0x1003a14b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10113710
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1003a12c
mov ecx, 0x10113710
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003a110
sub ecx, edx
sar ecx, 1
push ecx
push 0x10113710
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.1007d494
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003fe0
int3
Function at 0x1003a810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d18a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010f404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1003a854
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.10039fb0
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003a9ad
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 0x1003a8b2
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 0x1003a9b7
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.100a8086
add esp, 8
test eax, eax
js 0x1003a9b7
cmp eax, dword [esi - 8]
jg 0x1003a9b7
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003a957
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003a957
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003a957
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.1003a160
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.10038930
mov ecx, eax
call fcn.10046e60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1003a95c
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 0x1003a97a
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 0x1003a999
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 0x1003b170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d1a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1010f404]
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 [0x10113920], 0
jne 0x1003b22b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a3d80
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, 0x10113920
lea esi, [ebp - 0x218]
mov edx, 0x104
sub esi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1003b21e
movzx eax, word [esi + ecx]
test ax, ax
je 0x1003b21e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1003b200
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 0x1003b29b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push 0x10113920
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10004160
test al, al
jne 0x1003b27c
mov ecx, 0x10113920
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b260
sub ecx, edx
sar ecx, 1
push ecx
push 0x10113920
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.1007d494
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003fe0
int3
Function at 0x1003b960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d18a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1010f404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x30], 0
je 0x1003b9a4
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.1003b170
mov dword [ebp - 4], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1003bafd
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 0x1003ba02
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 0x1003bb07
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.100a8086
add esp, 8
test eax, eax
js 0x1003bb07
cmp eax, dword [esi - 8]
jg 0x1003bb07
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x1003baa7
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003baa7
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1003baa7
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.1003b2b0
lea eax, [ebx + 0x38]
push eax
push 0x11
push dword [ebx + 0x40]
push dword [ebx + 0x3c]
call fcn.10038930
mov ecx, eax
call fcn.10046e60
mov dword [ebx + 0x30], 1
xor edi, edi
jmp 0x1003baac
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 0x1003baca
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 0x1003bae9
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