Function at 0x4120bf
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x42abe0
call fcn.00428110
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.00402b3a
lea esi, [eax + 1]
lea eax, [ebp - 0x24]
push esi
push eax
mov ecx, ebx
call fcn.00409741
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00411f30
lea ecx, [ebp - 0x24]
call fcn.004029b7
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x18]
lea eax, [eax + esi*2]
push eax
call fcn.0040262c
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00411f30
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x24]
push eax
call fcn.00402a2a
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00402099
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004029b7
cmp byte [edi], bl
je 0x41215d
push dword [edi + 0xc]
lea ecx, [ebp - 0x24]
push dword [edi + 8]
call fcn.00411fac
lea ecx, [ebp - 0x24]
call fcn.004029b7
cmp byte [edi + 1], bl
je 0x4121b6
mov edx, 0x3f4
lea ecx, [ebp - 0x18]
call fcn.00405aed
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00402a2a
push dword [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00402099
lea ecx, [ebp - 0x24]
mov dword [esp], 0x42d1d8
call fcn.00402a66
push ebx
lea edx, [ebp - 0x6c]
lea ecx, [edi + 0x10]
call fcn.00405a9f
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x24]
push eax
call fcn.00402a66
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.00402099
or dword [ebp - 0x2c], 0xffffffff
pop ecx
mov dword [ebp + 8], ebx
lea esi, [edi + 0x18]
lea ecx, [ebp - 0x18]
push esi
call fcn.004026bc
cmp dword [ebp + 8], ebx
mov dword [ebp - 4], 3
je 0x412239
cmp byte [edi + 2], bl
je 0x412357
mov eax, dword [ebp - 0x14]
cmp eax, 4
jb 0x412357
mov ecx, dword [ebp - 0x18]
mov edx, str..exe
lea ecx, [ecx + eax*2 - 8]
call fcn.004021a4
test al, al
jne 0x412262
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, str..ico
lea ecx, [eax + ecx*2 - 8]
call fcn.004021a4
test al, al
je 0x412357
jmp 0x412262
lea ecx, [ebp - 0x18]
call fcn.00402b3a
inc eax
lea ecx, [ebp - 0x18]
push eax
call fcn.00402e0f
push 0x2e
lea ecx, [ebp - 0x18]
call fcn.00402b0f
cmp eax, ebx
jl 0x412262
push eax
lea ecx, [ebp - 0x18]
call fcn.00402e0f
cmp dword [ebp - 0x14], ebx
jne 0x412274
push str.__file__
lea ecx, [ebp - 0x18]
call fcn.004028a9
cmp byte [edi + 2], bl
mov dword [ebp + 0xc], 0x20
je 0x4122c2
lea ecx, [ebp - 0x64]
call fcn.00403f40
lea ecx, [ebp - 0x3c]
call fcn.004025e9
mov eax, dword [esi]
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004042bb
test al, al
je 0x4122b9
cmp byte [ebp - 0x40], bl
jne 0x4122b9
mov eax, dword [ebp - 0x44]
mov ecx, eax
shr ecx, 4
test cl, 1
jne 0x4122b9
mov dword [ebp + 0xc], eax
push dword [ebp - 0x3c]
call fcn.00402099
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 0x41233b
cmp dword [ebp - 0x320], ebx
je 0x41233b
mov eax, dword [ebp - 0x31c]
cmp eax, ebx
jl 0x41232f
cmp eax, dword [ebp - 0x2c]
je 0x41232f
cmp eax, ebx
jne 0x412310
cmp dword [ebp + 8], ebx
jne 0x41232f
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
je 0x41231e
mov eax, dword [ebp + 0x14]
push dword [ebp - 0x320]
mov ecx, dword [ebp - 0x28]
push eax
call fcn.00411f7f
jmp 0x41233b
push dword [ebp - 0x320]
call dword [sym.imp.USER32.dll_DestroyIcon]
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00402099
inc dword [ebp + 8]
pop ecx
cmp dword [ebp + 8], 2
jb 0x4121d9
jmp 0x412360
push dword [ebp - 0x18]
call fcn.00402099
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10