Function at 0x440360
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x46933e
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x481410]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x481410]
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.0040b030
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x4403dd
mov eax, dword [eax + 4]
jmp 0x4403e0
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 0x440400
mov edx, dword [esp + 0x68]
push edx
call fcn.0044c3c7
add esp, 4
cmp edi, ebp
jne 0x440435
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.0040ae50
push 0x4766f4
lea eax, [esp + 0xa0]
push eax
call fcn.0044c9b1
push edi
lea ecx, [esp + 0x38]
call fcn.0043fec0
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
mov dword [esp + 0xf8], ebp
call fcn.0040b030
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x40]
mov esi, eax
jne 0x440463
call fcn.0044c9a1
cmp dword [esi + 0x18], ebx
jb 0x44046d
mov esi, dword [esi + 4]
jmp 0x440470
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 0x44049e
mov edx, dword [esp + 0x68]
push edx
call fcn.0044c3c7
add esp, 4
test bl, bl
je 0x4404d3
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.0040ae50
push 0x4766f4
lea eax, [esp + 0xa0]
push eax
call fcn.0044c9b1
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 0x4404ee
call fcn.0044c9a1
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 0x44053c
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.0040ae50
push 0x4766f4
lea edx, [esp + 0xa0]
push edx
call fcn.0044c9b1
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.0044cfe0
mov eax, dword [esp + 0x2c]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0xb0]
push 0x46fdc4
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 0x4405a7
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x88]
call fcn.00401f50
push 1
push 0x46fdc0
lea ecx, [esp + 0x88]
call fcn.004048a0
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push ebp
push edx
lea ecx, [esp + 0x8c]
call fcn.004083f0
cmp dword [esp + 0x98], esi
mov esi, dword [esp + 0x84]
jae 0x440609
lea esi, [esp + 0x84]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
jne 0x440618
call fcn.0044c9a1
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 0x440662
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.0040ae50
push 0x4766f4
lea ecx, [esp + 0xa0]
push ecx
call fcn.0044c9b1
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.00440100
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x58]
mov byte [esp + 0xf4], 2
test edx, 0xfffffffe
jne 0x4406c1
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.0040ae50
push 0x4766f4
lea eax, [esp + 0xa0]
push eax
call fcn.0044c9b1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.0043f8f0
mov ecx, eax
call fcn.0043f770
cmp word [eax], bp
je 0x4406ed
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], ebp
call fcn.0040f9d0
push ebp
lea ecx, [esp + 0x50]
call fcn.00409a90
mov esi, dword [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00401ee0
lea ecx, [esp + 0x4c]
call fcn.004099f0
lea ecx, [esp + 0x80]
call fcn.00401100
lea ecx, [esp + 0x34]
call fcn.00426860
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.0044c7b8
add esp, 0xe4
ret