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

Disassembly:
sub esp, 0x23c
mov eax, dword [0x4310d8]
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x248]
mov edx, ecx
push edi
mov edi, dword [esp + 0x248]
mov dword [esp + 0x240], eax
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x13c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0x42e290
lea edx, [esp + 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x38]
push 0x42e40c
push eax
call fcn.004259ad
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0xc], edi
je 0x41a0be
mov ecx, dword [ebp + 0x24]
push ebx
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
mov edx, 5
mov byte [esp + 0x34], 0x5a
mov byte [esp + 0x35], 0x9c
mov byte [esp + 0x36], 0x50
mov byte [esp + 0x37], 0xe5
mov byte [esp + 0x38], 0x74
mov byte [esp + 0x1c], 0x93
mov byte [esp + 0x1d], 0xe1
mov byte [esp + 0x1e], 0x84
mov byte [esp + 0x1f], 0xf7
mov byte [esp + 0x20], 0xca
call fcn.00419690
push eax
push edi
call fcn.004258f3
mov al, byte [0x431e5c]
mov cl, 0x58
imul cl
mov ecx, dword [ebp + 4]
mov bl, al
mov eax, dword [ecx]
add esp, 8
or bl, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
je 0x419c18
xor bl, bl
jmp 0x419bc0
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push edx
push eax
push 0x42e404
push edi
call fcn.004258f3
mov cl, byte [0x431e58]
mov edx, dword [0x431e5c]
mov eax, dword [0x431e64]
add edx, 0x10
or cl, 0x47
and edx, eax
mov byte [0x431e60], cl
or edx, 0x52
add esp, 0x10
lea ecx, [esp + 0x18]
mov word [0x431e64], dx
mov byte [0x431e58], 0x47
call fcn.004198e0
mov eax, dword [esp + 0x18]
cmp eax, dword [ebp + 4]
jne 0x419bc0
mov al, 0x91
mov byte [esp + 0x3d], al
mov byte [esp + 0x20], al
lea eax, [esp + 0x38]
push 6
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x40], 0x13
mov byte [esp + 0x41], 0x85
mov byte [esp + 0x42], 0xb6
mov byte [esp + 0x43], 0x41
mov byte [esp + 0x44], 0x75
mov byte [esp + 0x29], 0x48
mov byte [esp + 0x2a], 0x37
mov byte [esp + 0x2b], 0xc4
mov byte [esp + 0x2c], 0xf6
mov byte [esp + 0x2d], 0x35
call fcn.00419760
push eax
push edi
call fcn.004258f3
movzx eax, byte [0x431e60]
mov esi, dword [0x431e5c]
shl eax, 2
and eax, esi
or eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
add esp, 0x10
cmp esi, eax
je 0x419d0f
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ecx
push edx
push 0x42e404
push edi
call fcn.004258f3
mov al, byte [0x431e60]
mov cl, byte [0x431e5c]
mov dl, 0x58
imul dl
xor cl, bl
or cl, al
mov word [0x431e64], 0xa
mov al, byte [esi + 0x15]
add esp, 0x10
test al, al
mov bl, cl
jne 0x419d0a
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x419ced
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x419d0a
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x419ce0
jmp 0x419d0a
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x419d08
cmp esi, dword [eax + 8]
jne 0x419d08
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x419cf7
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x419c90
mov al, 0x53
mov byte [esp + 0x2c], al
mov byte [esp + 0x20], al
lea eax, [esp + 0x28]
push 5
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x30], 0x29
mov byte [esp + 0x31], 0xe3
mov byte [esp + 0x32], 0xcf
mov byte [esp + 0x33], 0xa3
mov byte [esp + 0x29], 0x9e
mov byte [esp + 0x2a], 0xa1
mov byte [esp + 0x2b], 0x94
mov byte [esp + 0x2c], 0xf
call fcn.00419760
push eax
push edi
call fcn.004258f3
mov al, byte [esp + 0x28]
mov cl, byte [0x431e58]
sub cl, al
mov al, byte [0x431e5c]
mov dl, 0x22
imul dl
mov dl, byte [0x431e60]
xor cl, al
movsx ax, bl
mov edi, 0x15
add dl, 0x45
mov byte [0x431e58], cl
mov byte [0x431e60], dl
add esp, 0x10
sub edi, eax
mov word [0x431e64], di
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x419e50
jmp 0x419db0
mov di, word [0x431e64]
nop
mov al, bl
mov bl, 0x22
imul bl
sub dl, cl
xor dl, al
mov byte [0x431e60], dl
movsx edx, di
mov edi, dword [0x431e5c]
movzx eax, cl
shl edx, 2
and edx, eax
mov eax, dword [esp + 0x14]
or edi, edx
mov dword [0x431e5c], edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ecx
push edx
push 0x42e404
push eax
xor bl, bl
call fcn.004258f3
mov al, byte [esi + 0x15]
add esp, 0x10
test al, al
jne 0x419e3b
mov eax, dword [esi + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x419e1e
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x419e3b
mov esi, eax
mov eax, dword [esi]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x419e11
jmp 0x419e3b
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x419e39
cmp esi, dword [eax + 8]
jne 0x419e39
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x419e28
mov esi, eax
cmp esi, dword [ebp + 0x1c]
mov dl, byte [0x431e60]
mov cl, byte [0x431e58]
jne 0x419da8
movzx ecx, cl
movzx edx, dl
shl ecx, 2
and ecx, edx
or dword [0x431e5c], ecx
mov word [0x431e64], 0xa
mov eax, dword [ebp + 4]
mov edi, dword [eax + 4]
mov al, byte [edi + 0x15]
test al, al
mov esi, edi
jne 0x419e9f
lea esp, [esp]
mov ecx, dword [esi + 8]
push ecx
mov ecx, ebp
call fcn.00419a00
mov esi, dword [esi]
push edi
call fcn.00424bcd
mov al, byte [esi + 0x15]
add esp, 4
test al, al
mov edi, esi
je 0x419e80
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], 0
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov cl, byte [0x431e58]
movzx ebx, byte [0x431e60]
add cl, 0x9c
mov byte [0x431e58], cl
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 4]
mov al, byte [edi + 0x15]
lea esi, [ebp + 0xc]
add ebx, 0x10
test al, al
mov dword [esp + 0x18], edi
jne 0x419f09
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.00419a00
mov ecx, dword [esp + 0x18]
mov edi, dword [edi]
push ecx
call fcn.00424bcd
mov al, byte [edi + 0x15]
add esp, 4
test al, al
mov dword [esp + 0x18], edi
je 0x419ee4
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ecx, dword [0x431e64]
movzx edx, byte [0x431e58]
imul ecx, ecx, 0x64
movzx eax, byte [0x431e60]
mov esi, dword [0x431e5c]
shl edx, 2
and edx, eax
or esi, edx
mov dword [0x431e5c], esi
mov word [0x431e64], cx
mov edx, dword [ebp + 0x1c]
mov edi, dword [edx + 4]
lea esi, [ebp + 0x18]
mov al, bl
xor al, 0x1d
mov byte [esp + 0x13], al
mov al, byte [edi + 0x15]
test al, al
mov dword [esp + 0x18], edi
jne 0x419f95
mov edi, edi
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.00419a00
mov ecx, dword [esp + 0x18]
mov edi, dword [edi]
push ecx
call fcn.00424bcd
mov al, byte [edi + 0x15]
add esp, 4
test al, al
mov dword [esp + 0x18], edi
je 0x419f70
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov cl, byte [0x431e60]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x14]
and cl, al
mov byte [0x431e60], cl
mov ecx, 0x15
sub ecx, ebx
push edx
mov byte [0x431e58], 0x47
mov word [0x431e64], cx
call fcn.004258a2
lea eax, [esp + 0x44]
push 0x42e400
push eax
call fcn.004259ad
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [0x431e5c], 0x52
je 0x41a06a
mov cl, byte [0x431e60]
sub cl, byte [esp + 0x13]
mov al, bl
mov dl, 0x22
imul dl
mov edx, dword [esp + 0x250]
xor cl, al
and byte [0x431e58], 0xaa
movsx ax, byte [esp + 0x13]
add word [0x431e64], ax
mov byte [0x431e60], cl
mov ecx, dword [esp + 0x254]
push esi
dec ecx
push ecx
push 1
push edx
call fcn.0042580a
mov edx, dword [0x431e5c]
and edx, 0x64
push esi
add ebx, 0x64
mov dword [0x431e5c], edx
call fcn.004258a2
add esp, 0x14
mov al, byte [0x431e64]
mov dl, byte [0x431e58]
mov cl, byte [0x431e60]
sub dl, al
mov al, bl
mov bl, 0x22
imul bl
xor dl, al
movsx eax, word [0x431e64]
xor cl, 0xfd
mov byte [0x431e60], cl
movzx ecx, cl
shl eax, 2
and eax, ecx
mov ecx, dword [0x431e5c]
mov byte [0x431e58], dl
lea edx, [esp + 0x40]
or ecx, eax
push edx
mov dword [0x431e5c], ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
pop edi
pop ebp
call fcn.00424873
add esp, 0x23c
ret 8