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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x168
mov esi, dword [ebp + 8]
cmp byte [edx + 0x34], 0
mov dword [esp + 4], ecx
mov edi, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
je 0x49cc3d
bt edi, 0xa
jae 0x49cc3d
mov eax, ebx
and eax, 0x20000000
je 0x49cc3d
mov eax, dword [esi + 0x48]
mov ebx, dword [edx + 0x60]
mov dword [esp], edx
lea ecx, [esp + 0x100]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x4c]
mov edx, eax
mov dword [esp + 0x14], eax
push dword [esi + 0x50]
call fcn.00483e60
pop eax
lea edi, [esp + 0x38]
mov edx, ebx
mov dword [esp + 0xcc], ebx
mov ecx, edi
push 1
lea eax, [esp + 0x104]
push eax
call fcn.0049c2e9
pop eax
pop ecx
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, ecx
xor eax, 2
or eax, edx
jne 0x49c7d8
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x60]
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x40]
movsd xmm1, qword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
movsd qword [esp + 0xd8], xmm0
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm1
mov dword [esp], ecx
mov ecx, dword [esp + 8]
jmp 0x49ca16
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
movsd qword [esp + 0xd8], xmm0
movsd xmm0, qword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xe8], edx
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
movsd qword [esp + 0xe0], xmm0
movsd xmm0, qword [esp + 0x68]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
movsd qword [esp + 0x148], xmm0
movsd xmm0, qword [esp + 0x70]
mov dword [esp + 0xc], edx
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
movsd qword [esp + 0x150], xmm0
movsd xmm0, qword [esp + 0x78]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
movsd qword [esp + 0x158], xmm0
call fcn.0049bc49
mov eax, dword [esp + 0xe8]
movsd xmm0, qword [esp + 0xd8]
movsd xmm1, qword [esp + 0xe0]
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x128], eax
movsd qword [esp + 0x120], xmm1
movsd qword [esp + 0x118], xmm0
call fcn.0049c2cf
test al, al
je 0x49cb24
mov dword [esp + 0xa4], ebx
lea edx, [esp + 0x38]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0xa0], esi
lea esi, [esp + 0xd0]
and dword [edx], 0
and dword [edx + 0xc], 0
mov dword [edx + 0x10], 7
and dword [edx + 0x1a], 0
and dword [edx + 0x18], 0
and dword [edx + 0x14], 0
and dword [edx + 0x1e], 0
mov byte [edx + 0x1c], 1
mov dword [edx + 8], 0x2000000
mov ecx, esi
push ebx
push dword [esp + 0x1c]
call fcn.00480f70
pop eax
pop ecx
cmp byte [esi], 4
jne 0x49c977
mov esi, dword [esp + 0xd4]
jmp 0x49c993
mov ecx, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
cmp cl, 4
je 0x49c993
cmp cl, 4
jne 0x49cee2
lea ebx, [esp + 0x38]
lea edx, [esp + 0x160]
mov ecx, ebx
mov dword [edx], esi
call fcn.004761c6
cmp dword [ebx], 0
je 0x49ca61
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esp], edi
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x80000000
movsd xmm0, qword [esp + 0x100]
movsd xmm1, qword [esp + 0x108]
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0xcc]
mov ebx, dword [esp + 8]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm1
mov dword [esp + 0x30], eax
call fcn.0049bc49
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov dword [esi + 0x28], eax
movsd qword [esi + 0x20], xmm1
movsd qword [esi + 0x18], xmm0
and dword [esi + 4], 0
mov dword [esi], 2
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x2c], edi
jmp 0x49ce94
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
and dword [esp + 0xe4], 0
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], 2
mov dword [esp + 0xd8], 1
and dword [esp + 0xdc], 0
mov dword [esp + 0xf4], esi
mov esi, eax
mov eax, dword [esp]
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp + 0x14], edx
inc ecx
mov dword [esp + 0x10], ecx
mov ebx, dword [eax + 0x48]
imul eax, dword [eax + 0x4c], 0x30
test eax, eax
je 0x49cb0a
test ecx, ecx
je 0x49cb05
mov edx, dword [ebx + eax - 0x2c]
or edx, dword [ebx + eax - 0x30]
je 0x49cb05
mov edx, dword [ebx + eax - 0x28]
xor edx, esi
or edx, dword [ebx + eax - 0x24]
jne 0x49cb05
mov edx, dword [ebx + eax - 0x20]
mov ecx, dword [ebx + eax - 0x1c]
xor edx, dword [esp + 0x14]
xor ecx, dword [esp + 8]
or ecx, edx
mov ecx, 1
je 0x49ceee
add eax, 0xffffffd0
jmp 0x49caca
lea ecx, [esp + 0xd8]
call fcn.0049d16c
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
movsd xmm2, qword [esp + 0x148]
movsd xmm3, qword [esp + 0x150]
mov edx, esi
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x128]
movsd xmm0, qword [esp + 0x118]
movsd xmm1, qword [esp + 0x120]
movsd qword [esp + 0x130], xmm2
movsd xmm2, qword [esp + 0x158]
movsd qword [esp + 0x138], xmm3
lea ecx, [esi + 0x18]
mov dword [esp + 0x30], eax
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm0
movsd xmm4, qword [esp + 0x130]
movsd xmm3, qword [esp + 0x138]
mov dword [ecx + 0x10], eax
lea eax, [esi + 0x30]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0xb8]
movsd qword [esp + 0x140], xmm2
movsd xmm2, qword [esp + 0x140]
movsd qword [eax + 8], xmm3
movsd qword [eax], xmm4
movsd qword [eax + 0x10], xmm2
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0xa8]
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc8]
mov dword [esi], eax
mov eax, dword [esp + 0xc0]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0xbc]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esi + 0x14], edx
mov edx, dword [esp]
mov dword [esi + 0x2c], ecx
bt edi, 0xa
jae 0x49ccbb
mov eax, ebx
and eax, 0x20000000
je 0x49ccbb
cmp dword [esi + 0x60], 0
jne 0x49cd9f
cmp byte [edx + 0x35], 0
je 0x49cd9f
mov ebx, dword [esi + 0x4c]
mov edi, dword [esi + 0x50]
lea esi, [esp + 0x38]
mov dword [esp], edx
mov ecx, esi
mov edx, ebx
push edi
call fcn.004822a0
pop eax
mov eax, dword [esi]
xor eax, 2
or eax, dword [esi + 4]
jne 0x49cd0d
lea esi, [esp + 0x44]
mov edx, ebx
mov eax, dword [esi - 4]
mov ecx, dword [esi]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov ecx, esi
push edi
call fcn.00483e60
pop eax
mov eax, dword [esp + 8]
mov ecx, dword [esp]
and dword [esi + 0x18], 0
and dword [esi - 0xc], 0
mov dword [esi - 4], eax
mov dword [esi - 8], ecx
jmp 0x49cdd3
mov ecx, edi
mov edi, edx
mov edx, ebx
call fcn.0049c2cf
mov edx, edi
test al, al
je 0x49cd9f
cmp byte [edx + 0x37], 0
je 0x49cd44
mov eax, dword [esi + 0x60]
test eax, eax
je 0x49cd44
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x4c]
lea esi, [esp + 0x38]
mov ecx, esi
mov dword [esp], edx
mov dword [esp + 8], eax
push eax
call fcn.0049bec2
pop eax
cmp byte [esi], 4
jne 0x49cdf5
mov esi, dword [esp + 0x3c]
jmp 0x49ce01
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
call fcn.0049c2cf
mov esi, dword [ebp + 8]
mov edx, dword [esp]
test al, al
je 0x49cd9f
lea esi, [esp + 0x38]
mov ecx, esi
push edi
push ebx
call fcn.0049d182
pop eax
pop ecx
cmp dword [esi], 2
jne 0x49cdd3
mov esi, dword [ebp + 8]
mov edx, dword [esp]
jmp 0x49cd9f
mov eax, dword [esi + 0x4c]
lea ecx, [esp + 0x38]
push dword [esi + 0x50]
mov ebx, eax
push eax
call fcn.0049d182
pop eax
pop ecx
lea eax, [esp + 0x38]
cmp dword [eax], 2
jne 0x49cdd3
mov edx, edi
cmp byte [edx + 0x36], 0
je 0x49cd9f
mov ebx, edx
mov edx, dword [edx + 0x58]
cmp edx, dword [ebx + 0x50]
jne 0x49cd7e
lea ecx, [ebx + 0x50]
call fcn.0049c1bf
mov edx, dword [ebx + 0x58]
imul edi, edx, 0x68
mov eax, dword [esp + 4]
add edi, dword [ebx + 0x54]
push 0x1a
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 3
inc dword [ebx + 0x58]
and dword [eax + 4], 0
jmp 0x49ce94
mov eax, dword [edx + 0x60]
cmp eax, dword [edx + 0x2c]
jb 0x49cdba
cmp eax, dword [edx + 0x30]
ja 0x49cdba
push 0x1a
pop ecx
mov edi, dword [esp + 4]
rep movsd dword es:[edi], dword [esi]
jmp 0x49ce94
mov eax, dword [esp + 4]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x4c]
and dword [eax + 4], 0
mov dword [eax], 3
jmp 0x49ce8f
mov eax, dword [esp + 4]
lea edi, [eax + 8]
push 0xa
pop ecx
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 2
and dword [eax + 4], 0
mov eax, dword [ebp + 8]
jmp 0x49ce8a
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
cmp al, 4
jne 0x49ce1f
lea ebx, [esp + 0x38]
mov edx, esi
mov ecx, ebx
call fcn.0049bf35
cmp dword [ebx], 0
je 0x49ce9c
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov ebx, dword [esp]
lea edi, [esp + 0xe4]
mov ecx, edi
mov edx, ebx
push dword [esp + 8]
call fcn.00483e60
pop eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov dword [edi + 0x18], eax
mov dword [edi - 8], edx
mov dword [edi - 4], esi
movsd xmm0, qword [edi + 0xc]
movsd xmm2, qword [edi + 4]
movsd xmm1, qword [edi + 0x14]
mov eax, dword [edi]
movsd qword [ecx + 0x20], xmm0
movsd qword [ecx + 0x18], xmm2
movsd qword [ecx + 0x28], xmm1
and dword [ecx + 4], 0
mov dword [ecx], 2
and dword [ecx + 8], 0
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10], esi
mov ecx, dword [eax + 0x48]
mov edx, ebx
call fcn.0049bc49
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x49cf8c
mov eax, dword [esp + 0x58]
mov esi, dword [ebp + 8]
mov edx, edi
xor eax, dword [edi + 8]
or eax, dword [edi + 0xc]
jne 0x49cd63
lea esi, [esp + 0x38]
mov ecx, esi
push dword [esp + 8]
push dword [esp + 4]
call fcn.0049d182
pop eax
pop ecx
cmp dword [esi], 2
jne 0x49cf67
mov esi, dword [ebp + 8]
jmp 0x49cd61
mov dword [esp + 0xc], ecx
mov dword [esp], esi
jmp 0x49c9c6
mov edx, dword [ebx + eax - 0xc]
lea ecx, [esp + 0x3c]
push dword [ebx + eax - 8]
call fcn.00483e60
pop eax
mov esi, dword [esp + 0x18]
lea ebx, [esp + 0x4c]
mov ecx, ebx
mov edx, esi
push dword [esp + 0xc]
call fcn.00483e60
pop eax
mov ecx, dword [ebx - 0xc]
movsd xmm0, qword [ebx - 4]
mov eax, dword [ebx - 0x10]
mov edx, dword [ebx - 8]
mov dword [esp], ecx
mov ecx, dword [ebx + 0xc]
movsd qword [esp + 0x100], xmm0
movsd xmm0, qword [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x110], ecx
lea ecx, [esp + 0xd8]
movsd qword [esp + 0x108], xmm0
call fcn.0049d16c
mov edx, esi
mov esi, dword [esp + 4]
jmp 0x49c9de
mov eax, dword [esp + 4]
lea edi, [eax + 8]
push 0xa
pop ecx
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 2
and dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov ebx, dword [esp]
jmp 0x49ce8a
push 0x33
pop edx
mov ecx, str.BUG:_called_is_same_file_system_without_root_device
push 0x508134
call fcn.004a0680