joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001cbc0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001cc06
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10037fa1
mov esp, ebp
pop ebp
ret
push 0
push esi
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
test eax, eax
je 0x1001cc57
push ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x1001cc56
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [edi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001cc56
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [ebp - 0xc], ebx
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor ecx, ebp
pop edi
pop esi
call fcn.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1001d0c0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x10073850
call fcn.10019160
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.1003b430
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x1001d14d
xor ecx, ecx
jmp 0x1001d165
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d156
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10019160
push 9
push 0x10073ac4
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.100215d0
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d1d5
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
push 0
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001d1d5
xor bl, bl
jmp 0x1001d1ed
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x1001d1eb
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10019340
mov bl, 1
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x1001d20b
inc ecx
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.10019260
mov al, bl
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.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1001d230
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x10073850
mov dword [ebp - 4], 0
call fcn.10019160
lea edx, [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.1001b0a0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.1001d0c0
push 1
push 0x10072fb4
lea ecx, [ebp - 0x28]
call fcn.100215d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.10021700
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d2eb
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001d2eb
xor bl, bl
jmp 0x1001d300
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1001d2fe
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10019340
mov bl, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1001d315
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x1001d33e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10019260
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 0x10
jb 0x1001d367
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.1000e830
mov al, bl
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.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1001d390
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062018
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x10073850
call fcn.10019160
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.1001d0c0
push 1
push 0x10072fb4
lea ecx, [ebp - 0x28]
call fcn.100215d0
push 7
push str.dmpfile
lea ecx, [ebp - 0x28]
call fcn.100215d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d437
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001d437
xor bl, bl
jmp 0x1001d44c
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1001d44a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10019340
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1001d461
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10019260
mov al, bl
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.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1001d480
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062050
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1007f070]
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 esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea edi, [ebp - 0x28]
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push eax
mov byte [ecx], al
lea eax, [ebp + 8]
push eax
call fcn.1000e1a0
mov ecx, edi
call fcn.1001d230
add esp, 0x18
mov ecx, edi
push 1
push 0x10072fb4
call fcn.100215d0
push 0xa
push str.failedlogs
mov ecx, edi
call fcn.100215d0
cmp dword [ebp - 0x14], 8
mov eax, edi
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d542
cmp dword [ebp - 0x14], 8
mov eax, edi
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001d542
xor bl, bl
jmp 0x1001d557
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1001d555
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10019340
mov bl, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1001d56c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10019260
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 0x10
jb 0x1001d595
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.1000e830
mov al, bl
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.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1001d5c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062018
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x10073850
call fcn.10019160
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.1001d0c0
push 1
push 0x10072fb4
lea ecx, [ebp - 0x28]
call fcn.100215d0
push 3
push 0x10073b00
lea ecx, [ebp - 0x28]
call fcn.100215d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001d667
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001d667
xor bl, bl
jmp 0x1001d67c
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x1001d67a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10019340
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x1001d691
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10019260
mov al, bl
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.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1001e530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 5
push eax
lea eax, [ebp - 0x10]
mov word [ebp - 8], 0
push eax
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
push str.EnableLogging
push str.SoftwareNHN_EntertainmentTOAST
push 0x80000001
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100175b0
mov ecx, 0x10073c4c
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001e5b6
test dx, dx
je 0x1001e5b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001e5b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001e590
xor eax, eax
jmp 0x1001e5bb
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebp - 0x1c]
push ebx
sete bl
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001e5dc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x100218e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ec46
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1007f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100383fe
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10036b76
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10027c30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006306b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1007f070]
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 ebx, ecx
lea eax, [ebp - 0x8c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp + 8]
call fcn.10025360
mov edi, eax
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10027c9e
mov eax, dword [ecx]
jmp 0x10027ca0
mov eax, ecx
push 8
push 0x10072510
mov byte [eax], 0
call fcn.1000e0a0
push esi
lea ecx, [ebp + 8]
call fcn.100253d0
call fcn.10034820
add esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, eax
call fcn.100247b0
mov esi, eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.10025310
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.10027e40
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.10027e40
mov eax, dword [ebp - 0x30]
add esp, 8
cmp eax, 0x10
jb 0x10027d12
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.1000e830
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x10027d39
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.1000e830
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp eax, 0x10
jb 0x10027d60
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.1000e830
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
cmp eax, 0x10
jb 0x10027d8d
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.1000e830
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
test edi, edi
je 0x10027db7
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10027da6
push 0
mov dword [ebx], edx
call fcn.10046c99
add esp, 4
push 0
push 0x3e8
push edx
push eax
call fcn.10038d10
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xc], edx
cmp eax, 0x10
jb 0x10027dec
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1000e830
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push dword [eax]
lea eax, [ebp - 0x2c]
push eax
call fcn.10023f40
push dword [ebp + 8]
call fcn.10038865
add esp, 4
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.10037fa1
mov esp, ebp
pop ebp
ret 8
Function at 0x1002cb00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063832
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x1007f070]
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 edi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x334], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x1002cb6e
mov eax, dword [edi]
jmp 0x1002cb70
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x10073850
call fcn.10019160
push 0x104
lea eax, [ebp - 0x318]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x330], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1002cc6a
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x1002cc6a
push esi
call fcn.10038878
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x318]
push ebx
push esi
push dword [ebp - 0x31c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1002cc5f
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x328]
push eax
push str.VarFileInfoTranslation
push ebx
call esi
mov ecx, dword [ebp - 0x328]
push 0x100742a0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x110]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
test eax, eax
je 0x1002cc5f
push dword [ebp - 0x32c]
mov ecx, edi
call fcn.10019110
push 1
push ebx
call fcn.1003886a
add esp, 8
mov eax, edi
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.10037fa1
mov esp, ebp
pop ebp
ret 4
Function at 0x1002da40
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x1007f070]
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 esi, ecx
lea eax, [ebp - 0x21c]
xor ebx, ebx
push eax
push 0x105
mov dword [ebp - 0x220], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [esi + 0x14], 8
jb 0x1002da94
mov eax, dword [esi]
jmp 0x1002da96
mov eax, esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x1002dbc8
push 3
push 0x100745e0
mov ecx, esi
call fcn.10019160
push 3
lea eax, [ebp - 0x33c]
push str.crashReporter.exe
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x340], eax
call fcn.1002b430
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x340]
cmp word [edx], 0
jne 0x1002daea
xor ecx, ecx
jmp 0x1002db08
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x220], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002daf5
sub ecx, dword [ebp - 0x220]
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10019160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
mov eax, dword [ebp - 0x340]
cmp eax, ecx
je 0x1002db31
push eax
call fcn.1004480c
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x1002db3b
mov eax, dword [esi]
jmp 0x1002db3d
mov eax, esi
push eax
call edi
test eax, eax
jne 0x1002dbc8
push 6
push 0x100745e8
mov ecx, esi
call fcn.10019160
push 3
lea eax, [ebp - 0x33c]
push str.crashReporter.exe
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x340], eax
call fcn.1002b430
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x340]
cmp word [edx], 0
jne 0x1002db8b
xor ecx, ecx
jmp 0x1002db9f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002db90
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.10019160
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
mov eax, dword [ebp - 0x340]
cmp eax, ecx
je 0x1002dbc8
push eax
call fcn.1004480c
add esp, 4
cmp dword [esi + 0x2c], 0
jne 0x1002dc6c
push 0x1008090e
push 0x18
call fcn.1003890d
mov edi, eax
add esp, 8
mov dword [ebp - 0x23c], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1002dc20
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x238]
call fcn.10019030
push ecx
mov byte [ebp - 4], 3
mov ebx, 1
push eax
mov ecx, edi
mov dword [ebp - 0x220], ebx
call fcn.100268e0
jmp 0x1002dc22
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1002dc6c
mov eax, dword [ebp - 0x224]
cmp eax, 8
jb 0x1002dc4f
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.10019260
xor eax, eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], ax
mov ecx, esi
call fcn.1002dff0
mov al, 1
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.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x1002df70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1007f070]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov esi, dword [ebp + 8]
mov edx, esi
push ecx
lea ecx, [esp + 8]
call fcn.1002f2a0
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x1002df9f
mov esi, dword [esi]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
cmp dword [esp + 0x18], 0x10
lea eax, [esp + 4]
cmovae eax, dword [esp + 4]
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x1002dfd1
inc eax
lea ecx, [esp + 4]
push eax
push dword [esp + 8]
call fcn.1000e830
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.10037fa1
mov esp, ebp
pop ebp
ret 4
Function at 0x10030e90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1007f070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea esi, [ecx + 4]
mov ecx, 0x100714cd
mov eax, esi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10030ed0
test dl, dl
je 0x10030ecc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10030ed0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10030eb0
xor eax, eax
jmp 0x10030ed5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10030fa2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10030fa2
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x10030fa2
push edi
push eax
call fcn.10038878
add esp, 4
mov edi, eax
lea eax, [ebp - 0x20c]
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x210]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10030f96
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x34
push eax
lea eax, [ebp - 0x218]
push eax
push 0x10072fb4
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10030f96
mov edx, dword [ebp - 0x218]
mov ecx, dword [edx + 0xc]
movzx eax, cx
push eax
movzx eax, word [edx + 8]
shr ecx, 0x10
push ecx
push eax
movzx eax, word [edx + 0x12]
push eax
push str._d._d._d._d
push esi
call fcn.10031a00
add esp, 0x18
push 1
push edi
call fcn.1003886a
add esp, 8
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10037fa1
mov esp, ebp
pop ebp
ret
Function at 0x10033590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100645f8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1007f070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 0x10], esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0
jne 0x10033615
push 8
call fcn.100383fe
mov edi, eax
add esp, 4
mov dword [esi + 0x14], edi
test edi, edi
je 0x10033615
push edi
push 0
push esi
push 0x10033640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
xor edi, edi
nop
inc edi
cmp byte [esi + 0x11], 0
jne 0x10033615
push 0x32
mov ecx, esi
call fcn.10033470
cmp edi, 0xa
jl 0x10033600
mov eax, dword [esi + 4]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret