Function at 0x475680
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5409fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x475969
mov ecx, dword [0x591288]
mov dword [esp + 0xc], ecx
mov eax, dword [esi + 0x264]
mov byte [esp + 0x24], 1
test eax, eax
je 0x47595b
mov ecx, esi
call fcn.0046dc10
test eax, eax
je 0x47570a
lea edx, [esp + 0x14]
mov ecx, esi
push edx
call fcn.00465200
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.0050d536
mov byte [esp + 0x24], 1
lea ecx, [esp + 0x14]
jmp 0x475784
test byte [esi + 0x1ac], 2
je 0x47572f
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00465160
mov ebx, 1
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 3
jmp 0x47574c
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00465200
mov ebx, 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 4
push eax
lea ecx, [esp + 0x10]
call fcn.0050d536
test bl, 2
mov dword [esp + 0x24], 3
je 0x475773
and ebx, 0xfffffffd
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.0050d3fd
test bl, 1
mov dword [esp + 0x24], 1
je 0x475789
lea ecx, [esp + 0x18]
call fcn.0050d3fd
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
push edx
push eax
call fcn.004eea90
add esp, 8
test eax, eax
je 0x47595b
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esi
call fcn.00464d90
call fcn.0043e320
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
add esp, 4
push edx
push eax
call edi
test eax, eax
jne 0x4758d0
push 0x5c
lea ecx, [esp + 0x30]
call fcn.00505d13
mov edi, eax
lea ecx, [esp + 0x14]
push edi
push ecx
lea ecx, [esp + 0x34]
call fcn.00505c45
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 5
mov eax, dword [edx - 8]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00505bc9
lea ecx, [esp + 0x14]
mov bl, 6
push ecx
lea ecx, [esi + 0x27c]
mov byte [esp + 0x28], bl
call fcn.0050d536
push str..jc_
lea ecx, [esp + 0x14]
call fcn.00505d35
test eax, eax
jl 0x47586b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00505c45
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.0050d3fd
push 0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0050d172
mov ecx, esi
call fcn.00464dc0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4758af
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4758af
mov eax, dword [esi + 0x38]
push 2
push esi
push 0x4c8
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 5
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.0050d3fd
jmp 0x47595b
push 0x32
call fcn.0042eff0
mov ecx, eax
call fcn.0042f3e0
test eax, eax
je 0x47595b
mov ecx, esi
call fcn.0046dc10
test eax, eax
je 0x47595b
lea edx, [esp + 0x2c]
push str..log
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.0050d692
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 8
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.0050d3fd
lea ecx, [esp + 0xc]
push str..log
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0050d692
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 9
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.0050d3fd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0050d3fd
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0050d3fd
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4