Function at 0x407de0
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x481ee9
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x49b1b0]
xor eax, esp
mov dword [esp + 0x360], eax
push ebx
push esi
push edi
mov eax, dword [0x49b1b0]
xor eax, esp
push eax
lea eax, [esp + 0x378]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
lea eax, [esi + 0x1c]
push 0x271e
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x1f0], ebx
mov dword [esp + 0x18], eax
call fcn.0043cca0
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x40866c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1e0]
call eax
mov ecx, dword [esi + 0x1ec]
add ecx, 8
cmp ebx, ecx
je 0x408050
push 0x408
call fcn.00469d66
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x380], edi
je 0x407e96
mov esi, eax
call fcn.004429a0
mov ebx, eax
jmp 0x407e98
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x380], 0xffffffff
mov edx, dword [ebx]
mov edx, dword [edx + 0x118]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xdc]
push 0x14
mov ecx, ebx
call edx
push 2
push 0x48565c
lea esi, [esp + 0x30]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
call fcn.00401df0
mov dword [esp + 0x380], 1
mov eax, dword [ebx]
mov edx, dword [eax + 0x144]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x380], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x407f1c
mov eax, dword [esp + 0x2c]
push eax
call fcn.00469d48
add esp, 4
mov eax, 0x18
mov dword [ebx + 0xcc], eax
mov ecx, 4
xor edx, edx
mov dword [ebx + 0xd0], ecx
mov dword [ebx + 0xd4], edx
mov edx, dword [ebx]
mov eax, dword [edx + 0x158]
push 0x485664
xor esi, esi
push str.dbclick
mov ecx, ebx
mov dword [ebx + 0xd8], esi
call eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
push 0x81
lea ecx, [esp + 0x48]
push str.res_d_restypepng
push ecx
mov dword [esp + 0x38c], 2
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x4c]
push edx
lea eax, [ebx + 0x1c4]
call fcn.00401c40
push 0x82
lea eax, [esp + 0x48]
push str.res_d_restypepng
push eax
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x4c]
push ecx
lea eax, [ebx + 0x218]
call fcn.00401c40
push 0x84
lea edx, [esp + 0x48]
push str.res_d_restypepng
push edx
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x4c]
push eax
lea eax, [ebx + 0x1e0]
call fcn.00401c40
mov edx, dword [ebx]
mov eax, dword [edx + 0x154]
push 0x2af8
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push 1
push 9
mov ecx, ebx
call eax
mov edi, 0x36b0
mov esi, ebx
call fcn.00442a50
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1d0]
push ebx
call eax
mov dword [esp + 0x380], 0xffffffff
cmp dword [esp + 0x5c], 8
jb 0x40804a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00469d48
add esp, 4
mov ebx, dword [esp + 0x18]
xor edi, edi
xor esi, esi
mov eax, ebx
mov dword [esp + 0x14], 0x2af9
mov dword [esp + 0x10], esi
call fcn.0040b0a0
test eax, eax
jle 0x40865e
mov dword [esp + 0x44], 0x18
jmp 0x408086
mov esi, dword [esp + 0x10]
xor edi, edi
push 0x408
call fcn.00469d66
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
cmp ebx, edi
mov dword [esp + 0x380], 3
je 0x4080d1
push ebx
call fcn.004488d0
mov dword [ebx], vtable.GameMgr::GMOption.0
mov byte [ebx + 0x3fc], 0
mov dword [ebx + 0x400], edi
mov byte [ebx + 0x404], 0
mov byte [ebx + 0x405], 0
jmp 0x4080d3
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x380], 0xffffffff
mov edx, dword [ebx]
add eax, 0x1c
push eax
mov eax, dword [edx + 0x118]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xdc]
push 0x16
mov ecx, ebx
call eax
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x408117
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x40811c
call fcn.00469efa
mov ecx, dword [edi + 4]
mov edx, dword [ebx]
add esi, esi
add esi, esi
add esi, esi
mov eax, dword [esi + ecx]
add eax, 0x10
push eax
mov eax, dword [edx + 0x144]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
mov edx, dword [edx + 0x154]
mov dword [ebx + 0xcc], ecx
mov eax, 4
mov dword [ebx + 0xd0], eax
xor eax, eax
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd8], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
add dword [esp + 0x14], 1
push 1
push 9
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x158]
push 0x485664
push str.dbclick
mov ecx, ebx
call edx
mov eax, dword [edi + 4]
xor edx, edx
cmp eax, edx
je 0x4081ab
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
cmp dword [esp + 0x10], ecx
jb 0x4081b2
call fcn.00469efa
xor edx, edx
mov eax, dword [edi + 4]
mov eax, dword [esi + eax]
cmp dword [eax + 0x98], 1
je 0x40828a
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edx
mov word [esp + 0x2c], dx
push 0x81
lea ecx, [esp + 0x2c]
push str.res_d_restypepng
push ecx
mov dword [esp + 0x38c], 4
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x30]
push edx
lea eax, [ebx + 0x1c4]
call fcn.00401c40
push 0x82
lea eax, [esp + 0x2c]
push str.res_d_restypepng
push eax
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x30]
push ecx
lea eax, [ebx + 0x218]
call fcn.00401c40
push 0x84
lea edx, [esp + 0x2c]
push str.res_d_restypepng
push edx
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [ebx + 0x1e0]
call fcn.00401c40
mov dword [esp + 0x380], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x4085c9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00469d48
add esp, 4
jmp 0x4085c9
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edx
mov word [esp + 0x64], dx
push 0x86
lea edx, [esp + 0x64]
push str.res_d_restypepng
push edx
mov dword [esp + 0x38c], 5
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x68]
push eax
lea eax, [ebx + 0x218]
call fcn.00401c40
push 0x85
lea ecx, [esp + 0x64]
push str.res_d_restypepng
push ecx
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x68]
push edx
lea eax, [ebx + 0x1e0]
call fcn.00401c40
push 0x2b0
lea eax, [esp + 0xbc]
push 0
push eax
mov dword [esp + 0xc0], 0
call fcn.0046ce70
mov eax, dword [edi + 4]
add esp, 0xc
test eax, eax
je 0x408333
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
cmp dword [esp + 0x10], ecx
jb 0x408338
call fcn.00469efa
mov eax, dword [edi + 4]
add eax, esi
mov eax, dword [eax]
cmp dword [eax + 0x28], 8
jb 0x40834a
mov eax, dword [eax + 0x14]
jmp 0x40834d
add eax, 0x14
push 0x4111
push 0x2b4
lea ecx, [esp + 0xbc]
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor esi, esi
cmp eax, esi
je 0x408599
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x184]
mov eax, dword [esp + 0xb4]
push eax
sub esp, 0x10
mov eax, esp
xor ecx, ecx
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], ecx
push edi
mov dword [eax + 8], ecx
lea edi, [esi + 0x10]
mov dword [eax + 0xc], ecx
call fcn.00443120
add esp, 0x18
push eax
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
mov dword [eax + 0x14], esi
push esi
mov dword [eax + 0x18], 7
mov word [eax + 4], si
push 0x4851c0
mov esi, eax
call fcn.00401df0
lea ecx, [esp + 0xb8]
push ecx
push ecx
mov byte [esp + 0x3a8], 6
call fcn.004051f0
add esp, 4
mov ecx, eax
mov byte [esp + 0x3a4], 5
call fcn.00440280
push 0x3c4
mov byte [esp + 0x384], 7
call fcn.00469d66
add esp, 4
test eax, eax
je 0x408416
call fcn.004326c0
mov esi, eax
jmp 0x408418
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 0xdc]
push 0x10
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xd4]
push 0x10
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 8
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 0x13
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 5
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 6
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 7
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 1
push 9
mov ecx, esi
call eax
mov edi, dword [esi]
sub esp, 0x10
mov eax, esp
mov ecx, 3
mov dword [eax], ecx
mov edx, ecx
xor ecx, ecx
mov dword [eax + 4], edx
mov edx, dword [edi + 0x90]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
xor edi, edi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
mov byte [esp + 0x380], 8
cmp dword [esp + 0xb0], 8
mov eax, dword [esp + 0x9c]
jae 0x4084e3
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x80]
push str.file_s
push eax
call fcn.00417f20
add esp, 0xc
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x84]
push ecx
lea eax, [esi + 0x11c]
call fcn.00401c40
mov edx, dword [esi]
mov eax, dword [edx + 0x108]
mov ecx, esi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x1d0]
push esi
mov ecx, ebx
call eax
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x408546
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00469d48
add esp, 4
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
jb 0x408579
mov edx, dword [esp + 0x9c]
push edx
call fcn.00469d48
add esp, 4
mov dword [esp + 0xac], edi
mov word [esp + 0x9c], di
mov edi, dword [esp + 0x18]
mov dword [esp + 0xb0], 7
xor esi, esi
mov dword [esp + 0x380], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x4085b8
mov eax, dword [esp + 0x64]
push eax
call fcn.00469d48
add esp, 4
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], esi
mov word [esp + 0x64], si
mov ecx, dword [ebx + 0x400]
cmp ecx, 0x36b0
je 0x40861f
test ecx, ecx
je 0x4085ec
mov eax, dword [ebx + 0x3a4]
test eax, eax
je 0x4085ec
push ebx
push ecx
call fcn.00439890
mov ecx, dword [ebx + 0x3a4]
test ecx, ecx
mov dword [ebx + 0x400], 0x36b0
je 0x40860b
push ebx
push 0x36b0
call fcn.00439690
movzx eax, byte [ebx + 0x3fc]
mov edx, dword [ebx]
mov edx, dword [edx + 0x258]
push eax
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x158]
push 0x485664
push str.ctrldown
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1d0]
push ebx
call edx
mov esi, dword [esp + 0x10]
add esi, 1
mov eax, edi
mov dword [esp + 0x10], esi
call fcn.0040b0a0
cmp esi, eax
jl 0x408080
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x108]
call edx
mov ecx, dword [esp + 0x378]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.00469ab5
mov esp, ebp
pop ebp
ret 4