joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004500
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1009e034]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
movzx eax, byte [edx + 1]
mov ebx, ecx
movzx ecx, byte [edx]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
push esi
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0xc], edx
mov edx, esi
push edi
mov edi, dword [ebp + 8]
and edx, ecx
mov dword [ebp - 0x10], edi
cmp dword [ebx + 0x18], edx
ja 0x10004569
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add edx, eax
mov ecx, dword [ebx]
lea eax, [edx*8]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 8]
lea esi, [eax + edx*8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x10004585
mov esi, ecx
jmp 0x1000458a
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x1000459f
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x100045e2
cmp esi, eax
jne 0x10004593
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x100045c9
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10004620
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x10004640
mov edx, dword [ebp + 0x10]
cmp edx, ecx
je 0x10004605
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push edx
mov dword [ecx + 4], eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
dec dword [ebx + 4]
mov dword [edi], esi
mov byte [edi + 4], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10004628
mov dword [ecx], edi
jmp 0x10004640
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10004640
add edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
call fcn.10004410
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 4], 1
pop ebx
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007520
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x1009e034]
xor eax, esp
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0xc]
push ebx
movzx eax, byte [edx + 1]
mov ebx, ecx
movzx ecx, byte [edx]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
push esi
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov edx, esi
push edi
mov edi, dword [ebp + 8]
and edx, ecx
mov dword [esp + 0x18], edi
cmp dword [ebx + 0x18], edx
ja 0x1000758f
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add edx, eax
mov ecx, dword [ebx]
lea eax, [edx*8]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
lea esi, [eax + edx*8]
mov eax, dword [esi]
cmp eax, ecx
jne 0x100075ac
mov esi, ecx
jmp 0x100075b1
mov esi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x100075cc
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
jmp 0x100075c0
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x10007610
cmp esi, eax
jne 0x100075c0
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x100075f6
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x10]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1000764f
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x1000766f
mov edx, dword [ebp + 0x10]
cmp edx, ecx
je 0x10007633
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push edx
mov dword [ecx + 4], eax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
dec dword [ebx + 4]
mov dword [edi], esi
mov byte [edi + 4], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10007657
mov dword [ecx], edi
jmp 0x1000766f
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1000766f
add edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
call fcn.100076a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072907
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 1
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CLuaScanRegItem.0
xor ecx, ecx
mov dword [ebx + 0x30], 7
mov dword [ebx + 0x2c], 0
mov word [ebx + 0x1c], cx
mov dword [ebx + 0x48], 7
mov dword [ebx + 0x44], ecx
mov word [ebx + 0x34], cx
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x10007894
mov eax, dword [eax]
push dword [ebp + 0x24]
mov esi, dword [ebp + 0x14]
push eax
lea ecx, [ebx + 0x50]
push esi
call fcn.1005c350
lea edi, [ebx + 0x88]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov eax, dword [ebp + 0x18]
lea ecx, [ebx + 0x1c]
mov byte [ebp - 4], 4
mov dword [ebx + 0x18], esi
cmp ecx, eax
je 0x100078d8
push 0xffffffffffffffff
push 0
push eax
call fcn.10001f80
mov eax, dword [ebp + 0x1c]
lea esi, [ebx + 0x34]
cmp esi, eax
je 0x100078ee
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.10001f80
cmp dword [ebx + 0x44], 0
mov eax, dword [ebp + 0x24]
mov byte [ebx + 0x4c], al
mov al, byte [ebp + 0x20]
mov byte [ebx + 0x4d], al
lea eax, [ebp - 0x58]
lea ecx, [ebx + 0x50]
push eax
je 0x100079b6
call fcn.1005c5d0
push 0x1007d3c8
mov edx, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.10008090
add esp, 4
push esi
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.100080e0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x20], eax
cmp edi, eax
je 0x10007970
cmp dword [edi + 0x14], 8
jb 0x10007955
push dword [edi]
call esi
mov eax, dword [ebp + 0x20]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.10001c40
cmp dword [ebp - 0x14], 8
jb 0x1000797e
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x100079a0
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x100079f3
call fcn.1005c5d0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp + 0x20], eax
cmp edi, eax
je 0x100079f3
cmp dword [edi + 0x14], 8
jb 0x100079d8
push dword [edi]
call esi
mov eax, dword [ebp + 0x20]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.10001c40
cmp dword [ebp - 0x44], 8
jb 0x10007a01
push dword [ebp - 0x58]
call esi
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x10007c00
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072938
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1009e034]
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
cmp dword [ebx + 0x44], 0
jne 0x10007ce2
cmp byte [ebx + 0x4c], 0
je 0x10007c5c
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
jb 0x10007c48
mov eax, dword [eax]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
neg eax
sbb eax, eax
inc eax
jmp 0x10007d4c
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RegDeleteKeyExW
push str.Advapi32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.RegDeleteTreeW
push str.Advapi32.dll
mov dword [ebp - 0x20], eax
call edi
push eax
call esi
push 0xf003f
lea ecx, [ebx + 0x50]
push ecx
lea ecx, [ebp - 0x1c]
mov esi, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1005c8c0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10007d08
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x10007d08
test esi, esi
je 0x10007cc8
push 0
push eax
call esi
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
jb 0x10007cd3
mov eax, dword [eax]
push 0
push 0x100
push eax
push dword [ebx + 0x18]
call edi
jmp 0x10007d1f
push 0x20006
lea eax, [ebx + 0x50]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1005c8c0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10007d0c
xor esi, esi
jmp 0x10007d27
add ebx, 0x34
cmp dword [ebx + 0x14], 8
jb 0x10007d17
mov ebx, dword [ebx]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb esi, esi
mov eax, dword [ebp - 0x1c]
inc esi
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10007d3f
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10007d4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret

Function at 0x10007ed0
Capabilities:
Delete file

Disassembly:
cmp byte [ecx + 0x30], 0
je 0x10007eea
add ecx, 0x18
mov dl, 1
call fcn.10058c20
mov cl, al
xor eax, eax
test cl, cl
sete al
ret
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
jb 0x10007ef5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete cl
xor eax, eax
test cl, cl
sete al
ret
Function at 0x100089e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10072a5c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1009e034]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 8]
push 0x40
mov dword [esp + 0x14], eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x10008a93
mov ecx, dword [esi + 0x38]
mov eax, ecx
cdq
mov edi, eax
mov eax, dword [esp + 0x1c]
sub esp, 0x18
inc ecx
mov dword [eax + 0x38], ecx
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
push dword [esp + 0x30]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov esi, edx
mov word [ecx], ax
call fcn.10001f80
mov eax, dword [esp + 0x34]
push 1
push 0
push 0
push dword [eax - 0x48]
mov ecx, ebx
push esi
push edi
call fcn.10007d70
mov esi, dword [esp + 0x1c]
jmp 0x10008a95
xor eax, eax
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esi + 0x34]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10008ace
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.10008ed0
add dword [esi + 0x10], 1
mov ecx, dword [esp + 0x1c]
adc dword [esi + 0x14], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
add dword [esi + 8], eax
adc dword [esi + 0xc], edx
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 8
Function at 0x1000def0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073291
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x1009e034]
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
lea eax, [ebx + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1000df49
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR110.dll__wtoi]
add esp, 4
cmp byte [ebx + 0x3c], 0
mov dword [ebp - 0x220], eax
jne 0x1000e01d
push str.Kernel32.dll
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
test edi, edi
je 0x1000dfa0
push str.Wow64DisableWow64FsRedirection
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000df9d
lea ecx, [ebp - 0x21c]
push ecx
call eax
push edi
call esi
push 0
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.Kernel32.dll
jne 0x1000dff7
call eax
mov edi, eax
test edi, edi
je 0x1000dff0
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push edi
call eax
test eax, eax
je 0x1000dfed
push dword [ebp - 0x21c]
call eax
push edi
call esi
xor al, al
jmp 0x1000e0d6
call eax
mov edi, eax
test edi, edi
je 0x1000e033
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push edi
call eax
test eax, eax
je 0x1000e018
push dword [ebp - 0x21c]
call eax
push edi
call esi
jmp 0x1000e033
push 0
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1000dff0
cmp byte [ebx + 0x3d], 0
lea eax, [ebp - 0x218]
push eax
jne 0x1000e091
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1000e0d4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x23c]
call fcn.10008e70
mov dword [ebp - 4], 1
movzx ecx, byte [0x100a301e]
push ecx
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x34]
call fcn.1000e500
cmp dword [ebp - 0x228], 8
jb 0x1000e0d4
push dword [ebp - 0x23c]
jmp 0x1000e0cb
lea ecx, [ebp - 0x254]
call fcn.10008e70
mov dword [ebp - 4], 2
movzx ecx, byte [0x100a301e]
push ecx
push eax
push ecx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebx + 0x34]
call fcn.1000e500
cmp dword [ebp - 0x240], 8
jb 0x1000e0d4
push dword [ebp - 0x254]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.1006e4e6
mov esp, ebp
pop ebp
ret
Function at 0x10012be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100738ec
mov eax, dword fs:[0]
push eax
sub esp, 0x868
mov eax, dword [0x1009e034]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x848], 7
mov dword [ebp - 0x84c], 0
mov word [ebp - 0x85c], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x830], 7
mov dword [ebp - 0x834], ecx
mov word [ebp - 0x844], cx
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ecx
mov word [ebp - 0x82c], cx
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x10012c6d
mov eax, dword [eax]
push 0x400
lea ecx, [ebp - 0x814]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10012d6c
cmp eax, 0x400
ja 0x10012d6c
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x874]
call fcn.10008e70
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x844]
push eax
lea edx, [ebp - 0x85c]
lea ecx, [ebp - 0x874]
mov byte [ebp - 4], 3
call fcn.10012170
add esp, 8
test al, al
sete bl
mov byte [ebp - 4], 2
cmp dword [ebp - 0x860], 8
jb 0x10012cee
push dword [ebp - 0x874]
call esi
add esp, 4
test bl, bl
jne 0x10012d6c
cmp dword [ebp - 0x834], 0
jne 0x10012d0d
lea eax, [ebp - 0x85c]
push eax
mov ecx, edi
call fcn.10012400
mov bl, 1
jmp 0x10012d6e
cmp dword [ebp - 0x81c], 0
jne 0x10012d2f
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x85c]
push eax
mov ecx, edi
call fcn.10012440
mov bl, 1
jmp 0x10012d6e
cmp dword [ebp - 0x818], 8
lea eax, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push str.subfolder
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10012d6c
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x85c]
push eax
mov ecx, edi
call fcn.10012950
mov bl, 1
jmp 0x10012d6e
xor bl, bl
cmp dword [ebp - 0x818], 8
jb 0x10012d82
push dword [ebp - 0x82c]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x830], 8
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
jb 0x10012db3
push dword [ebp - 0x844]
call esi
add esp, 4
xor eax, eax
cmp dword [ebp - 0x848], 8
mov dword [ebp - 0x830], 7
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
jb 0x10012de4
push dword [ebp - 0x85c]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e4e6
mov esp, ebp
pop ebp
ret 4
Function at 0x10013c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073cf6
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1009e034]
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, edx
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x10013c3c
mov eax, dword [esi]
jmp 0x10013c3e
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10013c50
xor al, al
jmp 0x10013d1a
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
push 0x1007dbe4
push 0x17
push 0
push 0x1007c6f8
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x21c]
jns 0x10013c92
xor bl, bl
jmp 0x10013d07
xor ecx, ecx
mov dword [ebp - 0x220], ecx
test eax, eax
je 0x10013cc8
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x1007dbd4
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x220]
xor edx, edx
test eax, eax
mov eax, dword [ebp - 0x21c]
cmovs ecx, edx
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10013cf1
cmp dword [esi + 0x14], 8
jb 0x10013cd8
mov esi, dword [esi]
mov eax, dword [ecx]
push 0
push esi
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x10013d36
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
xor bl, bl
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10013d07
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10013d18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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.1006e4e6
mov esp, ebp
pop ebp
ret
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [ebp - 0x21c]
add esp, 0xc
mov edx, dword [eax]
push 0
push 0
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [edx + 0xc]
mov esi, eax
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.10003960
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
test esi, esi
sete bl
jmp 0x10013cf3
Function at 0x100160a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073f9e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1009e034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea ebx, [edi + 4]
lea eax, [edi + 0xc]
mov dword [ebx], 0
mov dword [edi], vtable.iGarbage::IGarbageControllerImpl.0
push eax
mov dword [edi + 8], vtable.elex::thread::Mutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x90
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1001615b
mov dword [eax + 0x20], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x70], 0
mov ecx, eax
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov dword [eax + 0x88], 0
call fcn.10060820
jmp 0x1001615d
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x38]
sub esp, 8
mov byte [ebp - 4], 4
call fcn.100176a0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
lea esi, [edi + 0x6c]
mov byte [edi + 0x68], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 7
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1000c4a0
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], 0
mov word [esi + 0x14], ax
push str.isafembp.dll
push str.Module.iBrowser.
mov byte [ebp - 4], 8
call dword [sym.imp.isafemc.dll_long_int___cdecl_DefineDllModule_wchar_t_const___wchar_t_const__]
add esp, 8
mov ecx, esi
call fcn.1000a430
call fcn.100030e0
push 1
push ebx
mov dword [edi + 0x9c], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
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