Function at 0x443530
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5875b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5f01b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
call fcn.004438f0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x44358b
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.0046b8a8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4435b8
push 0x80004005
call fcn.004020e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
inc eax
push eax
mov dword [ebp - 0x70], 0x5c2b10
mov dword [ebp - 0x6c], 0x5c2b20
mov dword [ebp - 0x68], 0x5c2b34
mov dword [ebp - 0x64], 0x5c2b44
mov dword [ebp - 0x60], 0x5c2b54
mov dword [ebp - 0x5c], str.OriginalFileName
mov dword [ebp - 0x58], 0x5c2b78
mov dword [ebp - 0x54], 0x5c2b88
mov dword [ebp - 0x50], str.Comments
mov dword [ebp - 0x4c], str.LegalTrademarks
mov dword [ebp - 0x48], str.PrivateBuild
mov dword [ebp - 0x44], str.SpecialBuild
mov dword [ebp - 0x40], str.StringFileInfo_
call fcn.0046aca3
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax - 0xc]
push eax
inc ecx
push ecx
push esi
mov dword [ebp - 0x3c], esi
call fcn.0055fc32
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
xor ecx, ecx
mov esi, eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046aca3
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x1c]
push edi
push esi
push eax
push ecx
mov dword [ebp - 0x2c], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
xor esi, esi
cmp eax, esi
je 0x443837
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
cmp eax, esi
je 0x443814
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
add eax, 2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x30], eax
lea ebx, [ebx]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + ecx*4 - 0x70]
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
push edx
mov edx, dword [ebp - 0x34]
movzx eax, word [edx]
push ecx
push eax
push str.StringFileInfo_
lea ecx, [ebp - 0x10]
push str._s_04x_04x_s
push ecx
call fcn.004056c0
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx - 0xc]
add esp, 0x18
test ecx, ecx
js 0x443805
mov eax, dword [ebx - 8]
mov edx, 1
sub edx, dword [ebx - 4]
sub eax, ecx
or eax, edx
jge 0x443717
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401e80
mov ebx, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x28]
push eax
push ebx
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
mov esi, eax
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.0055e0e1
add esp, 8
test eax, eax
js 0x443805
cmp eax, dword [ebx - 8]
jg 0x443805
mov dword [ebx - 0xc], eax
mov byte [eax + ebx], 0
test esi, esi
je 0x443771
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x44375f
xor eax, eax
push eax
push esi
jmp 0x443778
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443764
sub eax, edx
push eax
push esi
jmp 0x443778
push 1
push 0x5c2c18
lea ecx, [ebp - 0x14]
call fcn.00401f50
mov edi, dword [ebp - 0x14]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x38], esp
call eax
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x4437b0
cmp eax, dword [edi - 0x10]
jne 0x4437b0
lea esi, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4437dd
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x44380f
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
inc eax
push eax
push edi
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0055dbf6
add esp, 0x10
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
add esi, 0x10
mov dword [edx], esi
mov esi, dword [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00443950
mov edi, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0xc
jl 0x4436c0
jmp 0x443858
push 0x80070057
call fcn.004020e0
call fcn.00401ff0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5c2c18
call fcn.00401ca0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00443950
inc esi
cmp esi, 0xc
jl 0x443814
jmp 0x443858
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5c2c18
call fcn.00401ca0
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00443950
inc esi
cmp esi, 0xc
jl 0x443837
push edi
call fcn.0046acae
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0046acae
add ebx, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44388a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4438ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4438d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8