Function at 0x53b298
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x54
push 0
push 0
dec ecx
jne 0x53b2a0
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x53b8b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x38], 0
jne 0x53b2ee
push 0x20a
lea eax, [ebp - 0x26e]
push eax
mov eax, dword [0x596c38]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
mov eax, dword [ebp - 0x38]
add eax, 0x38
lea edx, [ebp - 0x26e]
mov ecx, 0x105
call fcn.00407668
mov word [ebp - 0x52], 0
mov word [ebp - 0x54], 0
mov word [ebp - 0x56], 0
mov word [ebp - 0x58], 0
mov byte [ebp - 0x59], 0
mov byte [ebp - 0x5a], 0
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x5c], 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
call fcn.004075c4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
seta al
mov edx, dword [ebp - 0x38]
mov byte [edx + 0x40], al
test al, al
je 0x53b71b
mov eax, dword [ebp - 0x44]
call fcn.004043e0
mov dword [ebp - 0x50], eax
xor eax, eax
push ebp
push 0x53b714
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x44]
push eax
push 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
call fcn.004075c4
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x53b8c0
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b3ea
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call fcn.0040cab0
movzx eax, ax
mov dword [ebp - 0x278], eax
mov byte [ebp - 0x274], 0
lea edx, [ebp - 0x278]
xor ecx, ecx
mov eax, 0x53b900
call fcn.0041eefc
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x40]
movzx eax, word [eax]
mov dword [ebp - 0x278], eax
mov byte [ebp - 0x274], 0
lea edx, [ebp - 0x278]
xor ecx, ecx
mov eax, 0x53b900
call fcn.0041eefc
push 0x53b918
push dword [ebp - 4]
push dword [ebp - 8]
push 0x53b944
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.004078a0
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x27c]
mov ecx, 0x53b954
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x27c]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b446
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x280]
mov ecx, 0x53b978
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x280]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b485
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x284]
mov ecx, 0x53b9a4
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x284]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b4c4
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x288]
mov ecx, 0x53b9c8
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x288]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b503
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28c]
mov ecx, 0x53b9f0
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x28c]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b542
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x290]
mov ecx, 0x53ba1c
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x290]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b581
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x294]
mov ecx, 0x53ba48
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x294]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b5c0
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x298]
mov ecx, 0x53ba78
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x298]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b5ff
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x29c]
mov ecx, 0x53ba9c
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x29c]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b63e
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x2a0]
mov ecx, 0x53bac8
mov edx, dword [ebp - 0x34]
call fcn.00407818
mov eax, dword [ebp - 0x2a0]
call fcn.004075c4
push eax
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b67d
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x60]
call fcn.00407614
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x53badc
mov eax, dword [ebp - 0x50]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x53b6fb
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 8]
shr eax, 0x10
mov word [ebp - 0x52], ax
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 8]
and ax, 0xffff
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebp - 0x56], ax
mov eax, dword [ebp - 0x64]
movzx eax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 1
setne byte [ebp - 0x59]
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 2
setne byte [ebp - 0x5a]
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 8
setne byte [ebp - 0x5b]
mov eax, dword [ebp - 0x64]
test byte [eax + 0x1c], 0x20
setne byte [ebp - 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b79d
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x50]
call fcn.00404430
ret
lea eax, [ebp - 0xc]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x10]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x14]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x18]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x1c]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x20]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x24]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x28]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x2c]
mov edx, 0x53baec
call fcn.00406e88
lea eax, [ebp - 0x30]
mov edx, 0x53baec
call fcn.00406e88
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x52]
mov word [eax + 0x48], dx
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x54]
mov word [eax + 0x4a], dx
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x56]
mov word [eax + 0x4c], dx
mov eax, dword [ebp - 0x38]
movzx edx, word [ebp - 0x58]
mov word [eax + 0x4e], dx
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x59]
mov byte [eax + 0x50], dl
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x5a]
mov byte [eax + 0x51], dl
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x5b]
mov byte [eax + 0x52], dl
mov eax, dword [ebp - 0x38]
movzx edx, byte [ebp - 0x5c]
mov byte [eax + 0x53], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b8ba
lea eax, [ebp - 0x2a0]
mov edx, 0xa
call fcn.00406ac0
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00406ac0
ret