Function at 0x43c340
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9c5c
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x6c2d9c]
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 edi, ecx
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x4c]
mov dword [ebp - 0x220], 0
push esi
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
call fcn.00438ce0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00587327
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
cmp word [ebp - 0x218], 0
jne 0x43c3ea
xor ecx, ecx
jmp 0x43c402
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c3f3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00438be0
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 1
call fcn.00443910
lea eax, [ebp - 0x260]
mov edx, 0x685b90
push eax
lea ecx, [ebp - 0x278]
call fcn.004412c0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.004407d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x264]
cmp eax, 8
jb 0x43c4cc
mov edx, dword [ebp - 0x278]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x43c74a
add eax, eax
cmp eax, 0x1000
jb 0x43c4c3
test cl, 0x1f
jne 0x43c74a
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x43c74a
sub ecx, edx
cmp ecx, 4
jb 0x43c74a
cmp ecx, 0x23
ja 0x43c74a
push edx
call fcn.00463b8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00443c10
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00587327
add esp, 0xc
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
test eax, eax
je 0x43c582
cmp word [ebp - 0x218], 0
jne 0x43c557
xor ecx, ecx
jmp 0x43c56f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c560
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00438be0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x43c5f9
cmp dword [esi + 0x10], 0
je 0x43c5f9
cmp dword [ebp - 0x220], 0
je 0x43c5f9
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
cmp dword [esi + 0x14], 8
jb 0x43c5cd
mov esi, dword [esi]
push eax
push esi
call fcn.0058de53
add esp, 8
test eax, eax
jne 0x43c5f9
lea ecx, [edi + 0x98]
lea eax, [ebp - 0x230]
cmp ecx, eax
je 0x43c5f5
push 0xffffffffffffffff
push 0
push eax
call fcn.00438ce0
mov bl, 1
jmp 0x43c5fb
xor bl, bl
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x43c654
mov edx, dword [ebp - 0x248]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x43c74a
add eax, eax
cmp eax, 0x1000
jb 0x43c64b
test cl, 0x1f
jne 0x43c74a
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x43c74a
sub ecx, edx
cmp ecx, 4
jb 0x43c74a
cmp ecx, 0x23
ja 0x43c74a
push edx
call fcn.00463b8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x43c6ca
mov edx, dword [ebp - 0x260]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x43c74a
add eax, eax
cmp eax, 0x1000
jb 0x43c6c1
test cl, 0x1f
jne 0x43c74a
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x43c74a
sub ecx, edx
cmp ecx, 4
jb 0x43c74a
cmp ecx, 0x23
ja 0x43c74a
push edx
call fcn.00463b8b
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x43c72c
mov edx, dword [ebp - 0x230]
inc eax
mov ecx, edx
cmp eax, 0x7fffffff
ja 0x43c74a
add eax, eax
cmp eax, 0x1000
jb 0x43c723
test cl, 0x1f
jne 0x43c74a
mov edx, dword [edx - 4]
cmp edx, ecx
jae 0x43c74a
sub ecx, edx
cmp ecx, 4
jb 0x43c74a
cmp ecx, 0x23
ja 0x43c74a
push edx
call fcn.00463b8b
add esp, 4
mov al, bl
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.0055d371
mov esp, ebp
pop ebp
ret
call fcn.0057bc5b
int3