Function at 0x404ba0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x590
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
mov dword [esp + 0x18], edi
call dword [eax + 0xc]
test eax, eax
je 0x404e21
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
lea eax, [esi + 0x317]
push edx
push eax
mov ecx, esi
call fcn.00404150
test eax, eax
je 0x404e21
mov eax, dword [esp + 0xc]
push ebp
cmp eax, edi
push ebx
je 0x404e08
cmp dword [esp + 0x1c], edi
je 0x404e08
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esi + 0xc]
push 0x60
push edx
push eax
mov dword [esp + 0x28], edi
call dword [ecx + 0x10]
cmp eax, edi
jl 0x404e04
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
mov ebx, 1
push edx
push ebx
push eax
mov dword [esp + 0x20], edi
call dword [ecx + 0xc]
test eax, eax
jne 0x404d5c
lea ebp, [esi + 0x420]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x30], ebx
call fcn.00403440
add esp, 8
lea edx, [esp + 0x30]
mov edi, eax
push edx
push 0x208
push edi
call fcn.004023d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x134]
push eax
push 0x8000
push ecx
push edx
call fcn.00401be0
add esp, 0x10
lea eax, [esp + 0x134]
mov ecx, esi
push eax
call fcn.00403250
test eax, eax
je 0x404ccc
push 0
push 0
push 0
lea ecx, [esp + 0x244]
push 0
lea edx, [esp + 0x144]
push ecx
push edx
mov ecx, esi
call fcn.00403000
lea eax, [esp + 0x238]
lea ecx, [esp + 0x33c]
push eax
push ecx
jmp 0x404cdc
lea edx, [esp + 0x134]
lea eax, [esp + 0x33c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x33c]
push ecx
call sub.LDSERV.dll_Ordinal_440
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add esp, 4
lea ecx, [esp + 0x28]
push edi
push edx
push eax
push ecx
mov ecx, esi
call fcn.00401480
lea edx, [esp + 0x28]
mov ecx, ebp
push edx
call sub.LDSERV.dll_Ordinal_444
mov eax, dword [esi + 0x41c]
mov edx, dword [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
inc ebx
call dword [ecx + 0x14]
mov eax, dword [esi + 0x41c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
mov edx, dword [eax]
push ecx
push 1
push eax
mov dword [esp + 0x20], 0
call dword [edx + 0xc]
test eax, eax
je 0x404c3e
xor edi, edi
lea ebp, [esi + 0x420]
mov ecx, ebp
call sub.LDSERV.dll_Ordinal_448
cmp eax, edi
jne 0x404de7
push 0x418
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
je 0x404de7
lea ebx, [edi + 0x10c]
push 0x104
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x404de7
push 0x301
lea edx, [esp + 0x444]
push 0x160
push edx
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x404de7
mov ecx, dword [esi + 0x10]
lea eax, [edi + 8]
push eax
push 0x1f4
call sub.LDSERV.dll_Ordinal_374
mov ecx, dword [esp + 0x440]
push edi
mov dword [edi + 4], ecx
mov ecx, ebp
mov dword [edi], 0x1315be3
call sub.LDSERV.dll_Ordinal_444
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, esi
call fcn.00402290
test eax, eax
je 0x404e04
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esi + 0x41c]
mov eax, dword [esp + 0x1c]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x14]
pop ebx
pop ebp
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x590
ret