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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c8
mov eax, dword [0x6459b8]
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 dword [ebp - 0x868], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x8c0], eax
call fcn.0045989b
mov dword [ebp - 4], 0
mov esi, dword [esi]
push 0
push 0
push esi
lea ecx, [ebp - 0x880]
call fcn.00459d7e
test eax, eax
jne 0x4365b4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.004599cb
mov eax, 0xfffffffd
jmp 0x436c04
xor eax, eax
push 0x1c
lea ecx, [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x880]
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x838], eax
mov dword [ebp - 0x834], eax
call fcn.00459590
cmp dword [ebp - 0x84c], 0x19780625
lea ecx, [ebp - 0x880]
je 0x436625
call fcn.00459836
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.004599cb
or eax, 0xffffffff
jmp 0x436c04
call fcn.00459787
lea edi, [eax - 0x1c]
push edi
call fcn.004438a2
add esp, 4
mov esi, eax
push edi
push esi
lea ecx, [ebp - 0x880]
call fcn.00459590
mov edx, dword [ebp - 0x84c]
push edx
lea ecx, [ebp - 0x880]
call fcn.00459787
sub eax, 0x1c
push eax
push esi
call fcn.004361b0
add esp, 0xc
cmp dword [ebp - 0x844], eax
je 0x43669c
push esi
call fcn.00443897
add esp, 4
lea ecx, [ebp - 0x880]
call fcn.00459836
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.004599cb
mov eax, 0xfffffffe
jmp 0x436c04
lea ecx, [ebp - 0x880]
call fcn.00459836
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00546d60
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea edx, [ebp - 0x628]
push 0
push edx
call fcn.00546d60
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0
push 0x59a4a0
lea ecx, [ebp - 0x218]
push ecx
call ebx
push 0x208
lea edx, [ebp - 0x830]
push 0
push edx
call fcn.00546d60
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
push 0
push 0x59a4a0
lea ecx, [ebp - 0x218]
push ecx
call ebx
lea edx, [ebp - 0x830]
push edx
lea ecx, [ebp - 0x854]
call fcn.00406440
mov byte [ebp - 4], 1
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x858]
call fcn.00406440
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.0045989b
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x858]
push 0
push 0x1001
push ecx
lea ecx, [ebp - 0x8bc]
call fcn.00459d7e
test eax, eax
jne 0x4367d9
push esi
call fcn.00443897
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.004599cb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.00404610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call fcn.00404610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.004599cb
mov eax, 0xfffffffc
jmp 0x436c04
mov edx, dword [ebp - 0x83c]
push edx
push esi
lea ecx, [ebp - 0x8bc]
call fcn.004595d2
lea ecx, [ebp - 0x8bc]
call fcn.00459836
lea eax, [ebp - 0x854]
push eax
lea ecx, [ebp - 0x858]
push ecx
mov ecx, dword [ebp - 0x868]
call fcn.00436330
test eax, eax
je 0x436787
push 0x208
lea edx, [ebp - 0x420]
push 0
push edx
call fcn.00546d60
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0x59a4a0
lea ecx, [ebp - 0x218]
push ecx
call ebx
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x85c]
call fcn.00406440
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x894]
call fcn.0045989b
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x85c]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x894]
call fcn.00459d7e
test eax, eax
jne 0x4368b3
push esi
call fcn.00443897
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x894]
call fcn.004599cb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.00404610
jmp 0x436790
mov eax, dword [ebp - 0x83c]
sub edi, eax
push edi
add eax, esi
push eax
lea ecx, [ebp - 0x894]
call fcn.004595d2
push esi
call fcn.00443897
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.00459836
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x894]
call fcn.004599cb
lea ecx, [ebp - 0x8a8]
call fcn.0045989b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x85c]
push 0
push 0
push ecx
lea ecx, [ebp - 0x8a8]
call fcn.00459d7e
test eax, eax
je 0x436962
push 2
lea edx, [ebp - 0x864]
push edx
lea ecx, [ebp - 0x8a8]
call fcn.00459590
lea ecx, [ebp - 0x8d4]
call fcn.0045989b
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x854]
push 0
push 0
push eax
lea ecx, [ebp - 0x8d4]
call fcn.00459d7e
test eax, eax
jne 0x436971
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d4]
call fcn.004599cb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
jmp 0x43689a
xor ecx, ecx
xor edi, edi
cmp cx, word [ebp - 0x864]
jae 0x436b5c
mov bl, 9
mov edx, dword [ebp - 0x8c0]
push edx
lea ecx, [ebp - 0x860]
call fcn.00404ca0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x860]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x436c22
cmp eax, ecx
jg 0x436c22
cmp word [edx + eax*2], 0x5c
je 0x4369e7
lea eax, [ecx - 1]
test eax, eax
js 0x436c22
cmp eax, ecx
jg 0x436c22
cmp word [edx + eax*2], 0x2f
je 0x4369e7
push 0x616b64
lea ecx, [ebp - 0x860]
call fcn.004092f0
push 1
lea eax, [ebp - 0x84d]
push eax
lea ecx, [ebp - 0x8a8]
mov byte [ebp - 0x84d], 0
call fcn.00459590
push 1
push 0
push 1
lea ecx, [ebp - 0x8a8]
call fcn.0045961f
movzx ecx, byte [ebp - 0x84d]
add ecx, 2
push ecx
call fcn.004438a2
movzx edx, byte [ebp - 0x84d]
push edx
mov esi, eax
push 0
push esi
call fcn.00546d60
movzx eax, byte [ebp - 0x84d]
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x8a8]
call fcn.00459590
movzx ecx, byte [ebp - 0x84d]
push ecx
push esi
lea ecx, [ebp - 0x868]
call fcn.00436240
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x868]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x860]
call fcn.00408e40
push esi
call fcn.00443897
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.0045989b
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x860]
push 0
push 0x1001
push edx
lea ecx, [ebp - 0x894]
call fcn.00459d7e
test eax, eax
je 0x436c2c
push 4
lea eax, [ebp - 0x86c]
push eax
lea ecx, [ebp - 0x8a8]
call fcn.00459590
mov ecx, dword [ebp - 0x86c]
push ecx
call fcn.004438a2
mov edx, dword [ebp - 0x86c]
push edx
mov esi, eax
push 0
push esi
call fcn.00546d60
mov eax, dword [ebp - 0x86c]
add esp, 0x10
push eax
push esi
lea ecx, [ebp - 0x8d4]
call fcn.00459590
mov ecx, dword [ebp - 0x86c]
push ecx
push esi
lea ecx, [ebp - 0x894]
call fcn.004595d2
push esi
call fcn.00443897
add esp, 4
lea ecx, [ebp - 0x894]
call fcn.00459836
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x894]
call fcn.004599cb
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x868]
call fcn.00404610
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x860]
call fcn.00404610
movzx edx, word [ebp - 0x864]
inc edi
cmp edi, edx
jl 0x436984
lea ecx, [ebp - 0x8d4]
call fcn.00459836
lea ecx, [ebp - 0x8a8]
call fcn.00459836
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x830]
push eax
call esi
lea ecx, [ebp - 0x420]
push ecx
call esi
lea edx, [ebp - 0x628]
push edx
call esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d4]
call fcn.004599cb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.004599cb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.00404610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.004599cb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.00404610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call fcn.00404610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.004599cb
mov eax, 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.00546bde
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00403760
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x894]
call fcn.004599cb
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x868]
call fcn.00404610
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x860]
call fcn.00404610
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8d4]
call fcn.004599cb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8a8]
call fcn.004599cb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x85c]
call fcn.00404610
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8bc]
call fcn.004599cb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x858]
call fcn.00404610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x854]
call fcn.00404610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x880]
call fcn.004599cb
xor eax, eax
jmp 0x436c04