Function at 0x43d8c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5811a8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x5e91b4]
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.0043dc80
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
call fcn.004655e9
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x43d91b
push 0x80004005
call fcn.00402040
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.004655e9
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x43d948
push 0x80004005
call fcn.00402040
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], 0x5bc208
mov dword [ebp - 0x6c], 0x5bc218
mov dword [ebp - 0x68], 0x5bc22c
mov dword [ebp - 0x64], 0x5bc23c
mov dword [ebp - 0x60], 0x5bc24c
mov dword [ebp - 0x5c], str.OriginalFileName
mov dword [ebp - 0x58], 0x5bc270
mov dword [ebp - 0x54], 0x5bc280
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.00464a03
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.005599d2
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.00464a03
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 0x43dbc7
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 0x43dba4
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.00405330
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx - 0xc]
add esp, 0x18
test ecx, ecx
js 0x43db95
mov eax, dword [ebx - 8]
mov edx, 1
sub edx, dword [ebx - 4]
sub eax, ecx
or eax, edx
jge 0x43daa7
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401dd0
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.00557e86
add esp, 8
test eax, eax
js 0x43db95
cmp eax, dword [ebx - 8]
jg 0x43db95
mov dword [ebx - 0xc], eax
mov byte [eax + ebx], 0
test esi, esi
je 0x43db01
mov esi, dword [ebp - 0x28]
test esi, esi
jne 0x43daef
xor eax, eax
push eax
push esi
jmp 0x43db08
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43daf4
sub eax, edx
push eax
push esi
jmp 0x43db08
push 1
push 0x5bc310
lea ecx, [ebp - 0x14]
call fcn.00401ea0
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 0x43db40
cmp eax, dword [edi - 0x10]
jne 0x43db40
lea esi, [edi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43db6d
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 0x43db9f
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.0055793f
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.0043dce0
mov edi, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0xc
jl 0x43da50
jmp 0x43dbe8
push 0x80070057
call fcn.00402040
call fcn.00404ff0
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5bc310
call fcn.00401bf0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.0043dce0
inc esi
cmp esi, 0xc
jl 0x43dba4
jmp 0x43dbe8
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5bc310
call fcn.00401bf0
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.0043dce0
inc esi
cmp esi, 0xc
jl 0x43dbc7
push edi
call fcn.00464a0e
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00464a0e
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 0x43dc1a
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 0x43dc3d
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 0x43dc63
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