Function at 0x546bc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e7a6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2bc
mov eax, dword [0x5a5014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x208
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x546f6e
mov eax, dword [ebp - 0x224]
push eax
call fcn.004a10f8
add esp, 4
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x234]
push edx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x546f53
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x23c]
push edx
push 0x572d60
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x546f53
cmp dword [ebp - 0x238], 0
je 0x546f53
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x220], ecx
mov edx, dword [ebp - 0x220]
cmp dword [edx], 0xfeef04bd
jne 0x546f53
mov dword [ebp - 0x250], 2
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2b4]
push ecx
mov ecx, dword [0x5a61f0]
call fcn.00429850
mov dword [ebp - 0x254], eax
call fcn.004e8f50
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x254]
push edx
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x258]
call fcn.00429870
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x228]
call fcn.0040b660
movzx ecx, al
test ecx, ecx
jne 0x546f44
push 0x5c
push 0x572d68
call fcn.00507b30
add esp, 8
test eax, eax
je 0x546d96
push 0x5c
push 0x572da0
call fcn.00507b30
add esp, 8
add eax, 1
mov dword [ebp - 0x240], eax
jmp 0x546da0
mov dword [ebp - 0x240], 0x572dd8
call fcn.004e8f50
mov dword [ebp - 0x25c], eax
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.00429930
add esp, 0xc
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x260]
mov dword [ebp - 0x264], edx
mov byte [ebp - 4], 2
push 0x572d64
mov ecx, dword [ebp - 0x264]
call fcn.0041da80
mov ecx, eax
call fcn.0041da60
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.0041da60
mov dword [ebp - 0x26c], eax
push 0x572e10
mov ecx, dword [ebp - 0x26c]
call fcn.0041da60
mov dword [ebp - 0x2a8], eax
push 0x1d4
mov ecx, dword [ebp - 0x2a8]
call fcn.0041da00
mov dword [ebp - 0x270], eax
push 0x572e14
mov ecx, dword [ebp - 0x270]
call fcn.0041da60
mov dword [ebp - 0x274], eax
push str.ver:
mov ecx, dword [ebp - 0x274]
call fcn.0041da60
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0x278]
call fcn.0041d9e0
mov dword [ebp - 0x27c], eax
push str....
mov ecx, dword [ebp - 0x27c]
call fcn.0041da60
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 8]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp - 0x280]
call fcn.0041d9e0
mov dword [ebp - 0x284], eax
push 0x572e28
mov ecx, dword [ebp - 0x284]
call fcn.0041da60
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x288]
call fcn.0041d9e0
mov dword [ebp - 0x28c], eax
push 0x572e2c
mov ecx, dword [ebp - 0x28c]
call fcn.0041da60
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
push edx
mov ecx, dword [ebp - 0x290]
call fcn.0041d9e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.0041daa0
jmp 0x546d53
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.0040eae0
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x294]
push ecx
call fcn.004a1101
add esp, 4
jmp 0x5470c5
mov dword [ebp - 4], 0xffffffff
jmp 0x5470d5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a1084
mov esp, ebp
pop ebp
ret