Function at 0x4476c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x473b6f
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0046a4b0
mov eax, dword [0x489320]
xor eax, esp
mov dword [esp + 0x1078], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x489320]
xor eax, esp
push eax
lea eax, [esp + 0x1090]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x1098], ebp
mov eax, dword [0x48c7fc]
mov edx, dword [eax + 0xc]
mov ecx, 0x48c7fc
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1098], 1
mov eax, dword [esp + 0x10a0]
cmp dword [eax - 0xc], ebp
je 0x447787
mov eax, dword [ebx + 0x34]
cmp eax, ebp
jne 0x447745
push 0x80004003
call fcn.00452d50
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0xa4]
call eax
mov ecx, dword [esp + 0x10a0]
mov esi, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
push eax
mov eax, dword [ebx + 0xdc]
push ebp
cdq
push esi
push edx
push eax
push str._parentwnd_I64d__mainwnd_I64d__pid_I64d___s
lea edi, [esp + 0x34]
call fcn.00406c30
add esp, 0x20
jmp 0x4477fc
mov eax, dword [ebx + 0xdc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4477e3
mov eax, dword [ebx + 0x34]
cmp eax, ebp
jne 0x4477a9
push 0x80004003
call fcn.00452d50
mov edx, dword [eax]
mov edx, dword [edx + 0xa4]
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
mov esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
push eax
mov eax, dword [ebx + 0xdc]
push ebp
cdq
push esi
push edx
push eax
push str._parentwnd_I64d__mainwnd_I64d__pid_I64d
lea edi, [esp + 0x30]
call fcn.00406c30
add esp, 0x1c
jmp 0x4477fc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebp
push eax
push str._init__pid_I64d
lea edi, [esp + 0x20]
call fcn.00406c30
add esp, 0xc
mov esi, dword [esp + 0x14]
xor eax, eax
mov word [esp + 0x34], ax
mov eax, esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebp
lea edx, [eax + 2]
jmp 0x447820
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x447820
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea esi, [esp + 0x34]
call fcn.00404fd0
mov ecx, esi
push ecx
lea edi, [esp + 0x1054]
mov byte [esp + 0x109c], 2
call fcn.00425bb0
add esp, 4
mov byte [esp + 0x1098], 4
cmp dword [esp + 0x48], 8
jb 0x447871
mov edx, dword [esp + 0x34]
push edx
call fcn.00453000
add esp, 4
mov ebx, dword [ebx + 0xdc]
push ebx
sub esp, 0x1c
mov esi, esp
mov eax, 7
mov dword [esi + 0x18], eax
mov dword [esp + 0x68], eax
xor ecx, ecx
mov dword [esp + 0x40], esp
xor edx, edx
mov dword [esi + 0x14], ebp
push 0x17
mov eax, str.360teslacryptdecoderWnd
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], cx
mov word [esi + 4], dx
call fcn.00404fd0
lea esi, [esp + 0x108c]
call fcn.0042a870
mov byte [esp + 0x1098], 5
mov ebx, dword [esp + 0x1054]
mov edi, 0x10
cmp dword [esp + 0x1068], edi
jae 0x4478dd
lea ebx, [esp + 0x1054]
mov esi, dword [esp + 0x1064]
push 0x1000
lea eax, [esp + 0x54]
push ebp
push eax
mov dword [esp + 0x58], 1
call fcn.004560e0
add esp, 0xc
cmp esi, 0x1000
jbe 0x44790c
mov esi, 0x1000
push esi
push ebx
lea ecx, [esp + 0x58]
push esi
push ecx
call fcn.00453374
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
add esp, 0x10
lea eax, [esp + 0x24]
lea edx, [esp + 0x4c]
push eax
lea ebx, [esp + 0x1070]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0x1004
mov dword [esp + 0x30], edx
call fcn.0042a8f0
test eax, eax
jne 0x447a41
lea esi, [esp + 0x20]
call fcn.00421b00
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.Utils_
mov byte [esp + 0x10a0], 6
call fcn.004061e0
push eax
lea edx, [esp + 0x28]
push edx
mov ebx, str.360teslacryptdecoder.exe
mov byte [esp + 0x10a8], 7
call fcn.004061e0
add esp, 0x10
mov byte [esp + 0x1098], 9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4479b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1098], 0xa
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4479df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447a19
mov ebx, dword [esp + 0x1c]
call fcn.00408410
test eax, eax
je 0x447a19
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push 1
push 5
mov ebx, 0x1388
call fcn.00421be0
add esp, 8
mov edi, 0x10
mov byte [esp + 0x1098], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x447a41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1084], 8
jb 0x447a5b
mov ecx, dword [esp + 0x1070]
push ecx
call fcn.00453000
add esp, 4
xor ebx, ebx
xor edx, edx
mov word [esp + 0x1070], dx
mov dword [esp + 0x1080], ebx
mov dword [esp + 0x1084], 7
cmp dword [esp + 0x1068], edi
jb 0x447a92
mov eax, dword [esp + 0x1054]
push eax
call fcn.00453000
add esp, 4
mov byte [esp + 0x1098], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1054], bl
mov dword [esp + 0x1064], ebx
mov dword [esp + 0x1068], 0xf
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447ad2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1098], 0xffffffff
mov eax, dword [esp + 0x10a0]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447b00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1090]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1078]
xor ecx, esp
call fcn.0045300b
add esp, 0x1088
ret 4