Function at 0x4418e0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46a93e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x482410]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x482410]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x104]
mov eax, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
xor ebp, ebp
lea edx, [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebp
push edx
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebp
call fcn.0040ab30
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x44195d
mov eax, dword [eax + 4]
jmp 0x441960
add eax, 4
lea ecx, [esp + 0x1c]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp dword [esp + 0x7c], ebx
jb 0x441980
mov edx, dword [esp + 0x68]
push edx
call fcn.0044d947
add esp, 4
cmp edi, ebp
jne 0x4419b5
push str.mailru::resource::version_info
push str..Resource.cpp
push 0x5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xac]
call fcn.0040a820
push 0x477600
lea eax, [esp + 0xa0]
push eax
call fcn.0044df31
push edi
lea ecx, [esp + 0x38]
call fcn.00441440
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov dword [esp + 0xf8], ebp
call fcn.0040ab30
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x40]
mov esi, eax
jne 0x4419e3
call fcn.0044df21
cmp dword [esi + 0x18], ebx
jb 0x4419ed
mov esi, dword [esi + 4]
jmp 0x4419f0
add esi, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
push edi
push ecx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
mov esi, 8
sete bl
cmp dword [esp + 0x7c], esi
jb 0x441a1e
mov edx, dword [esp + 0x68]
push edx
call fcn.0044d947
add esp, 4
test bl, bl
je 0x441a53
push str.mailru::resource::version_info
push str..Resource.cpp
push 0x63
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xac]
call fcn.0040a820
push 0x477600
lea eax, [esp + 0xa0]
push eax
call fcn.0044df31
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], ebp
jne 0x441a6e
call fcn.0044df21
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x441abc
push str.mailru::resource::version_info
push str..Resource.cpp
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xac]
call fcn.0040a820
push 0x477600
lea edx, [esp + 0xa0]
push edx
call fcn.0044df31
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebp
mov word [esp + 0x84], ax
push 0x3e
lea edx, [esp + 0xa2]
xor ecx, ecx
push ebp
push edx
mov byte [esp + 0x100], 1
mov word [esp + 0xa8], cx
call fcn.0044e560
mov eax, dword [esp + 0x2c]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0xb0]
push 0x470dfc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0xb8]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x441b27
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x88]
call fcn.00401f80
push 1
push 0x470df8
lea ecx, [esp + 0x88]
call fcn.004048b0
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
push edx
lea ecx, [esp + 0x8c]
call fcn.00408310
cmp dword [esp + 0x98], esi
mov esi, dword [esp + 0x84]
jae 0x441b89
lea esi, [esp + 0x84]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
jne 0x441b98
call fcn.0044df21
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x441be2
push str.mailru::resource::version_info
push str..Resource.cpp
push 0x7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xac]
call fcn.0040a820
push 0x477600
lea ecx, [esp + 0xa0]
push ecx
call fcn.0044df31
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea ecx, [eax + edx*2]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.00441680
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x58]
mov byte [esp + 0xf4], 2
test edx, 0xfffffffe
jne 0x441c41
push str.mailru::resource::version_info
push str..Resource.cpp
push 0x7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0xac]
call fcn.0040a820
push 0x477600
lea eax, [esp + 0xa0]
push eax
call fcn.0044df31
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.00440e70
mov ecx, eax
call fcn.00440cf0
cmp word [eax], bp
je 0x441c6d
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], ebp
call fcn.0040eee0
push ebp
lea ecx, [esp + 0x50]
call fcn.0040aae0
mov esi, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00401ef0
lea ecx, [esp + 0x4c]
call fcn.0040aa60
lea ecx, [esp + 0x80]
call fcn.00401100
lea ecx, [esp + 0x34]
call fcn.00426500
mov eax, esi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0044dd38
add esp, 0xe4
ret