Function at 0x502f74
Capabilities:
Get file system object information
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x69
push 0
push 0
dec ecx
jne 0x502f7c
push ebx
push esi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x178]
mov edx, dword [0x408888]
call fcn.004057ec
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x5038d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c4a0]
call fcn.00403f94
mov esi, eax
mov eax, dword [edi]
mov dword [eax + 0x39c], esi
mov eax, esi
xor edx, edx
call fcn.00421360
mov eax, dword [edi]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.004809c4
mov eax, dword [edi]
mov edx, dword [eax + 0x2f4]
mov eax, dword [edi]
mov eax, dword [eax + 0x2f0]
call fcn.004811ac
mov eax, dword [edi]
mov eax, dword [eax + 0x378]
mov edx, dword [eax]
call dword [edx + 0xd4]
mov eax, dword [edi]
mov eax, dword [eax + 0x39c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [edi]
xor edx, edx
mov dword [eax + 0x3a0], edx
lea ecx, [ebp - 0x178]
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
mov edx, 0x3f
call fcn.0040a214
test eax, eax
jne 0x503819
mov eax, dword [edi]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.0044cb2c
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
xor edx, edx
call fcn.0044cb2c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.00405264
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jle 0x50320d
mov eax, ebx
call fcn.004027c8
mov dword [ebp - 4], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x2f8]
mov dl, 1
call fcn.004809c4
mov eax, dword [ebp - 4]
push eax
push ebx
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.00405264
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x503205
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5038e0
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x503205
cmp dword [ebp - 0x14], 2
jne 0x5030ff
lea ecx, [ebp - 0x2dc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, 2
call fcn.00409c3c
mov ecx, dword [ebp - 0x2dc]
lea eax, [ebp - 0xc]
mov edx, 0x503904
call fcn.004050b8
jmp 0x503123
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, 4
call fcn.00409c3c
jmp 0x503123
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x503914
call fcn.004050b8
mov eax, dword [ebp - 0xc]
call fcn.0040506c
cmp eax, 8
jl 0x503113
lea eax, [ebp - 0x2e0]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004052c4
mov eax, dword [ebp - 0x2e0]
push eax
lea eax, [ebp - 0x2e4]
push eax
mov ecx, 4
mov edx, 5
mov eax, dword [ebp - 0xc]
call fcn.004052c4
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004050b8
push 0x503920
push dword [ebp - 0xc]
push 0x50393c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040512c
mov bl, 3
mov esi, 0x538fec
push ebp
mov edx, dword [esi]
mov eax, dword [ebp - 0x20]
call fcn.00502ed8
pop ecx
add esi, 4
dec bl
jne 0x503199
mov bl, 6
mov esi, 0x538ff8
push ebp
lea ecx, [ebp - 0x2e8]
mov edx, dword [esi]
mov eax, dword [ebp - 0x20]
call fcn.00502e54
pop ecx
mov edx, dword [ebp - 0x2e8]
lea eax, [ebp - 0xc]
call fcn.00404e4c
cmp dword [ebp - 0xc], 0
je 0x5031fe
mov edx, dword [esi]
mov eax, dword [edi]
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [edi]
mov eax, dword [eax + 0x39c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add esi, 4
dec bl
jne 0x5031b3
mov eax, dword [ebp - 4]
call fcn.004027e8
lea eax, [ebp - 0xc]
call fcn.00404db4
push 0x500
push 0x160
lea eax, [ebp - 0x2d8]
push eax
push 0
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.00405264
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x503270
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x168]
call fcn.0042dac4
mov edx, dword [ebp - 0x2d8]
call fcn.00431ca8
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x1c8]
mov ecx, 0x50
call fcn.0040501c
lea edx, [ebp - 0x10]
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.0040a568
cmp dword [ebp - 0xc], 0
jne 0x5032b9
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00405304
lea edx, [ebp - 0x2ec]
mov eax, dword [ebp - 0x10]
call fcn.00409514
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 0xc]
mov ecx, 0x503948
call fcn.004050b8
mov eax, dword [edi]
mov eax, dword [eax + 0x31c]
mov edx, dword [ebp - 0xc]
call fcn.0044cc3c
lea edx, [ebp - 0x2f0]
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.0040a3f4
mov edx, dword [ebp - 0x2f0]
mov eax, dword [edi]
mov eax, dword [eax + 0x320]
call fcn.0044cc3c
lea edx, [ebp - 0x2f4]
mov eax, dword [edi]
mov eax, dword [eax + 0x320]
call fcn.0044cc0c
mov edx, dword [ebp - 0x2f4]
mov eax, dword [edi]
mov eax, dword [eax + 0x320]
add eax, 0x80
call fcn.00404e08
mov eax, dword [edi]
mov eax, dword [eax + 0x320]
mov dl, 1
call fcn.0044cd5c
lea eax, [ebp - 0x2f8]
lea edx, [ebp - 0x134]
mov ecx, 0x104
call fcn.0040501c
mov edx, dword [ebp - 0x2f8]
mov eax, dword [edi]
mov eax, dword [eax + 0x30c]
call fcn.0044cc3c
lea eax, [ebp - 0x2fc]
lea edx, [ebp - 0x30]
mov ecx, 0xe
call fcn.0040501c
cmp dword [ebp - 0x2fc], 0
je 0x503396
lea eax, [ebp - 0x300]
lea edx, [ebp - 0x30]
mov ecx, 0xe
call fcn.0040501c
mov edx, dword [ebp - 0x300]
mov eax, dword [edi]
mov eax, dword [eax + 0x338]
call fcn.0044cc3c
jmp 0x5033bf
lea eax, [ebp - 0x304]
lea edx, [ebp - 0x134]
mov ecx, 0x104
call fcn.0040501c
mov edx, dword [ebp - 0x304]
mov eax, dword [edi]
mov eax, dword [eax + 0x338]
call fcn.0044cc3c
lea eax, [ebp - 0x308]
lea edx, [ebp - 0x134]
mov ecx, 0x104
call fcn.0040501c
lea eax, [ebp - 0x308]
mov edx, 0x503958
call fcn.00405074
mov edx, dword [ebp - 0x308]
mov eax, dword [edi]
call fcn.0044cc3c
mov ebx, dword [ebp - 0x174]
cmp ebx, 0x400
jge 0x503425
lea edx, [ebp - 0x30c]
mov eax, ebx
call fcn.00409bd8
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0xc]
mov ecx, 0x50396c
call fcn.004050b8
jmp 0x5034b3
cmp ebx, 0x100000
jge 0x503471
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x503974]
fstp xword [ebp - 0x324]
wait
lea eax, [ebp - 0x324]
mov dword [ebp - 0x314], eax
mov byte [ebp - 0x310], 3
lea edx, [ebp - 0x314]
xor ecx, ecx
mov eax, 0x503980
call fcn.0040afa8
jmp 0x5034b3
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x503988]
fstp xword [ebp - 0x324]
wait
lea eax, [ebp - 0x324]
mov dword [ebp - 0x314], eax
mov byte [ebp - 0x310], 3
lea edx, [ebp - 0x314]
xor ecx, ecx
mov eax, 0x503994
call fcn.0040afa8
lea eax, [ebp - 0x32c]
push eax
fild dword [ebp - 0x174]
fadd dword [0x50399c]
fstp xword [ebp - 0x324]
wait
lea eax, [ebp - 0x324]
mov dword [ebp - 0x314], eax
mov byte [ebp - 0x310], 3
lea edx, [ebp - 0x314]
xor ecx, ecx
mov eax, 0x5039a8
call fcn.0040afa8
mov ecx, dword [ebp - 0x32c]
lea eax, [ebp - 0x328]
mov edx, dword [ebp - 0xc]
call fcn.004050b8
mov edx, dword [ebp - 0x328]
mov eax, dword [edi]
mov eax, dword [eax + 0x324]
call fcn.0044cc3c
lea edx, [ebp - 0x330]
lea eax, [ebp - 0x14c]
call fcn.00502c38
mov edx, dword [ebp - 0x330]
mov eax, dword [edi]
mov eax, dword [eax + 0x340]
call fcn.0044cc3c
lea edx, [ebp - 0x334]
lea eax, [ebp - 0x15c]
call fcn.00502c38
mov edx, dword [ebp - 0x334]
mov eax, dword [edi]
mov eax, dword [eax + 0x33c]
call fcn.0044cc3c
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x33c]
lea eax, [ebp - 0x154]
call fcn.00502c38
mov eax, dword [ebp - 0x33c]
mov ecx, 0xb
mov edx, 1
call fcn.004052c4
mov edx, dword [ebp - 0x338]
mov eax, dword [edi]
mov eax, dword [eax + 0x344]
call fcn.0044cc3c
test byte [ebp - 0x160], 2
setne al
mov edx, dword [edi]
mov byte [edx + 0x3a4], al
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x354]
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test byte [ebp - 0x160], 4
setne al
mov edx, dword [edi]
mov byte [edx + 0x3a5], al
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x358]
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test byte [ebp - 0x160], 1
setne al
mov edx, dword [edi]
mov byte [edx + 0x3a6], al
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x34c]
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test byte [ebp - 0x160], 0x20
setne al
mov edx, dword [edi]
mov byte [edx + 0x3a7], al
mov edx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x350]
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test byte [ebp - 0x15f], 8
setne al
mov edx, dword [edi]
mov byte [edx + 0x3a8], al
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
xor edx, edx
call fcn.0044cb2c
mov eax, dword [edi]
mov eax, dword [eax + 0x38c]
xor edx, edx
call fcn.0044cb2c
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
xor edx, edx
call fcn.0044cb2c
mov eax, dword [edi]
cmp byte [eax + 0x3a8], 0
je 0x503858
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [edi]
mov eax, dword [eax + 0x394]
mov dl, 1
call fcn.0044cb2c
push 0
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.00405264
push eax
call sub.kernel32.dll_GetCompressedFileSizeA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x503858
cmp ebx, 0x400
jge 0x5036ff
lea edx, [ebp - 0x340]
mov eax, ebx
call fcn.00409bd8
mov edx, dword [ebp - 0x340]
lea eax, [ebp - 0xc]
mov ecx, 0x50396c
call fcn.004050b8
jmp 0x50378d
cmp ebx, 0x100000
jge 0x50374b
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x503974]
fstp xword [ebp - 0x324]
wait
lea eax, [ebp - 0x324]
mov dword [ebp - 0x314], eax
mov byte [ebp - 0x310], 3
lea edx, [ebp - 0x314]
xor ecx, ecx
mov eax, 0x503980
call fcn.0040afa8
jmp 0x50378d
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x503988]
fstp xword [ebp - 0x324]
wait
lea eax, [ebp - 0x324]
mov dword [ebp - 0x314], eax
mov byte [ebp - 0x310], 3
lea edx, [ebp - 0x314]
xor ecx, ecx
mov eax, 0x503994
call fcn.0040afa8
lea eax, [ebp - 0x348]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fadd dword [0x50399c]
fstp xword [ebp - 0x324]
wait
lea eax, [ebp - 0x324]
mov dword [ebp - 0x314], eax
mov byte [ebp - 0x310], 3
lea edx, [ebp - 0x314]
xor ecx, ecx
mov eax, 0x5039a8
call fcn.0040afa8
mov ecx, dword [ebp - 0x348]
lea eax, [ebp - 0x344]
mov edx, dword [ebp - 0xc]
call fcn.004050b8
mov edx, dword [ebp - 0x344]
mov eax, dword [edi]
mov eax, dword [eax + 0x38c]
call fcn.0044cc3c
mov eax, dword [edi]
mov eax, dword [eax + 0x38c]
mov dl, 1
call fcn.0044cb2c
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
mov dl, 1
call fcn.0044cb2c
jmp 0x503858
mov eax, dword [edi]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.0044cb2c
mov edx, 0x5039c0
mov eax, dword [edi]
call fcn.0044cc3c
mov eax, dword [edi]
mov edx, dword [eax + 0x3ac]
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
call fcn.0044cc3c
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
mov dl, 1
call fcn.0044cb2c
lea eax, [ebp - 0x178]
call fcn.0040a288
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5038d9
lea eax, [ebp - 0x348]
mov edx, 9
call fcn.00404dd8
lea eax, [ebp - 0x30c]
mov edx, 6
call fcn.00404dd8
lea eax, [ebp - 0x2f4]
call fcn.00404db4
lea eax, [ebp - 0x2f0]
mov edx, 6
call fcn.00404dd8
lea eax, [ebp - 0x178]
mov edx, dword [0x408888]
call fcn.004058bc
lea eax, [ebp - 0x20]
call fcn.00404db4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404dd8
ret