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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a691d
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x4c3518]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push esi
push edi
mov eax, dword [0x4c3518]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x43488b
mov eax, 0xfffffbf2
jmp 0x434bde
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x47e]
push ecx
mov word [esp + 0x480], ax
call fcn.0048ab30
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x276]
push eax
mov word [esp + 0x278], dx
call fcn.0048ab30
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x6e]
push edx
mov word [esp + 0x70], cx
call fcn.0048ab30
add esp, 0xc
lea eax, [esp + 0x474]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, ebx
lea edi, [esp + 0x48]
call fcn.004181b0
xor edi, edi
mov dword [esp + 0x690], edi
cmp dword [eax + 0x18], 8
jb 0x434917
mov eax, dword [eax + 4]
jmp 0x43491a
add eax, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00401bc0
mov byte [esp + 0x690], 2
cmp dword [esp + 0x60], 8
jb 0x434942
mov edx, dword [esp + 0x4c]
push edx
call fcn.00485321
add esp, 4
push 4
push str._tmp
lea ecx, [esp + 0x18]
xor eax, eax
push ecx
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], edi
mov word [esp + 0x58], ax
call fcn.0040b250
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x478]
push eax
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x26c]
push eax
push ebx
mov ecx, esi
call edx
mov ecx, ebx
lea edi, [esp + 0x20]
call fcn.004181b0
mov byte [esp + 0x690], 3
cmp dword [eax + 0x18], 8
jb 0x4349b1
mov edx, dword [eax + 4]
jmp 0x4349b4
lea edx, [eax + 4]
test edx, edx
jne 0x4349bc
xor eax, eax
jmp 0x4349d0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4349c1
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x14]
call fcn.004026a0
mov byte [esp + 0x690], 2
cmp dword [esp + 0x38], 8
jb 0x4349f8
mov eax, dword [esp + 0x24]
push eax
call fcn.00485321
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x478]
push edx
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x64]
push ecx
call fcn.004189f0
sub esp, 0x18
mov ecx, esp
xor edx, edx
mov dword [esp + 0x5c], esp
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push edx
mov eax, 0x4aad14
mov esi, ecx
mov word [ecx + 4], dx
call fcn.00409640
sub esp, 0x1c
mov byte [esp + 0x6c8], 4
mov esi, esp
xor ebx, ebx
mov edi, 7
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov word [esi + 4], ax
lea eax, [esp + 0x9c]
mov dword [esp + 0x74], esp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434a72
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xa0]
call fcn.00409640
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x6e4], 5
xor ecx, ecx
lea eax, [esp + 0x2c0]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x98], esp
mov word [esi + 4], cx
lea edx, [eax + 2]
jmp 0x434ac0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x434ac0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c4]
call fcn.00409640
mov byte [esp + 0x6e4], 2
call fcn.00418850
mov esi, dword [esp + 0x6c]
mov edx, dword [esi]
mov edi, dword [esp + 0x70]
mov eax, dword [edx + 0x5c]
add esp, 0x54
push edi
mov ecx, esi
call eax
push edi
lea edi, [esp + 0x24]
call fcn.00418750
add esp, 4
mov edi, 8
mov byte [esp + 0x690], 6
cmp dword [eax + 0x18], edi
jb 0x434b22
mov eax, dword [eax + 4]
jmp 0x434b25
add eax, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00401bc0
mov byte [esp + 0x690], 8
cmp dword [esp + 0x38], edi
jb 0x434b4c
mov edx, dword [esp + 0x24]
push edx
call fcn.00485321
add esp, 4
mov edx, dword [esi]
mov edx, dword [edx + 0x70]
xor eax, eax
mov word [esp + 0x24], ax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
call edx
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x64]
call fcn.00418ab0
mov byte [esp + 0x690], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x690], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434bdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.0048532c
mov esp, ebp
pop ebp
ret 4