Function at 0x100e77d
Capabilities:
Delete file
Identify system language via api

Disassembly:
mov eax, 0x1016dea
call fcn.01015ff8
sub esp, 0x44
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x101b338
lea ecx, [ebp - 0x18]
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], ebx
call fcn.01005706
lea ecx, [edi + 0x50]
mov esi, 0x10019fc
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ecx
call fcn.010062c9
lea ecx, [edi + 0x54]
push esi
mov dword [ebp - 0x4c], ecx
call fcn.010062c9
lea ecx, [edi + 0x58]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
mov dword [ebp - 0x44], ecx
jle 0x100e7ea
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x44]
push esi
call fcn.010062c9
lea eax, [ebp - 0x14]
push eax
push 0x100223c
push 1
push ebx
push 0x1002590
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x100e8ae
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 3
push 0x80000002
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x100e9f6
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push eax
push dword [ebp - 0x14]
call dword [esi + 0x20]
cmp eax, ebx
jl 0x100e87e
push dword [ebp - 0x34]
mov ecx, edi
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
call fcn.0100e3dd
jmp 0x100e9f6
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push eax
push dword [ebp - 0x14]
call dword [esi + 0x20]
test eax, eax
jl 0x100e9f6
jmp 0x100e863
push ebx
lea eax, [ebp - 0x48]
push eax
push 0x100221c
push 0x10021c0
mov esi, 0x80000002
push esi
call fcn.0100c2c6
test eax, eax
je 0x100e9f6
cmp dword [ebp - 0x48], ebx
setne al
cmp al, bl
je 0x100e9f6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
lea eax, [ebp - 0x18]
push 0x1002148
push eax
call fcn.01008eb6
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x18]
push esi
call edi
test eax, eax
je 0x100e95c
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x1002114
push 0x10021c0
push esi
call fcn.0100c1e0
test eax, eax
je 0x100e9f6
push dword [ebp - 0x40]
lea eax, [ebp - 0x18]
push 0x10020a0
push eax
call fcn.01008eb6
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push dword [ebp - 0x18]
push esi
call edi
test eax, eax
jne 0x100e9f6
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [ebp - 0x20]
push eax
push 0x100208c
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
push esi
call fcn.0100c1e0
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x100e9a1
push dword [ebp - 0x20]
call edi
cmp eax, 0x28
jle 0x100e996
mov eax, dword [ebp - 0x20]
mov word [eax + 0x4e], bx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
call fcn.0100630b
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x1002078
push dword [ebp - 0x18]
push esi
call fcn.0100c1e0
test eax, eax
je 0x100e9d4
push dword [ebp - 0x24]
call edi
cmp eax, 0x37
jle 0x100e9c9
mov eax, dword [ebp - 0x24]
mov word [eax + 0x6c], bx
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
call fcn.0100630b
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0x1002068
push dword [ebp - 0x18]
push esi
call fcn.0100c1e0
test eax, eax
je 0x100e9f6
push dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
call fcn.0100630b
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jg 0x100ea14
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jg 0x100ea14
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jle 0x100ea18
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0x20], ebx
je 0x100ea26
push dword [ebp - 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x24], ebx
je 0x100ea34
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x3c], ebx
je 0x100ea42
push dword [ebp - 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
cmp dword [ebp - 0x40], ebx
je 0x100ea50
push dword [ebp - 0x40]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100ea60
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0100c373
lea eax, [ebp - 0x2c]
push eax
call fcn.0100c373
lea eax, [ebp - 0x30]
push eax
call fcn.0100c373
lea eax, [ebp - 0x34]
push eax
call fcn.0100c34c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.01005497
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret