Function at 0x4309c0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x458bfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x614
push ebx
push ebp
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x21c]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
mov dword [esp + 0x10], ebx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [esp + 0x638]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x21c]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x463058]
lea edx, [esp + 0x14]
test edx, edx
mov dword [esp + 0x10], eax
je 0x430b2c
lea eax, [esp + 0x14]
shr eax, 0x10
jne 0x430ae8
xor edi, edi
lea ecx, [esp + 0x14]
lea edx, [esp + 0x424]
mov di, cx
push pe_nt_image_headers32
push edx
push edi
call fcn.00403f40
mov ecx, pe_nt_image_headers32
sub ecx, eax
cmp ecx, 1
jle 0x430a9c
lea edx, [esp + 0x424]
lea ecx, [esp + 0x10]
push edx
call fcn.004030c0
jmp 0x430b28
push 0x1ff
lea ecx, [esp + 0x14]
mov esi, 0x200
call fcn.00403bf0
cmp eax, ebx
je 0x430adb
push esi
push eax
push edi
call fcn.00403f40
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x430adb
add esi, 0x100
lea ecx, [esp + 0x10]
lea edx, [esi - 1]
push edx
call fcn.00403bf0
cmp eax, ebx
jne 0x430ab3
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00403cb0
jmp 0x430b28
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x430b28
push esi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x430b28
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x430b28
mov edi, dword [esp + 0x10]
mov eax, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
mov esi, dword [esp + 0x634]
lea ecx, [eax - 0xc]
cmp edx, ebx
mov dword [esp + 0x62c], ebx
jl 0x430b4f
push ecx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x430bac
mov ecx, dword [0x463058]
cmp eax, ebx
mov dword [esi], ecx
mov ebp, eax
jne 0x430b61
xor edi, edi
jmp 0x430b6a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x430b77
cmp edi, dword [eax - 4]
jle 0x430b8a
mov ecx, esi
call fcn.00403ed0
push edi
mov ecx, esi
call fcn.00403db0
cmp eax, ebx
je 0x430bac
mov eax, dword [esi]
lea ebx, [edi + edi]
push ebx
lea edx, [edi + edi + 2]
push ebp
push edx
push eax
call fcn.00402e50
mov ecx, dword [esi]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esi]
mov word [ebx + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x430bdb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x430bdb
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov ecx, dword [esp + 0x624]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x620
ret