Function at 0x4121dd
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x42b078
call fcn.00428a70
sub esp, 0x314
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea ebx, [edi + 0x18]
mov ecx, ebx
call fcn.00402bfd
lea esi, [eax + 1]
lea eax, [ebp - 0x24]
push esi
push eax
mov ecx, ebx
call fcn.00409812
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041204e
lea ecx, [ebp - 0x24]
call fcn.00402a7a
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x18]
lea eax, [eax + esi*2]
push eax
call fcn.00402716
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041204e
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00402aed
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00402183
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00402a7a
cmp byte [edi], bl
je 0x41227b
push dword [edi + 0xc]
lea ecx, [ebp - 0x24]
push dword [edi + 8]
call fcn.004120ca
lea ecx, [ebp - 0x24]
call fcn.00402a7a
cmp byte [edi + 1], bl
je 0x4122d4
mov edx, 0x3f4
lea ecx, [ebp - 0x18]
call fcn.00405b9d
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00402aed
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00402183
lea ecx, [ebp - 0x24]
mov dword [esp], 0x42d1d8
call fcn.00402b29
push ebx
lea edx, [ebp - 0x6c]
lea ecx, [edi + 0x10]
call fcn.00405b4f
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x24]
push eax
call fcn.00402b29
push dword [ebp - 0x24]
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.00402183
or dword [ebp - 0x2c], 0xffffffff
pop ecx
mov dword [ebp + 8], ebx
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x18]
push esi
call fcn.004027a6
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], 3
je 0x412357
cmp byte [edi + 2], bl
je 0x412475
mov eax, dword [ebp - 0x14]
cmp eax, 4
jb 0x412475
mov ecx, dword [ebp - 0x18]
mov edx, str..exe
lea ecx, [ecx + eax*2 - 8]
call fcn.0040228e
test al, al
jne 0x412380
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, str..ico
lea ecx, [eax + ecx*2 - 8]
call fcn.0040228e
test al, al
je 0x412475
jmp 0x412380
lea ecx, [ebp - 0x18]
call fcn.00402bfd
inc eax
lea ecx, [ebp - 0x18]
push eax
call fcn.00402ed2
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00402bd2
cmp eax, ebx
jl 0x412380
push eax
lea ecx, [ebp - 0x18]
call fcn.00402ed2
cmp dword [ebp - 0x14], ebx
jne 0x412392
push str.__file__
lea ecx, [ebp - 0x18]
call fcn.00402993
cmp byte [edi + 2], bl
mov dword [ebp + 0xc], 0x20
je 0x4123e0
lea ecx, [ebp - 0x64]
call fcn.00404008
lea ecx, [ebp - 0x3c]
call fcn.004026d3
mov eax, dword [esi]
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00404383
test al, al
je 0x4123d7
cmp byte [ebp - 0x40], bl
jne 0x4123d7
mov eax, dword [ebp - 0x44]
mov ecx, eax
shr ecx, 4
test cl, 1
jne 0x4123d7
mov dword [ebp + 0xc], eax
push dword [ebp - 0x3c]
call fcn.00402183
pop ecx
push 0x114
lea eax, [ebp - 0x320]
or dword [ebp - 0x31c], 0xffffffff
push 0x2b4
push eax
mov dword [ebp - 0x320], ebx
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp eax, ebx
je 0x412459
cmp dword [ebp - 0x320], ebx
je 0x412459
mov eax, dword [ebp - 0x31c]
cmp eax, ebx
jl 0x41244d
cmp eax, dword [ebp - 0x2c]
je 0x41244d
cmp eax, ebx
jne 0x41242e
cmp dword [ebp + 8], ebx
jne 0x41244d
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
je 0x41243c
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x320]
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0041209d
jmp 0x412459
push dword [ebp - 0x320]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00402183
inc dword [ebp + 8]
pop ecx
cmp dword [ebp + 8], 2
jb 0x4122f7
jmp 0x41247e
push dword [ebp - 0x18]
call fcn.00402183
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10