Function at 0x46adc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x643de0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x6ddc7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
test esi, esi
je 0x46b0f6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46b0f6
mov ecx, esi
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ae20
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.0044e410
push 0
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0044d8e0
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x46ae8e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46ae84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b118
push edx
push ecx
call fcn.005ff7fe
add esp, 8
mov ecx, edi
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
lea edx, [ecx + 2]
mov word [ebp - 0x78], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46aeb5
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.0044e410
push 0
lea edx, [ebp - 0x78]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0044d8e0
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x46af20
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46af16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b11d
push edx
push ecx
call fcn.005ff7fe
add esp, 8
xor eax, eax
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov edx, 0x6eb6a0
mov dword [ebp - 0x64], 7
cmovae ecx, dword [ebp - 0x28]
mov word [ebp - 0x78], ax
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x46af46
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x4b4750
cmovae ecx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], 0x4b47f0
mov dword [ebp - 0x58], 0x4b4870
mov dword [ebp - 0x54], 0x4b48f0
mov dword [ebp - 0x50], 0x4b4980
mov dword [ebp - 0x4c], 0x4b4a30
mov dword [ebp - 0x48], 0x4b4a70
mov dword [ebp - 0x44], 0
call fcn.004b5690
mov esi, eax
test esi, esi
jne 0x46b02e
mov edx, dword [ebp - 0x14]
lea edi, [eax + 2]
cmp edx, 0x10
jb 0x46afdf
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46afd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b122
push edx
push ecx
call fcn.005ff7fe
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x46b0fb
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46b01f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b127
push edx
push ecx
call fcn.005ff7fe
add esp, 8
jmp 0x46b0fb
sub esp, 8
mov ecx, esi
call fcn.0046acf0
mov byte [ebp - 4], 2
add esp, 8
mov edx, dword [ebp - 0x14]
mov edi, eax
cmp edx, 0x10
jb 0x46b075
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46b06b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b12c
push edx
push ecx
call fcn.005ff7fe
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x46b0be
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46b0b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46b131
push edx
push ecx
call fcn.005ff7fe
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [esi + 0xe0], 0
je 0x46b0e0
mov ecx, esi
call fcn.004b66f0
push dword [esi + 0x30]
mov eax, dword [esi + 0x14]
push dword [esi + 0x1c]
call eax
push esi
call fcn.0061f64a
add esp, 0xc
jmp 0x46b0fb
mov edi, 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ff7bd
mov esp, ebp
pop ebp
ret
call fcn.0061f5be
call fcn.0061f5be
call fcn.0061f5be
call fcn.0061f5be
call fcn.0061f5be
call fcn.0061f5be
int3