Function at 0x503714
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 0x50371c
push ebx
push esi
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x178]
mov edx, dword [0x4088b8]
call fcn.004057ec
lea edi, [ebp - 8]
xor eax, eax
push ebp
push 0x504072
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c4c8]
call fcn.00403f94
mov esi, eax
mov eax, dword [edi]
mov dword [eax + 0x39c], esi
mov eax, esi
xor edx, edx
call fcn.0042139c
mov eax, dword [edi]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.0047ec34
mov eax, dword [edi]
mov edx, dword [eax + 0x2f4]
mov eax, dword [edi]
mov eax, dword [eax + 0x2f0]
call fcn.0047f41c
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.0040a244
test eax, eax
jne 0x503fb9
mov eax, dword [edi]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.0044cbf8
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
xor edx, edx
call fcn.0044cbf8
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 0x5039ad
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.0047ec34
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 0x5039a5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x504080
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x5039a5
cmp dword [ebp - 0x14], 2
jne 0x50389f
lea ecx, [ebp - 0x2dc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, 2
call fcn.00409c6c
mov ecx, dword [ebp - 0x2dc]
lea eax, [ebp - 0xc]
mov edx, 0x5040a4
call fcn.004050b8
jmp 0x5038c3
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, 4
call fcn.00409c6c
jmp 0x5038c3
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5040b4
call fcn.004050b8
mov eax, dword [ebp - 0xc]
call fcn.0040506c
cmp eax, 8
jl 0x5038b3
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 0x5040c0
push dword [ebp - 0xc]
push 0x5040dc
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040512c
mov bl, 3
mov esi, 0x538fc0
push ebp
mov edx, dword [esi]
mov eax, dword [ebp - 0x20]
call fcn.00503678
pop ecx
add esi, 4
dec bl
jne 0x503939
mov bl, 6
mov esi, 0x538fcc
push ebp
lea ecx, [ebp - 0x2e8]
mov edx, dword [esi]
mov eax, dword [ebp - 0x20]
call fcn.005035f4
pop ecx
mov edx, dword [ebp - 0x2e8]
lea eax, [ebp - 0xc]
call fcn.00404e4c
cmp dword [ebp - 0xc], 0
je 0x50399e
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 0x503953
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 0x503a10
mov eax, dword [edi]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x168]
call fcn.0042db70
mov edx, dword [ebp - 0x2d8]
call fcn.00431d54
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.0040a598
cmp dword [ebp - 0xc], 0
jne 0x503a59
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00405304
lea edx, [ebp - 0x2ec]
mov eax, dword [ebp - 0x10]
call fcn.00409544
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 0xc]
mov ecx, 0x5040e8
call fcn.004050b8
mov eax, dword [edi]
mov eax, dword [eax + 0x31c]
mov edx, dword [ebp - 0xc]
call fcn.0044cd08
lea edx, [ebp - 0x2f0]
mov eax, dword [edi]
mov eax, dword [eax + 0x3ac]
call fcn.0040a424
mov edx, dword [ebp - 0x2f0]
mov eax, dword [edi]
mov eax, dword [eax + 0x320]
call fcn.0044cd08
lea edx, [ebp - 0x2f4]
mov eax, dword [edi]
mov eax, dword [eax + 0x320]
call fcn.0044ccd8
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.0044ce28
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.0044cd08
lea eax, [ebp - 0x2fc]
lea edx, [ebp - 0x30]
mov ecx, 0xe
call fcn.0040501c
cmp dword [ebp - 0x2fc], 0
je 0x503b36
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.0044cd08
jmp 0x503b5f
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.0044cd08
lea eax, [ebp - 0x308]
lea edx, [ebp - 0x134]
mov ecx, 0x104
call fcn.0040501c
lea eax, [ebp - 0x308]
mov edx, 0x5040f8
call fcn.00405074
mov edx, dword [ebp - 0x308]
mov eax, dword [edi]
call fcn.0044cd08
mov ebx, dword [ebp - 0x174]
cmp ebx, 0x400
jge 0x503bc5
lea edx, [ebp - 0x30c]
mov eax, ebx
call fcn.00409c08
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0xc]
mov ecx, 0x50410c
call fcn.004050b8
jmp 0x503c53
cmp ebx, 0x100000
jge 0x503c11
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x504114]
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, 0x504120
call fcn.0040afd8
jmp 0x503c53
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x504128]
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, 0x504134
call fcn.0040afd8
lea eax, [ebp - 0x32c]
push eax
fild dword [ebp - 0x174]
fadd dword [0x50413c]
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, 0x504148
call fcn.0040afd8
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.0044cd08
lea edx, [ebp - 0x330]
lea eax, [ebp - 0x14c]
call fcn.005033d8
mov edx, dword [ebp - 0x330]
mov eax, dword [edi]
mov eax, dword [eax + 0x340]
call fcn.0044cd08
lea edx, [ebp - 0x334]
lea eax, [ebp - 0x15c]
call fcn.005033d8
mov edx, dword [ebp - 0x334]
mov eax, dword [edi]
mov eax, dword [eax + 0x33c]
call fcn.0044cd08
lea eax, [ebp - 0x338]
push eax
lea edx, [ebp - 0x33c]
lea eax, [ebp - 0x154]
call fcn.005033d8
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.0044cd08
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.0044cbf8
mov eax, dword [edi]
mov eax, dword [eax + 0x38c]
xor edx, edx
call fcn.0044cbf8
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
xor edx, edx
call fcn.0044cbf8
mov eax, dword [edi]
cmp byte [eax + 0x3a8], 0
je 0x503ff8
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.0044cbf8
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 0x503ff8
cmp ebx, 0x400
jge 0x503e9f
lea edx, [ebp - 0x340]
mov eax, ebx
call fcn.00409c08
mov edx, dword [ebp - 0x340]
lea eax, [ebp - 0xc]
mov ecx, 0x50410c
call fcn.004050b8
jmp 0x503f2d
cmp ebx, 0x100000
jge 0x503eeb
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x504114]
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, 0x504120
call fcn.0040afd8
jmp 0x503f2d
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fdiv dword [0x504128]
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, 0x504134
call fcn.0040afd8
lea eax, [ebp - 0x348]
push eax
mov dword [ebp - 0x318], ebx
fild dword [ebp - 0x318]
fadd dword [0x50413c]
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, 0x504148
call fcn.0040afd8
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.0044cd08
mov eax, dword [edi]
mov eax, dword [eax + 0x38c]
mov dl, 1
call fcn.0044cbf8
mov eax, dword [edi]
mov eax, dword [eax + 0x390]
mov dl, 1
call fcn.0044cbf8
jmp 0x503ff8
mov eax, dword [edi]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.0044cbf8
mov edx, 0x504160
mov eax, dword [edi]
call fcn.0044cd08
mov eax, dword [edi]
mov edx, dword [eax + 0x3ac]
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
call fcn.0044cd08
mov eax, dword [edi]
mov eax, dword [eax + 0x398]
mov dl, 1
call fcn.0044cbf8
lea eax, [ebp - 0x178]
call fcn.0040a2b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504079
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 [0x4088b8]
call fcn.004058bc
lea eax, [ebp - 0x20]
call fcn.00404db4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404dd8
ret