Function at 0x403170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471c29
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4a4284]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xf0], ebx
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 0xa8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x108], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
test esi, esi
je 0x403777
mov edx, dword [ebp - 0xe8]
test edx, edx
je 0x403777
xor ecx, ecx
mov eax, esi
cmp word [esi], cx
je 0x403206
cmp ecx, 0x200
jae 0x403206
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x4031f4
cmp word [eax], 0
jne 0x403777
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x403232
nop dword [eax]
cmp ecx, 0x200
jae 0x403232
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x403220
cmp word [eax], 0
jne 0x403777
cmp byte [ebx + 0x1c], 0
jne 0x40325b
push str.VFSHelper::Mount___VFSHelper
call fcn.004136e0
mov dword [0x4a8ed8], 0x29
jmp 0x40378b
push esi
lea ecx, [ebp - 0x58]
call fcn.0040bcb0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.004038a0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4032b7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4032ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4032ad
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040bcb0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.004038a0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x403319
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40330f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40330f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00402130
test al, al
jne 0x40334b
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bba0
jmp 0x4033ab
push 0xffffffffffffffff
push 0x3a
lea ecx, [ebp - 0x40]
call fcn.0040bb40
push eax
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040bae0
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bc30
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4033ab
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4033a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4033a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0040e140
test al, al
jne 0x4033e1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.VFSHelper::Mount__
call fcn.004136e0
add esp, 8
mov dword [0x4a8ed8], 0x2a
xor esi, esi
jmp 0x403685
lea eax, [ebx + 4]
mov dword [ebp - 0xf4], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0xe8], esi
cmp esi, eax
je 0x403485
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [esi + 0x14]
cmovae ecx, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x403418
mov eax, dword [eax]
push ecx
push eax
call ebx
add esp, 8
test eax, eax
jne 0x40345c
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
lea eax, [esi + 0x2c]
cmovae ecx, dword [ebp - 0x70]
cmp dword [eax + 0x14], 8
jb 0x403439
mov eax, dword [eax]
push ecx
push eax
call ebx
add esp, 8
test eax, eax
je 0x4034de
cmp byte [esi + 0x44], 0
je 0x4034de
cmp byte [ebp + 0x18], 0
je 0x4034de
push ecx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xe8]
call fcn.0040b9a0
mov eax, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xe8]
cmp esi, dword [eax]
jne 0x403402
mov ebx, dword [ebp - 0xf0]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xf8], 0
call fcn.0040e240
test al, al
sete byte [ebp - 0xe9]
test al, al
jne 0x4034fc
push 0x164
call fcn.0046e3bc
mov dword [ebp - 0x100], eax
lea esi, [ebx + 0x78]
mov byte [ebp - 4], 8
push esi
lea ecx, [ebx + 0x9c]
mov dword [ebp - 0xe8], esi
push ecx
lea ecx, [ebx + 0x90]
push ecx
mov ecx, eax
call fcn.00415600
mov ebx, eax
jmp 0x40358d
push str.VFSHelper::Mount___Mount
call fcn.004136e0
add esp, 4
mov dword [0x4a8ed8], 0x41
xor esi, esi
jmp 0x403685
push 0x40
call fcn.0046e3bc
mov ebx, eax
add esp, 4
mov dword [ebp - 0x100], ebx
mov dword [ebx + 4], vtable.IDataFetcherIO.0
mov byte [ebp - 4], 0xb
lea esi, [ebx + 8]
mov dword [ebx], vtable.WinFileSys.0
mov dword [ebx + 4], vtable.WinFileSys.1.0
mov dword [ebp - 0xe8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00410ef0
mov ecx, dword [ebp - 0xf0]
mov dword [esi], eax
xor eax, eax
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 7
mov word [ebx + 0x14], ax
lea eax, [ecx + 0x78]
mov dword [ebx + 0x2c], eax
mov dword [ebp - 0xe8], eax
lea eax, [ecx + 0x90]
mov dword [ebx + 0x30], eax
lea eax, [ecx + 0x9c]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], vtable.WindowsIO.0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 7
mov eax, dword [ebx]
push ecx
push dword [ebp + 0x18]
lea ecx, [ebp - 0x40]
push dword [ebp + 0x14]
push dword [ebp - 0xfc]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov dword [ebp - 0xf0], eax
test eax, eax
jne 0x4035c8
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
xor esi, esi
jmp 0x403685
lea ecx, [ebp - 0xe4]
call fcn.004037c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0xb0], ebx
call fcn.0040bba0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0040bba0
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0xe4]
push eax
lea edx, [ebp - 0xf0]
mov byte [ebp - 0xb4], bl
lea ecx, [ebp - 0xac]
call fcn.0040c8e0
add esp, 4
mov ecx, dword [ebp - 0xf4]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040d410
push eax
add eax, 0x10
push eax
push ecx
mov ecx, dword [ebp - 0xf4]
lea eax, [ebp - 0x104]
push eax
call fcn.0040d4a0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
call fcn.004037f0
cmp byte [ebp - 0xe9], 0
mov esi, dword [ebp - 0xf0]
je 0x40367a
test bl, bl
je 0x40367a
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x40367a
mov ecx, dword [ebp - 0xe8]
push eax
push esi
call fcn.004152b0
lea ecx, [ebp - 0xe4]
call fcn.004037f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4036c1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4036b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4036b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x403711
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403707
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403707
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x403761
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403757
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403757
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0046e3ec
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x403790
push 0x484bf0
call fcn.004136e0
mov dword [0x4a8ed8], 1
add esp, 4
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e3fa
mov esp, ebp
pop ebp
ret 0x14