Function at 0x405310
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54003c
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x5a38c0]
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 eax, dword [ebp + 8]
push eax
mov esi, ecx
push 0xe1
mov dword [ebp - 0x188], esi
call fcn.004286ea
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileManagerDlg.0
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405379
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x98], eax
mov byte [ebp - 4], 1
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4053a9
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x9c], eax
mov byte [ebp - 4], 2
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4053d9
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa4], eax
mov byte [ebp - 4], 3
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405409
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xa8], eax
push 0xa
lea ecx, [esi + 0xc0]
call fcn.00402e30
push 0xa
lea ecx, [esi + 0xdc]
call fcn.00402e30
push 0xa
lea ecx, [esi + 0xf8]
call fcn.00402e30
lea ecx, [esi + 0x114]
mov byte [ebp - 4], 7
call fcn.00419490
lea ecx, [esi + 0x208]
mov byte [ebp - 4], 8
call fcn.00419490
mov byte [ebp - 4], 9
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40547e
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x2fc], eax
mov byte [ebp - 4], 0xa
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4054ae
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x714], eax
mov byte [ebp - 4], 0xb
call fcn.00428115
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4054de
push 0x80004005
call fcn.00401050
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x720], eax
lea ecx, [esi + 0x728]
mov byte [ebp - 4], 0xc
call fcn.00436b45
lea ecx, [esi + 0x7e4]
mov byte [ebp - 4], 0xd
call fcn.0042c979
mov dword [esi + 0x7e4], 0x551144
lea ecx, [esi + 0x858]
mov byte [ebp - 4], 0xe
call fcn.0042c979
mov dword [esi + 0x858], 0x5512bc
lea ecx, [esi + 0x8cc]
mov byte [ebp - 4], 0xf
call fcn.0042c979
mov dword [esi + 0x8cc], 0x551144
lea ecx, [esi + 0x940]
mov byte [ebp - 4], 0x10
call fcn.0042c979
mov dword [esi + 0x940], 0x5512bc
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x110
push 0x160
lea ecx, [ebp - 0x180]
push ecx
push 0x80
push 0x5517b0
mov byte [ebp - 4], 0x11
call edi
mov edx, dword [ebp - 0x180]
push 0x4000
push 0x160
lea eax, [ebp - 0x180]
push eax
push ebx
push ebx
mov dword [esi + 0x724], edx
call edi
push eax
call fcn.0043616c
push 0x4001
push 0x160
lea ecx, [ebp - 0x180]
push ecx
push ebx
push ebx
mov dword [esi + 0x700], eax
call edi
push eax
call fcn.0043616c
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x704], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [esi + 0x710], edx
lea eax, [ebp - 0x184]
push eax
lea edx, [ebp - 0x20]
mov dword [esi + 0x70c], ecx
mov dword [ebp - 0x184], 0x10
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x405627
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
jmp 0x40562c
mov eax, 0x5517ad
cmp eax, ebx
jne 0x405634
xor ecx, ecx
jmp 0x405649
mov ecx, eax
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x405640
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0x714]
call fcn.004037a0
push 0x400
lea edi, [esi + 0x300]
push ebx
push edi
call fcn.00527530
mov ecx, dword [esi + 0x70c]
add esp, 0xc
add ecx, 0x24
call fcn.0040dc00
mov ecx, dword [esi + 0x70c]
dec eax
push eax
push 1
add ecx, 0x24
call fcn.0040ddc0
push eax
push edi
call fcn.005280b0
add esp, 0xc
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov byte [esi + 0x94], bl
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.00527098
mov esp, ebp
pop ebp
ret 0xc