Function at 0x437d70
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0x2a4
mov eax, 0x5ac271
call fcn.0042d04a
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4385c2
call fcn.004362a2
test al, al
je 0x437db7
pop edx
push ebx
push edx
push ecx
push esi
push ebp
pop esi
push edx
push esp
push ecx
pop esi
pop eax
pop ebx
push eax
pop ebp
push edx
pop edx
push eax
pop ebp
push ebx
push ecx
pop ebx
push ebx
call fcn.00436149
test al, al
je 0x437dd6
pop ebp
pop esp
push edi
push eax
push ebp
push edx
pop edi
push edx
pop ebp
push esi
push ecx
pop edi
pop esp
pop edi
pop eax
pop esi
pop ebx
pop esi
pop esi
pop esi
push edx
pop esi
call fcn.00436440
test al, al
je 0x437dff
push edi
pop edx
push edi
pop esi
pop ecx
push esi
pop esi
push eax
push ecx
pop esp
pop ecx
pop eax
pop ebp
pop ecx
push ebx
pop ebp
pop ecx
push eax
pop edi
push ebp
push ecx
pop ecx
push ebx
push esi
pop esi
push esi
push ecx
pop esi
pop edi
pop eax
pop esi
push eax
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x437e37
call fcn.00436149
test al, al
je 0x4385c2
pop ebp
push esp
pop eax
push esi
push esi
pop ebp
push ebx
pop eax
push esp
push ebp
pop ebp
push edi
push edi
push eax
pop esi
pop esp
pop ebp
pop esi
push eax
pop ebx
push ebx
pop edi
jmp 0x4385c2
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0044b370
add esp, 0xc
mov dword [ebp - 0x234], 7
xor eax, eax
mov dword [ebp - 0x238], ebx
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push ebx
push 0x62be94
call fcn.00403090
mov dword [ebp - 4], ebx
call fcn.00436440
test al, al
je 0x437e9b
pop ebx
push ebp
push esp
pop edi
push ebp
pop eax
pop ebx
pop ecx
pop ebp
push eax
pop esp
pop ebp
pop ebx
push ecx
push ebx
pop esp
pop eax
pop ebp
pop eax
push ebx
push ebx
pop ecx
push esp
call fcn.00436371
test al, al
je 0x437ebb
push ebx
push ecx
push ecx
pop esp
push esi
pop edx
push esi
pop edx
pop ecx
pop ebp
push edx
pop ebx
pop ecx
pop esp
push ebx
push eax
pop esp
push ebx
push edx
push esp
pop ebp
push esp
push esi
call fcn.004362a2
test al, al
je 0x437ed8
push ebx
push ebx
pop ecx
pop esp
pop ebx
pop ebp
push esi
push edi
pop ecx
push esp
pop esp
push ebp
push eax
pop edx
push ebp
pop ebx
push ebp
push eax
push edi
push eax
call fcn.004362e7
test al, al
je 0x437ef7
push esp
pop ebp
push edi
pop ecx
push ebx
pop ecx
push eax
pop ebp
push ecx
push edi
pop edi
push ebp
push esp
push ebx
pop ebx
pop ebp
pop esi
push edi
pop edi
push edi
push esi
pop ecx
call fcn.0043684b
test al, al
je 0x437f17
pop esi
push ebx
push ebx
push esp
push ebx
push eax
push ebp
push esi
pop ebx
push edx
push eax
pop esp
pop ebx
pop eax
push ebp
push esp
pop edi
push ecx
pop ecx
push ebp
pop eax
push ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00439bf7
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.00436554
test al, al
je 0x437f63
pop ebx
pop ecx
pop edi
pop ebx
pop esp
pop edi
push eax
push eax
pop edi
push edx
pop eax
pop edx
pop esi
push esp
push ebx
pop ebx
pop ebp
push edx
pop esi
push ebp
pop ecx
pop ebp
push ecx
push esi
push ebx
call fcn.00436149
test al, al
je 0x437f83
push ebx
push esp
pop ebp
pop eax
pop ecx
pop eax
pop ebx
pop ebx
push edi
pop esi
push eax
pop ebp
push edx
pop esp
push ecx
push esi
pop ebp
pop esi
push esp
push edi
pop ecx
push ebp
pop ecx
call fcn.004366f2
test al, al
je 0x437fa1
push ecx
pop edi
push esi
pop ecx
pop ebx
pop eax
pop ecx
push ecx
pop esp
pop eax
pop ecx
push ebp
push ebp
push ebx
push esi
pop esp
push esi
push edx
push esp
push esi
push edx
call fcn.00436218
test al, al
je 0x437fc9
pop edi
pop ecx
push esp
pop eax
push ecx
push esp
push ecx
push esp
push ebx
push esi
pop edi
pop esp
push esp
push edx
push ecx
push ecx
pop edi
push edx
push ebp
pop edi
pop eax
push ebp
push eax
pop ebx
pop edx
push ecx
push ebp
pop eax
pop esp
push esp
push esp
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x278]
push eax
call fcn.00439fe3
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.0043650f
test al, al
je 0x438000
push ebp
push ebp
push esp
push ecx
pop esp
pop edx
push ecx
pop edx
push edx
push esp
push eax
pop ebx
push edx
push ebp
pop ecx
pop edi
pop edi
pop ebx
pop ebx
pop eax
pop esp
pop ecx
call fcn.00436104
test al, al
je 0x438019
pop esi
push ebx
pop eax
push eax
pop edi
pop ebp
pop eax
pop ebp
pop ecx
pop eax
pop ebp
push ecx
push eax
pop edi
push ecx
pop edx
call fcn.00436599
test al, al
je 0x438038
pop esi
pop ebx
push eax
pop edx
push edx
pop edx
pop edi
push edi
pop ebp
pop esi
pop ebp
pop edx
push esp
push edx
pop ecx
pop ebp
pop ebp
pop eax
pop ebx
pop ecx
push ecx
pop eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00439fe3
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
call fcn.004407f4
add esp, 0xc
call fcn.004366f2
test al, al
je 0x438078
pop ecx
pop esp
push ebp
pop eax
pop ebp
push esi
push ecx
pop eax
pop ecx
pop esp
pop esi
pop esi
push ecx
push eax
push ebx
pop esp
pop esp
call fcn.004367c1
test al, al
je 0x438092
pop edi
pop esp
pop ecx
push edx
push ebx
pop edi
pop ecx
push edi
push ebx
pop esp
pop edx
push edx
push esp
pop ecx
push ecx
push edx
pop ebp
lea eax, [ebp - 0x260]
push eax
call fcn.004407f4
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.00429cbd
test eax, eax
jne 0x438142
call fcn.0043625d
test al, al
je 0x4380d7
pop edx
push esp
pop esi
pop eax
push esi
pop eax
push ebx
pop edx
pop ebx
pop edi
push eax
pop edx
push esp
push ecx
pop edi
pop ebp
pop edx
push esp
push eax
push ecx
pop esp
call fcn.0043684b
test al, al
je 0x4380f5
pop eax
push esi
push eax
pop ebx
push esi
push eax
pop ebp
pop esp
pop esp
push esp
push esi
push esp
push edi
push ebp
pop eax
pop ebp
pop edx
push eax
push ebp
push ebp
pop ebx
call fcn.0043677c
test al, al
je 0x438112
pop edx
push edx
pop edx
push esp
pop eax
push ebx
push ebx
pop edi
push ebx
pop ecx
push ebp
push eax
pop edi
push ebp
push edx
pop ebp
push ebp
pop esi
pop edx
push esi
cmp word [ebp - 0x218], 0
jne 0x438120
xor eax, eax
jmp 0x43812d
lea eax, [ebp - 0x218]
push eax
call fcn.00459845
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403090
jmp 0x4381b3
call fcn.0043684b
test al, al
je 0x438164
pop ebx
pop edx
pop edx
pop eax
push ecx
pop esi
pop edi
push ecx
pop ebx
pop ebp
pop ecx
push edx
push edi
push ebp
pop eax
pop esp
push edi
pop esi
pop ebp
push ecx
pop ebx
push eax
push ecx
push ecx
push esi
call fcn.00436623
test al, al
je 0x438184
pop esp
push esp
push ebp
pop edi
pop ecx
pop esp
push esi
pop ecx
pop eax
push ebp
pop esp
pop ecx
push ecx
pop edi
push ebp
push esp
pop edi
push eax
pop eax
pop ebp
push ebp
push ecx
push esi
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x290]
push eax
call fcn.00439e66
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00407b00
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00402fd0
and dword [ebp - 0x2b0], 0
call fcn.0043632c
test al, al
je 0x4381dc
pop esp
pop ebx
pop esi
push ebp
push edx
pop ecx
push ebp
pop ecx
pop ebp
pop edi
push edi
push ebx
pop esi
pop ebp
pop ebp
pop eax
pop ecx
pop edi
pop ebp
push edx
push esp
push ebp
pop esi
pop ecx
pop ebp
call fcn.004366ad
test al, al
je 0x438204
push esi
push edx
push edi
push esp
pop esp
pop ecx
pop ebx
push esi
push ebx
push eax
pop ebx
push edx
push edx
pop edi
push ebx
pop edi
push esp
push edx
push ebp
push esp
push ebp
pop eax
push ebp
push edx
push ebp
push eax
push eax
push eax
pop edi
push edi
pop esi
call fcn.004361d3
test al, al
je 0x43822c
pop edx
push edi
push eax
pop edx
pop edx
pop ebx
pop edx
push ebp
pop ebx
pop esi
push edi
push edx
pop edi
push ebx
pop edi
push ecx
push ebp
pop ebp
push edx
push esi
push esi
push edx
pop eax
pop ecx
pop edi
push edx
push ebx
push edi
push ebp
push edx
pop esp
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x21c], 7
push eax
push 0x62be94
mov word [ebp - 0x230], ax
call fcn.00403090
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.00403860
call fcn.00436371
test al, al
je 0x438294
pop esp
pop esi
pop ecx
pop edx
pop edx
push ebx
push edx
push ebp
pop ecx
pop ebp
pop eax
pop esi
push ebx
pop esp
pop eax
push ebp
push esi
push esp
pop eax
push esi
push ebx
push eax
push esp
pop ecx
pop edi
push ebx
call fcn.004363fb
test al, al
je 0x4382b3
push eax
pop esi
pop edx
push ebp
pop ebx
push ebx
pop eax
push ebx
push ebx
push eax
push edx
push esp
pop ecx
pop esi
push ebx
pop edi
push ebx
push ebx
push esp
pop ebp
pop esi
pop esp
call fcn.0043650f
test al, al
je 0x4382dc
push edi
push eax
pop ebx
pop ebx
push esp
pop ecx
push esi
pop eax
push edx
pop ecx
pop edi
push esp
pop esp
pop edx
push ebx
pop edx
push esi
pop ebx
push ecx
push eax
pop edi
pop eax
pop eax
pop edi
pop esi
push ebx
pop ecx
push ebp
push edx
pop ebp
push ebp
push ebp
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x2a8]
push ebx
push eax
lea ecx, [ebp - 0x230]
call fcn.00406020
mov esi, str..bbb
push esi
call fcn.00459845
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.00406130
mov eax, dword [ebp - 0x2b0]
test eax, eax
jle 0x43834d
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004396c6
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00406020
push ebx
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.00402fd0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438422
call fcn.00436485
test al, al
je 0x43838d
push ebx
pop eax
pop edx
pop ebp
pop edi
push edi
pop edi
push eax
push esp
push edi
pop esi
pop ebx
pop esi
pop eax
push ebp
pop ebx
push esi
push ecx
pop edx
pop ebx
call fcn.00436485
test al, al
je 0x4383ae
push esi
push edx
push edi
push eax
pop esi
push edx
push esp
pop esp
push edx
pop edi
pop edi
push ebp
pop edx
pop eax
push ecx
pop ebx
push ecx
pop ecx
push eax
pop esi
push ebx
push ebp
pop esp
push ebx
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x438422
call fcn.004364ca
test al, al
je 0x4383f4
pop edx
push edx
pop eax
push edi
push edi
pop edx
push ecx
push edx
push edi
push esp
push ecx
pop esi
push esi
pop esp
pop esi
push ebx
pop ebx
pop eax
pop edi
push ebp
pop eax
pop esi
pop esp
push esi
pop ebp
pop edx
push ebp
pop esp
pop ecx
push eax
mov eax, dword [ebp - 0x2b0]
cmp eax, 0xa
jge 0x438579
push 0
inc eax
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2b0], eax
call fcn.00402fd0
jmp 0x43822c
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push dword [ebp - 0x2ac]
call fcn.0045cff1
pop ecx
pop ecx
call fcn.004362e7
test al, al
je 0x438461
pop esi
push edi
pop ecx
pop eax
pop eax
push esp
push ecx
pop eax
push edi
pop esi
pop ebp
pop edi
pop esi
push eax
push edx
pop eax
pop ebx
pop edi
pop ecx
pop esp
call fcn.004362e7
test al, al
je 0x438480
pop ebp
push ecx
push edi
push ebp
pop ebx
pop edi
pop edx
push esp
pop ebp
push esp
push edi
pop edi
pop eax
push esi
push edi
pop edi
push edi
pop esi
pop ebp
pop edi
pop edi
pop eax
call fcn.00436599
test al, al
je 0x4384a9
push edx
pop esp
pop ecx
pop esp
pop esi
pop ecx
pop edi
pop ebp
push edi
pop esi
pop eax
push eax
pop ebp
push ecx
push eax
push ebp
push ecx
push esi
pop eax
pop eax
push ecx
push ebp
push esi
push ebx
pop ebp
push ecx
push ebp
pop eax
pop esp
push esp
push esp
pop eax
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x230]
push eax
call ebx
test eax, eax
je 0x4384e9
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x2ac]
call ebx
test eax, eax
je 0x438579
call fcn.00436554
test al, al
je 0x43851f
push ecx
pop ecx
push eax
push edx
push esp
pop esi
pop ebp
push ebx
pop ebp
pop ebx
pop esp
push ecx
pop esp
pop edi
push ecx
push ebx
push edx
push ecx
pop edx
push edx
pop ecx
push ecx
push ebx
pop eax
push ebx
push eax
push ecx
pop ebx
pop edi
call fcn.004365de
test al, al
je 0x438541
push eax
pop edi
pop edi
pop edi
push esp
pop edx
pop eax
pop eax
push eax
push esi
push esp
push edx
pop esp
push esp
push esi
pop eax
pop edi
pop edx
push ebx
push esp
pop ecx
push esp
push ebp
push esi
push esp
call fcn.0043677c
test al, al
je 0x438569
push ebx
push eax
push esi
pop ebx
pop esi
push ebx
pop eax
push eax
pop edi
push ebp
push edi
pop ebx
pop ebx
pop edx
push esi
pop esp
push edx
push ebx
pop eax
push edx
push ebx
pop ebp
push esp
push eax
pop edx
push esi
push ebp
pop esp
push esi
push ebp
push eax
push 5
push 0
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
lea ecx, [ebp - 0x230]
push 0
inc ebx
push ebx
call fcn.00402fd0
push 0
push ebx
lea ecx, [ebp - 0x260]
call fcn.00402fd0
push 0
push ebx
lea ecx, [ebp - 0x278]
call fcn.00402fd0
push 0
push ebx
lea ecx, [ebp - 0x2a8]
call fcn.00402fd0
push 0
push ebx
lea ecx, [ebp - 0x248]
call fcn.00402fd0
call fcn.0042cff4
ret