Function at 0x47d5cc
Capabilities:
Check if file exists

Disassembly:
push 0xc8
mov eax, 0x46bc2b
call fcn.0046791c
mov edi, ecx
mov dword [ebp - 0xc8], edi
and dword [ebp - 0xbc], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0xa0]
mov ecx, dword [ebp + 0xc]
call fcn.004375d6
test eax, eax
je 0x47dda5
test byte [0x4a2fc1], 8
je 0x47d622
push dword [ebp + 0xa0]
mov edx, 0x411560
push dword [ebp + 0xc]
call fcn.0047e4ac
sub esp, 0x94
mov dword [ebp - 0xc4], 0xa
lea eax, [ebp + 0x9c]
mov ecx, esp
push eax
call fcn.004250a4
lea ecx, [ebp - 0xb4]
call fcn.0047d030
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
mov dword [ebp - 0xbc], ebx
call fcn.0043d9d7
test al, al
je 0x47d693
sub esp, 0x94
lea eax, [ebp + 0x9c]
mov esi, esp
sub esp, 0x94
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
call fcn.0047d030
call fcn.0047ddeb
mov byte [ebp - 0xb7], bl
test al, al
jne 0x47d69a
mov byte [ebp - 0xb7], 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], 0x401604
call fcn.00434927
cmp byte [ebp - 0xb7], 0
je 0x47d6ec
sub esp, 0x94
lea eax, [ebp + 0x9c]
mov esi, esp
sub esp, 0x94
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
call fcn.0047d030
mov ecx, edi
call fcn.0047d2ad
sub esp, 0x94
lea eax, [ebp + 0x9c]
mov ecx, esp
push eax
call fcn.004250a4
lea ecx, [ebp - 0xb4]
call fcn.00424b51
push dword [eax + 4]
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
mov esi, eax
mov dword [ebp - 0xb4], 0x401604
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00434927
test esi, esi
je 0x47d776
push dword [ebp + 0xa0]
mov esi, 0x800700b7
mov edi, 0x408128
push 0x4116e0
push esi
push edi
push 0x1ce
push dword [ebp + 4]
call fcn.0047857a
add esp, 0x18
xor eax, eax
mov byte [ebp - 0xb6], al
mov byte [ebp - 0xb8], al
mov byte [ebp - 0xb7], al
jmp 0x47dac0
mov eax, dword [ebp + 0xa8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc4], 0x14
push 0x5c
pop esi
cmp ecx, eax
ja 0x47d808
push ecx
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0x9c]
call fcn.00425110
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x1c]
and dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0041bf9b
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x47d7fe
mov edx, dword [ebp + 0xa0]
movzx eax, word [edx + ecx*2]
cmp ax, si
jne 0x47d7fe
push edx
push 0x4116ec
mov eax, 0x8007007b
mov edi, 0x408128
push eax
push edi
mov esi, eax
push 0x1da
jmp 0x47d752
mov eax, dword [ebp + 0xa8]
cmp ecx, eax
jb 0x47d87e
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.00425110
mov eax, dword [ebp + 0xa8]
lea ecx, [ebp - 0x1c]
and dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 0x9c]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0041bf9b
test eax, eax
je 0x47d87e
mov ecx, dword [ebp + 0xa8]
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + ecx*2]
cmp ax, si
jne 0x47d87e
push dword [ebp + 0xa0]
mov eax, 0x8007007b
mov edi, 0x408128
push 0x411700
push eax
push edi
mov esi, eax
push 0x1e1
jmp 0x47d752
push 0
sub esp, 0x94
mov dword [ebp - 0xc4], 0x1e
lea eax, [ebp + 0x9c]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, edi
call fcn.00425259
test byte [0x4a2fc1], 8
je 0x47d8c1
push dword [ebp + 0xa0]
mov edx, 0x411550
push dword [ebp + 0xc]
call fcn.0047e4ac
sub esp, 0x94
lea eax, [ebp + 0x9c]
mov dword [ebp - 0xc0], esp
mov esi, esp
sub esp, 0x94
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
call fcn.00424b51
sub esp, 0x94
mov byte [ebp - 4], 3
mov esi, esp
lea eax, [ebp + 8]
sub esp, 0x94
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
call fcn.00424b51
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0047d0da
mov ecx, dword [ebp + 4]
mov esi, eax
mov edi, 0x408128
test esi, esi
jns 0x47d932
push esi
push edi
mov edx, 0x1f1
call fcn.00475b3c
xor cl, cl
mov al, bl
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb6], cl
test esi, esi
js 0x47d9b2
sub esp, 0x94
mov dword [ebp - 0xc4], 0x28
lea eax, [ebp + 0x9c]
mov dword [ebp - 0xc0], esp
mov ecx, esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, dword [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.0047dfa2
mov ecx, dword [ebp + 4]
mov esi, eax
test esi, esi
jns 0x47d9a2
push esi
push edi
mov edx, 0x1fa
call fcn.00475b3c
mov cl, bl
mov al, cl
mov byte [ebp - 0xb6], cl
mov byte [ebp - 0xb5], al
mov byte [ebp - 0xb8], 0
test esi, esi
js 0x47daac
sub esp, 0x94
mov dword [ebp - 0xc4], 0x32
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
call fcn.0047de91
mov ecx, dword [ebp + 4]
mov esi, eax
test esi, esi
jns 0x47da02
push esi
push edi
mov edx, 0x203
call fcn.00475b3c
mov byte [ebp - 0xb7], 0
jmp 0x47dac6
sub esp, 0x94
mov byte [ebp - 0xb8], bl
lea eax, [ebp + 0x9c]
mov byte [ebp - 0xb7], 0
mov ecx, esp
mov dword [ebp - 0xc4], 0x3c
push eax
call fcn.004250a4
mov ecx, dword [ebp - 0xc8]
call fcn.0047e365
mov ecx, dword [ebp + 4]
mov esi, eax
test esi, esi
jns 0x47da61
push esi
push edi
mov edx, 0x210
call fcn.00475b3c
mov al, byte [ebp - 0xb6]
mov byte [ebp - 0xb6], al
mov al, byte [ebp - 0xb5]
jmp 0x47dac0
test byte [0x4a2fc1], 8
mov byte [ebp - 0xb7], bl
je 0x47da82
push dword [ebp + 0xc]
mov edx, 0x411540
mov ecx, 0x4a0818
call fcn.00479376
sub esp, 0x94
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, dword [ebp - 0xc8]
call fcn.0047d1e3
mov al, byte [ebp - 0xb8]
mov byte [ebp - 0xb8], al
jmp 0x47da4d
mov byte [ebp - 0xb7], 0
mov byte [ebp - 0xb8], 0
mov byte [ebp - 0xb6], cl
mov byte [ebp - 0xb5], al
push esi
push dword [ebp - 0xc4]
lea eax, [ebp + 0x9c]
sub esp, 0x94
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, dword [ebp - 0xc8]
mov byte [ebp - 4], bl
call fcn.0047e0fb
test esi, esi
jns 0x47dda5
test byte [0x4a2fc1], 8
je 0x47db30
lea eax, [ebp - 0x20]
mov edx, 0x411580
push eax
push ebx
push ecx
mov ecx, 0x4a0818
call fcn.00479253
cmp byte [ebp - 0xb6], 0
je 0x47dbe9
sub esp, 0x94
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 6
lea eax, [ebp + 0x9c]
mov ecx, esp
push eax
call fcn.004250a4
mov esi, dword [ebp - 0xc8]
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0047dfa2
mov dword [ebp - 0xbc], eax
test eax, eax
jns 0x47dbef
push dword [ebp + 0xa0]
push 0x411714
push eax
push edi
push 0x229
push dword [ebp + 4]
call fcn.0047857a
add esp, 0x18
lea eax, [ebp + 0x9c]
push dword [ebp - 0xbc]
push 0xc8
sub esp, 0x94
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 7
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0047e244
jmp 0x47dbef
mov esi, dword [ebp - 0xc8]
cmp byte [ebp - 0xb5], 0
je 0x47dca0
test byte [0x4a2fc1], 8
je 0x47dc1a
push dword [ebp + 0xa0]
mov edx, 0x411570
mov ecx, 0x4a0818
call fcn.00479376
sub esp, 0x94
lea eax, [ebp + 0x9c]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
call fcn.0047d1e3
mov dword [ebp - 0xbc], eax
test eax, eax
jns 0x47dca0
push dword [ebp + 0xa0]
push 0x411714
push eax
push edi
push 0x233
push dword [ebp + 4]
call fcn.0047857a
add esp, 0x18
lea eax, [ebp + 0x9c]
push dword [ebp - 0xbc]
push 0xd2
sub esp, 0x94
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 8
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0047e244
cmp byte [ebp - 0xb8], 0
je 0x47dd16
call fcn.0047df1f
mov dword [ebp - 0xbc], eax
test eax, eax
jns 0x47dd16
push dword [ebp + 0xc]
push 0x411714
push eax
push edi
push 0x23c
push dword [ebp + 4]
call fcn.0047857a
add esp, 0x18
lea eax, [ebp + 0x9c]
push dword [ebp - 0xbc]
push 0xdc
sub esp, 0x94
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 9
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0047e244
cmp byte [ebp - 0xb7], 0
je 0x47dda3
sub esp, 0x94
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
call fcn.0047e365
mov dword [ebp - 0xbc], eax
test eax, eax
jns 0x47dda3
push dword [ebp + 0xc]
push 0x411714
push eax
push edi
push 0x245
push dword [ebp + 4]
call fcn.0047857a
add esp, 0x18
lea eax, [ebp + 0x9c]
push dword [ebp - 0xbc]
push 0xe6
sub esp, 0x94
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.004250a4
sub esp, 0x94
mov byte [ebp - 4], 0xa
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004250a4
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0047e244
xor bl, bl
lea eax, [ebp + 0x18]
mov dword [ebp + 8], 0x401604
push eax
lea ecx, [ebp + 8]
call fcn.00434927
lea eax, [ebp + 0xac]
mov dword [ebp + 8], 0x401b08
push eax
lea ecx, [ebp + 0x9c]
mov dword [ebp + 0x9c], 0x401604
call fcn.00434927
mov al, bl
call fcn.004678b9
ret 0x128