Function at 0x4735b0
Capabilities:
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x540640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], 0
call fcn.00479d20
test eax, eax
je 0x47364a
mov eax, dword [esi + 0x218]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x4735f5
mov dword [esp + 0x34], ebp
jmp 0x4738ab
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x47360e
mov ecx, esi
call fcn.00479d40
mov eax, dword [esi + 0x28]
test eax, eax
je 0x473cba
push 1
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0050d172
mov ecx, dword [esi + 0x28]
call fcn.004148b0
test eax, eax
je 0x473cba
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esi + 0x27c]
call fcn.0050d536
mov dword [esp + 0x34], ebp
jmp 0x4738ab
mov eax, dword [esi + 0x264]
test eax, eax
je 0x4738a3
mov edx, dword [0x591288]
mov dword [esp + 0x14], edx
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.0046dc10
test eax, eax
jne 0x4736a1
test byte [esi + 0x1ac], 2
je 0x4736a1
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.00465160
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.0050d536
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x24]
jmp 0x4736c5
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00465200
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.0050d536
mov byte [esp + 0x34], 1
lea ecx, [esp + 0x24]
call fcn.0050d3fd
push 0x5c
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0050d172
lea eax, [esp + 0x20]
push eax
call fcn.0042ec10
add esp, 0xc
push 1
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 4
call fcn.00505606
lea ecx, [esp + 0x24]
push 1
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.00505bc9
mov edx, dword [esp + 0x20]
mov eax, dword [eax]
push edx
push eax
call fcn.004ee0f0
add esp, 8
lea ecx, [esp + 0x24]
test eax, eax
setne bl
call fcn.0050d3fd
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
test bl, bl
je 0x473792
lea eax, [esp + 0x3c]
push 0x588788
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0050d692
lea edx, [esp + 0x18]
mov bl, 6
push edx
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x3c], bl
push eax
call fcn.0050d62c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 7
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
mov byte [esp + 0x34], 4
lea ecx, [esp + 0x20]
jmp 0x4737be
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0050d62c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 8
call fcn.0050d536
mov byte [esp + 0x34], 4
lea ecx, [esp + 0x24]
call fcn.0050d3fd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.004ee0f0
add esp, 8
test eax, eax
je 0x473887
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
push ecx
call edi
test eax, eax
je 0x4738ce
lea edx, [esp + 0x3c]
lea ecx, [esi + 0x27c]
push edx
call fcn.0050d536
push 0x32
call fcn.0042eff0
mov ecx, eax
call fcn.0042f3e0
test eax, eax
je 0x473887
lea eax, [esp + 0x14]
push str..log
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0050d692
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 9
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
lea edx, [esp + 0x18]
push str..log
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0050d692
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xa
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.0050d3fd
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.0050d3fd
mov eax, 1
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebp, 0xffffffff
cmp eax, ebp
je 0x473cce
test al, 0x10
jne 0x473cce
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00465200
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0xb
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
push 0x5c
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0050d172
lea eax, [esp + 0x24]
push eax
call fcn.0042ec10
add esp, 0xc
push 1
push 0x5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xc
call fcn.00505606
lea ecx, [esp + 0x28]
push 1
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0xd
call fcn.00505bc9
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push edx
push eax
call fcn.004ee0f0
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne bl
call fcn.0050d3fd
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 0xc
call fcn.0050d3fd
test bl, bl
je 0x4739dd
lea eax, [esp + 0x3c]
push 0x588788
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0050d692
lea edx, [esp + 0x1c]
mov bl, 0xe
push edx
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x3c], bl
push eax
call fcn.0050d62c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0xf
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
mov byte [esp + 0x34], 0xc
lea ecx, [esp + 0x24]
jmp 0x473a09
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0050d62c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x10
call fcn.0050d536
mov byte [esp + 0x34], 0xc
lea ecx, [esp + 0x28]
call fcn.0050d3fd
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0050d172
push 1
lea eax, [esp + 0x28]
push 1
push eax
mov ecx, esi
call fcn.00474430
mov ecx, dword [esp + 0x20]
mov bl, 0x11
mov byte [esp + 0x34], bl
mov eax, dword [ecx - 8]
test eax, eax
je 0x473c82
push 1
push 0x5c
lea ecx, [esp + 0x2c]
call fcn.00505606
lea edx, [esp + 0x28]
push 1
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 0x12
call fcn.00505bc9
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push eax
call fcn.004ee0f0
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne byte [esp + 0x13]
call fcn.0050d3fd
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
mov al, byte [esp + 0x13]
test al, al
je 0x473aeb
lea edx, [esp + 0x3c]
push 0x588788
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0050d692
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
mov byte [esp + 0x40], 0x13
call fcn.0050d62c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x14
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0x13
call fcn.0050d3fd
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x24]
jmp 0x473b16
lea eax, [esp + 0x20]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0050d62c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x15
call fcn.0050d536
mov byte [esp + 0x34], bl
lea ecx, [esp + 0x28]
call fcn.0050d3fd
mov ecx, esi
call fcn.0046dc10
test eax, eax
jne 0x473b8f
test byte [esi + 0x1ac], 2
je 0x473b8f
lea eax, [esp + 0x14]
push str..jc_
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.0050d692
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0x16
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
lea edx, [esp + 0x1c]
push str..jc_
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0050d692
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x17
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call edi
test eax, eax
je 0x473c82
lea eax, [esp + 0x3c]
lea ecx, [esi + 0x27c]
push eax
call fcn.0050d536
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x1e4]
call fcn.0050d536
push 0x32
call fcn.0042eff0
mov ecx, eax
call fcn.0042f3e0
test eax, eax
je 0x473c41
lea edx, [esp + 0x14]
push str..log
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0050d692
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0x18
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
lea ecx, [esp + 0x1c]
push str..log
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0050d692
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0x19
call fcn.0050d536
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], bl
call fcn.0050d3fd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0xc
call fcn.0050d3fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.0050d3fd
mov dword [esp + 0x34], ebp
jmp 0x4738ab
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0xc
call fcn.0050d3fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.0050d3fd
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.0050d3fd
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebp
call fcn.0050d3fd
xor eax, eax
jmp 0x4738b9
push ecx
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0050d172
call fcn.0043e320
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push ecx
call edi
test eax, eax
je 0x473c9e
lea edx, [esp + 0x3c]
lea ecx, [esi + 0x27c]
push edx
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0
call fcn.0050d3fd
mov dword [esp + 0x34], ebp
jmp 0x4738ab