Function at 0x402030
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x32e8
call fcn.004f8350
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x32e4], eax
mov eax, dword [esp + 0x32ec]
push ebp
mov ebp, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x32f4]
mov dword [esp + 0x30], eax
cmp dword [ebp], 0
je 0x4024ab
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
xor esi, esi
push 0
push esi
push 0x150
push dword [ebp]
call ebx
cmp eax, 0xffffffff
je 0x4020bc
test eax, eax
je 0x4020bc
mov ecx, dword [eax]
cmp ecx, 2
je 0x402097
cmp ecx, 3
jne 0x4020b3
push 0x1008
push eax
call fcn.004f812f
add esp, 8
push 0
push esi
push 0x144
push dword [ebp]
call ebx
dec esi
inc esi
cmp esi, 0x80
jl 0x402075
push edi
xor edi, edi
nop
push 0
push edi
push 0x150
push dword [ebp]
call ebx
cmp eax, 0xffffffff
je 0x402101
test eax, eax
je 0x402101
cmp dword [eax], 0
jne 0x4020f8
movzx eax, word [eax + 8]
push eax
call fcn.00497d00
mov esi, eax
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
push ecx
call fcn.00497d00
cmp esi, eax
je 0x402126
inc edi
cmp edi, 0x80
jl 0x4020c0
mov esi, dword [esp + 0x10]
cmp word [esi], 0x5c
jne 0x4023d1
cmp word [esi + 2], 0x5c
jne 0x4023d1
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
jmp 0x4023d9
mov esi, dword [esp + 0x10]
cmp word [esi + 2], 0x3a
jne 0x40214e
movzx eax, word [esi + 4]
test ax, ax
je 0x4023c3
cmp eax, 0x5c
jne 0x40214e
cmp word [esi + 6], 0
je 0x4023c3
push 0x800
push esi
lea eax, [esp + 0x2fc]
mov dword [esp + 0x1c], 0
push eax
call fcn.004947d0
lea eax, [esp + 0x2f4]
push 0x5c
push eax
call fcn.004f961b
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4022ed
jmp 0x402190
add ebx, 2
cmp word [ebx], 0
je 0x4022e9
push 0x800
push ebx
lea eax, [esp + 0x22fc]
push eax
call fcn.004947d0
lea eax, [esp + 0x22f4]
push 0x5c
push eax
call fcn.004f961b
mov esi, eax
add esp, 8
test esi, esi
je 0x4022e9
xor eax, eax
mov word [esi], ax
lea eax, [esp + 0x2f4]
push 0x800
push eax
lea eax, [esp + 0x12fc]
push eax
call fcn.004947d0
lea ecx, [esp + 0x2f4]
mov eax, ebx
sub eax, ecx
lea ecx, [esp + 0x22f4]
and eax, 0xfffffffe
sub eax, ecx
add eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
cmp eax, 0x1000
jae 0x4024c3
xor ecx, ecx
push 0x1008
mov word [esp + eax + 0x12f8], cx
call fcn.004f80fc
add esp, 4
mov esi, eax
lea eax, [esp + 0x12f4]
push 0x800
push eax
mov dword [esi], 3
mov dword [esi + 4], 0
call fcn.00494440
push eax
lea ecx, [esi + 8]
push ecx
call fcn.004947d0
push 0x4201
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
lea eax, [esp + 0x1304]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
xor eax, eax
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x22f4]
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
mov dword [esp + 0x18], 0x37
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esi + 3]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x5c
inc esi
push ebx
mov dword [esp + 0x1c], esi
call fcn.004f961b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x402190
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
push 0x1008
call fcn.004f80fc
add esp, 4
mov dword [esp + 0x10], eax
mov dword [eax], 2
push 0x800
push esi
mov dword [eax + 4], 0
call fcn.00494440
mov ecx, dword [esp + 0x14]
push eax
add ecx, 8
push ecx
call fcn.004947d0
push 0x4203
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test ebx, ebx
jne 0x402348
lea ebx, [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x402382
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x38], eax
lea eax, [ecx + 1]
add eax, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [ecx + 3]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebp]
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x40249b
jmp 0x402105
mov dword [esp + 0x14], 0xffffffff
push 0x1008
call fcn.004f80fc
add esp, 4
mov edi, eax
push 0x800
push esi
mov dword [edi], 2
mov dword [edi + 4], 0
call fcn.00494440
push eax
lea ecx, [edi + 8]
push ecx
call fcn.004947d0
push 0x4203
push 0x2b4
lea eax, [esp + 0x48]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x40242e
lea eax, [esp + 0x4c]
xor ecx, ecx
mov dword [esp + 0x18], 0x37
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x402468
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push 0
push 0x40b
push dword [ebp]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], 2
call ebx
mov edi, eax
push 0
push edi
push 0x14e
push dword [ebp]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x32e8]
pop ebp
xor ecx, esp
call fcn.004f833c
add esp, 0x32e8
ret 8
call fcn.004f8260
int3