Function at 0x45c830
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46709a
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x479008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1dc], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x20c], eax
xor eax, eax
push 8
mov dword [ebp - 0x1e0], ebx
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1e4], eax
call fcn.0041bfdb
xor ecx, ecx
mov dword [ebp - 0x1f0], eax
add esp, 4
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 3
mov word [eax], cx
mov dword [ebp - 4], ecx
lea edx, [ecx + 2]
cmp byte [ebx], cl
je 0x45c974
push dword [ebx + 0xc]
lea ecx, [ebp - 0x54]
push dword [ebx + 8]
call fcn.00433920
xor edi, edi
cmp word [ebp - 0x54], di
je 0x45c8da
inc edi
cmp word [ebp + edi*2 - 0x54], 0
jne 0x45c8d1
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov dword [ebp - 0x1cc], edi
mov esi, eax
mov dword [ebp - 0x1c8], edi
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x1d0], esi
lea eax, [ebp - 0x54]
push ecx
push eax
push esi
call fcn.0041f8c0
mov eax, 1
add esp, 0xc
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x1fc]
lea eax, [ebp - 0x1d0]
mov edx, 0xdb0
push eax
call fcn.0045c710
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 2
call fcn.00435880
push dword [ebp - 0x1fc]
call fcn.0041bebc
add esp, 4
mov byte [ebp - 4], 0
push esi
call fcn.0041bebc
add esp, 4
mov edx, 2
mov ecx, dword [ebx + 0x18]
lea eax, [ebx + 0x18]
mov edi, dword [eax + 4]
mov dword [ebp - 0x1d8], eax
lea esi, [ecx + edi*2]
cmp esi, ecx
je 0x45c9ad
nop word [eax + eax]
movzx eax, word [esi - 2]
sub esi, 2
cmp eax, 0x5c
je 0x45ccec
cmp eax, 0x2f
je 0x45ccec
cmp esi, ecx
jne 0x45c990
or esi, 0xffffffff
lea eax, [esi + 1]
cmp eax, edi
cmovbe edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov dword [ebp - 0x1f8], edi
mov ebx, eax
mov dword [ebp - 0x1f4], edi
mov eax, dword [ebp - 0x1d8]
add edi, edi
mov dword [ebp - 0x1fc], ebx
push edi
push dword [eax]
push ebx
call fcn.0041f8c0
xor eax, eax
add esp, 0xc
mov word [edi + ebx], ax
mov edi, dword [ebp - 0x1c4]
or edi, 2
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1e4], edi
mov eax, dword [ebp - 0x1d8]
lea esi, [esi + 1]
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ebx, [eax + esi*2]
xor esi, esi
cmp word [ebx], si
je 0x45ca38
nop dword [eax + eax]
inc esi
cmp word [ebx + esi*2], 0
jne 0x45ca30
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov dword [ebp - 0x208], eax
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x204], esi
mov dword [ebp - 0x200], esi
push ecx
push ebx
push eax
call fcn.0041f8c0
add esp, 0xc
mov ecx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x1fc]
push eax
mov byte [ebp - 4], 4
call fcn.0045ce50
mov ecx, dword [ebp - 0x1dc]
lea eax, [ebp - 0x208]
push eax
call fcn.0045ce50
mov esi, dword [ebp - 0x1f8]
xor ecx, ecx
mov edx, 2
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov dword [ebp - 0x1c0], eax
lea ecx, [esi*2 + 2]
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1b8], esi
push ecx
push dword [ebp - 0x1fc]
push eax
call fcn.0041f8c0
add esp, 0xc
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 5
call fcn.00435630
mov ecx, dword [ebp - 0x1c0]
mov edx, 0xa
mov eax, dword [ebp - 0x1bc]
mov esi, dword [ebp - 0x204]
push esi
mov word [ecx + eax*2], dx
inc eax
xor edx, edx
mov dword [ebp - 0x1bc], eax
mov word [ecx + eax*2], dx
lea ecx, [ebp - 0x1c0]
call fcn.00434b00
mov eax, dword [ebp - 0x1c0]
mov ebx, dword [ebp - 0x1bc]
lea ecx, [eax + ebx*2]
lea eax, [esi*2 + 2]
push eax
push dword [ebp - 0x208]
push ecx
call fcn.0041f8c0
add ebx, esi
add esp, 0xc
mov dword [ebp - 0x1bc], ebx
cmp dword [ebp - 0x1b8], ebx
jne 0x45cb75
lea ecx, [ebp - 0x1c0]
call fcn.00435630
mov ebx, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1c0]
mov eax, 0xa
push dword [ebp - 0x1ec]
xor edx, edx
mov word [ecx + ebx*2], ax
lea eax, [ebx + 1]
mov word [ecx + eax*2], dx
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1bc], eax
call fcn.00434b00
mov eax, dword [ebp - 0x1ec]
mov ebx, dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1bc]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1f0]
lea ecx, [ebx + esi*2]
push ecx
call fcn.0041f8c0
add esi, dword [ebp - 0x1ec]
add esp, 0xc
mov dword [ebp - 0x1bc], esi
cmp dword [ebp - 0x1b8], esi
jne 0x45cbfb
lea ecx, [ebp - 0x1c0]
call fcn.00435630
mov esi, dword [ebp - 0x1bc]
mov ebx, dword [ebp - 0x1c0]
mov eax, 0xa
xor ecx, ecx
mov word [ebx + esi*2], ax
lea eax, [esi + 1]
mov word [ebx + eax*2], cx
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1e0]
cmp byte [eax + 1], cl
je 0x45ccc5
mov edx, 0x3f4
lea ecx, [ebp - 0x1d0]
call fcn.0043b580
mov edi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c0]
push dword [edi + 4]
call fcn.00434b00
mov eax, dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1bc]
lea ecx, [eax + esi*2]
mov eax, dword [edi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [edi]
push ecx
call fcn.0041f8c0
add esi, dword [edi + 4]
add esp, 0xc
mov byte [ebp - 4], 5
mov dword [ebp - 0x1bc], esi
push dword [ebp - 0x1d0]
call fcn.0041bebc
add esp, 4
lea ecx, [ebp - 0x1c0]
push 0x46e6d0
call fcn.004343f0
mov ecx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x34]
push 0
push eax
lea ecx, [ecx + 0x10]
call fcn.0043b1c0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004343f0
mov ebx, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x1dc]
push dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x47b1a1], 0
mov esi, eax
push ebx
je 0x45ccf5
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x45cd3c
sub esi, ecx
sar esi, 1
jmp 0x45c9b0
lea ecx, [ebp - 0x1d0]
call fcn.00435960
push 0
lea edx, [ebp - 0x1d0]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x218]
call fcn.00435cb0
push dword [eax]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0x218]
call fcn.0041bebc
add esp, 4
push dword [ebp - 0x1d0]
call fcn.0041bebc
add esp, 4
mov byte [ebp - 4], 8
push 4
mov dword [ebp - 0x1d0], 0
call fcn.0041bfdb
mov edx, dword [ebp - 0x1d8]
add esp, 4
mov dword [ebp - 0x1d0], eax
or edi, 0x10
mov dword [ebp - 0x1cc], 0
mov byte [eax], 0
lea eax, [ebp - 0x1d1]
push eax
push ecx
push 0
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1c8], 3
mov dword [ebp - 0x1e4], edi
call fcn.004359c0
mov esi, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1b4]
push pe_nt_image_headers32
push 0x160
push eax
push 0x80
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push esi
mov edi, eax
call fcn.0041bebc
add esp, 4
test edi, edi
je 0x45cdf0
mov eax, dword [ebp - 0x1dc]
push dword [ebp - 0x20c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push dword [ebp - 0x1b4]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call fcn.0041bebc
add esp, 4
push dword [ebp - 0x208]
call fcn.0041bebc
add esp, 4
push dword [ebp - 0x1fc]
call fcn.0041bebc
add esp, 4
push dword [ebp - 0x1f0]
call fcn.0041bebc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041beab
mov esp, ebp
pop ebp
ret 0xc