Function at 0x402193
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4687be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push edi
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1b0], 0
je 0x4021f7
push 0x2c
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1b0]
call fcn.00405eb0
mov dword [ebp - 0x1b4], eax
jmp 0x402201
mov dword [ebp - 0x1b4], 0
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ac], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x38], edx
push 0x479048
mov ecx, dword [ebp - 0x38]
call fcn.00406100
push 2
push 0x4782b0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x40228c
push 0xcb
mov ecx, dword [0x479038]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x40], eax
push 0
push 1
push 0x1002
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4022fb
mov dword [ebp - 0x1a8], 0
mov ecx, 0x57
xor eax, eax
lea edi, [ebp - 0x1a4]
rep stosd dword es:[edi], eax
push 0x111
push 0x160
lea eax, [ebp - 0x1a8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0
push 1
push 0x1002
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1a8]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x1a8]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], closesocket
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x34]
push edx
push 0
push 0x1007
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 4
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x34]
push edx
push 0
push 0x1006
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x34], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
lea eax, [ebp - 0x34]
push eax
push 0
push 0x1006
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x1006
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x20], ecx
lea edx, [ebp - 0x34]
push edx
push 0
push 0x1006
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret