Function at 0x4e0100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e7505
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x82f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x94], 0
push eax
push 0x75c10c
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.0042fe00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push 0
push 0x762e6f
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.00430160
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x75c10c
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.0042fe00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push 0
push 0x762e6f
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00430160
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x75c10c
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.0042fe00
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0x7625f8
push 0
push 0xfde9
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov dword [ebp - 0xc4], eax
inc eax
push eax
call fcn.00696cd8
mov edi, eax
add esp, 4
test edi, edi
je 0x4e029c
mov eax, dword [ebp - 0xc4]
push 0
push 0
inc eax
push eax
push edi
push 0xffffffffffffffff
push 0x7625f8
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
jle 0x4e0293
mov eax, dword [ebp - 0xc4]
mov ecx, edi
mov byte [edi + eax], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e0280
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.00430160
push edi
call fcn.00692a8e
add esp, 4
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4e02a6
mov ecx, dword [esi]
lea edx, [ebp - 0xa4]
call fcn.0050d0e0
cmp byte [ebx], 0
lea eax, [ebp - 0x5c]
je 0x4e0374
cmp eax, esi
je 0x4e02d7
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4e02cb
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00430160
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00441730
cmp dword [0x836d6c], 0x10
mov ecx, 0x836d58
push dword [0x836d68]
cmovae ecx, dword [0x836d58]
push ecx
mov ecx, eax
call fcn.00441730
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x5c]
call fcn.0050d0e0
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4e033f
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4e0333
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00430160
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00441730
cmp dword [0x836e2c], 0x10
mov ecx, 0x836e18
push dword [0x836e28]
cmovae ecx, dword [0x836e18]
jmp 0x4e0426
cmp eax, esi
je 0x4e038e
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4e0382
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00430160
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00441730
cmp dword [0x836cac], 0x10
mov ecx, 0x836c98
push dword [0x836ca8]
cmovae ecx, dword [0x836c98]
push ecx
mov ecx, eax
call fcn.00441730
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x5c]
call fcn.0050d0e0
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4e03f6
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4e03ea
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00430160
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00441730
cmp dword [0x836dfc], 0x10
mov ecx, 0x836de8
push dword [0x836df8]
cmovae ecx, dword [0x836de8]
push ecx
mov ecx, eax
call fcn.00441730
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x8c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.0050d0e0
push 0x856764
call fcn.00681256
add esp, 4
test eax, eax
jne 0x4e0aff
push eax
push 0x762e6f
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], al
call fcn.00430160
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
push 0
push 0x762e6f
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
call fcn.00430160
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
push 0xd
push str.NglController
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00430160
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xc0]
call fcn.005fa030
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xac]
test eax, eax
setne byte [ebp - 0xa5]
cmp edx, 0x10
jb 0x4e0548
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e053e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b05
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp edx, 0x10
jb 0x4e05a1
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0597
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b05
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x4e05df
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e05d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b05
push edx
push ecx
call fcn.0067d8e3
add esp, 8
cmp byte [ebp - 0xa5], 0
je 0x4e078e
push 0
push 0x762e6f
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0xf
mov byte [ebp - 0xdc], 0
call fcn.00430160
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xf4]
push 0
push 0x762e6f
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.00430160
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc0]
push 0xd
push str.NglController
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.00430160
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0xf4]
lea ecx, [ebp - 0xc0]
call fcn.005fa030
add esp, 4
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push str.VerifyAndSetNglWfDirPath
push str._s:_Path:__s
push eax
call dword [ecx + 0x14]
mov byte [ebp - 4], 0xa
add esp, 0x10
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x4e06f7
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e06ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b0a
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
cmp edx, 0x10
jb 0x4e0750
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0746
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b0a
push edx
push ecx
call fcn.0067d8e3
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc8]
cmp edx, 0x10
jb 0x4e078e
mov ecx, dword [ebp - 0xdc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0784
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b0a
push edx
push ecx
call fcn.0067d8e3
add esp, 8
push 0x856764
call fcn.0068127b
add esp, 4
test eax, eax
jne 0x4e0b0f
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmovae eax, dword [ebp - 0xa4]
push eax
call esi
test eax, eax
je 0x4e09a7
cmp dword [ebp - 0x7c], 0
je 0x4e09a7
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x8c]
push eax
call edi
test eax, eax
je 0x4e09a7
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call esi
test eax, eax
jne 0x4e09a7
cmp dword [ebp - 0x64], eax
je 0x4e09a7
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call edi
test eax, eax
je 0x4e09a7
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call esi
test eax, eax
jne 0x4e09a7
lea esi, [ebx + 0x3d0]
push esi
mov dword [ebp - 0xc4], esi
call fcn.00681256
add esp, 4
test eax, eax
jne 0x4e0b15
lea ecx, [ebx + 0x430]
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x4e0884
cmp dword [ebp - 0x18], 0x10
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00430160
push esi
mov byte [ebp - 4], 0x13
call fcn.0068127b
add esp, 4
test eax, eax
jne 0x4e0b1b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov dl, byte [ebx]
push eax
call fcn.0051ebc0
mov edx, dword [ebp - 0x30]
add esp, 4
cmp edx, 0x10
jb 0x4e08df
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e08d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b21
push edx
push ecx
call fcn.0067d8e3
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.0042fd70
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4e091e
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0914
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b21
push edx
push ecx
call fcn.0067d8e3
add esp, 8
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0042fd70
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x4e096c
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4e0962
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e0b21
push edx
push ecx
call fcn.0067d8e3
add esp, 8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
call fcn.0042fd70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0067d651
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.005757c0
add esp, 4
mov ecx, 0x856764
call fcn.004bbbc0
push 0x762e6f
lea ecx, [ebp - 0xc0]
call fcn.0042fd30
push 0x762e6f
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xc
call fcn.0042fd30
push str.NglController
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xd
call fcn.0042fd30
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xf4]
call fcn.005fa030
add esp, 4
lea ecx, [ebp - 0xf4]
mov esi, eax
call fcn.0042fce0
lea ecx, [ebp - 0xdc]
call fcn.0042fce0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0042fce0
test esi, esi
je 0x4e0ad4
push 0x762e6f
lea ecx, [ebp - 0xc0]
call fcn.0042fd30
push 0x762e6f
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.0042fd30
push str.NglController
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x10
call fcn.0042fd30
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xf4]
call fcn.005fa030
add esp, 4
mov ecx, dword [eax]
push str.VerifyAndSetNglWfDirPath
push str._s:_WF_executable_s__not_found
push 0x762e6f
push eax
call dword [ecx + 0x24]
add esp, 0x10
lea ecx, [ebp - 0xf4]
call fcn.0042fce0
lea ecx, [ebp - 0xdc]
call fcn.0042fce0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 5
call fcn.0042fce0
mov ecx, 0x856764
call fcn.004bbbe0
push str.Invalid_WF_executables_path
lea ecx, [ebp - 0xb4]
call fcn.004bb930
push 0x82b138
lea eax, [ebp - 0xb4]
push eax
call fcn.0068f8d6
push eax
call fcn.00681548
call fcn.00692c65
call fcn.00692c65
push eax
call fcn.00681548
push eax
call fcn.00681548
push eax
call fcn.00681548
call fcn.00692c65
int3