Function at 0x41bcc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55722e
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5d7b20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xa
lea ecx, [ebp - 0x29c]
mov dword [ebp - 4], 1
call fcn.0045900d
mov byte [ebp - 4], 2
call fcn.0044c104
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41bd22
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x264], eax
or esi, 0xffffffff
mov byte [ebp - 4], 3
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x240], esi
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41bd97
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 4
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41bdc7
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 5
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41bdf7
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 6
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41be27
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 7
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41be57
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 8
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41be87
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 9
call fcn.0044c104
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41beb7
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x228], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0xa
or eax, ecx
mov byte [ebp - 4], 0xa
jge 0x41beef
push 0xa
lea ecx, [ebp + 8]
call fcn.004045b0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x25c]
push ecx
push edx
mov dword [ebp - 0x250], edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x41c583
push 0x1f4f
push str.DevConFunc.cpp
push edi
call fcn.0043e4e0
add esp, 0xc
mov dword [ebp - 0x21c], eax
cmp eax, ebx
je 0x41c583
mov edx, eax
mov eax, dword [ebp - 0x250]
push edx
push edi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41c2ae
mov edi, dword [ebp - 0x21c]
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x56825c
push edi
mov dword [ebp - 0x218], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c0d5
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push ecx
push str.dwSignature__0x_08x_n
call fcn.00415550
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 4]
push eax
push str.dwStrucVersion__0x_08x_n
call fcn.00415550
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 8]
push edx
push str.dwFileVersionMS__0x_08x_n
call fcn.00415550
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xc]
push ecx
push str.dwFileVersionLS__0x_08x_n
call fcn.00415550
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x10]
push eax
push str.dwProductVersionMS__0x_08x_n
call fcn.00415550
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x14]
push edx
push str.dwProductVersionLS__0x_08x_n
call fcn.00415550
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x18]
push ecx
push str.dwFileFlagsMask__0x_08x_n
call fcn.00415550
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x1c]
push eax
push str.dwFileFlags__0x_08x_n
call fcn.00415550
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x20]
add esp, 0x40
push edx
push str.dwFileOS__0x_08x_n
call fcn.00415550
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x24]
push ecx
push str.dwFileType__0x_08x_n
call fcn.00415550
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x28]
push eax
push str.dwFileSubtype__0x_08x_n
call fcn.00415550
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x2c]
push edx
push str.dwFileDateMS__0x_08x_n
call fcn.00415550
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x30]
push ecx
push str.dwFileDateLS__0x_08x_n
call fcn.00415550
mov eax, dword [ebp - 0x218]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
lea ecx, [ebp - 0x234]
push str._d._d._d._d
push ecx
call fcn.0040ba60
mov eax, dword [ebp - 0x218]
add esp, 0x40
movzx edx, word [eax + 0x14]
movzx ecx, word [eax + 0x16]
push edx
movzx edx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push edx
push eax
lea ecx, [ebp - 0x22c]
push str._d._d._d._d
push ecx
call fcn.0040ba60
add esp, 0x18
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x224]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c2ae
mov eax, dword [ebp - 0x224]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov dword [ebp - 0x214], ebx
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xLegalCopyright
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c16d
mov edx, dword [ebp - 0x214]
push edx
push str.LegalCopyright___s_n
call fcn.00415550
mov eax, dword [ebp - 0x214]
add esp, 8
push eax
lea ecx, [ebp - 0x228]
call fcn.00405db0
mov eax, dword [ebp - 0x224]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xProductName
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c1d8
mov edx, dword [ebp - 0x214]
push edx
push str.ProductName___s_n
call fcn.00415550
mov eax, dword [ebp - 0x214]
add esp, 8
push eax
lea ecx, [ebp - 0x23c]
call fcn.00405db0
mov eax, dword [ebp - 0x224]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xCompanyName
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c243
mov edx, dword [ebp - 0x214]
push edx
push str.CompanyName___s_n
call fcn.00415550
mov eax, dword [ebp - 0x214]
add esp, 8
push eax
lea ecx, [ebp - 0x230]
call fcn.00405db0
mov eax, dword [ebp - 0x224]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x210]
push str.StringFileInfo_04x_04xProductVersion
push eax
call edi
add esp, 0x10
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp - 0x21c]
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41c2ae
mov edx, dword [ebp - 0x214]
push edx
push str.ProductVersion___s_n
call fcn.00415550
mov eax, dword [ebp - 0x214]
add esp, 8
push eax
lea ecx, [ebp - 0x238]
call fcn.00405db0
mov eax, dword [ebp + 0xc]
push 0x3b
lea ecx, [ebp - 0x29c]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x214], esp
mov edi, esp
push eax
call fcn.00404610
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00419180
mov eax, dword [ebp - 0x298]
add esp, 0xc
mov edi, eax
mov dword [ebp - 0x214], edi
cmp eax, ebx
jne 0x41c317
and esi, dword [ebp - 0x254]
and esi, dword [ebp - 0x258]
and esi, dword [ebp - 0x24c]
and esi, dword [ebp - 0x244]
and esi, dword [ebp - 0x248]
jmp 0x41c589
mov edi, dword [ebp - 0x214]
push 0xa
lea ecx, [ebp - 0x280]
call fcn.0045900d
push 0x3d
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 0xb
push edx
mov eax, edi
cmp edi, ebx
je 0x41c579
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
mov esi, dword [eax + 8]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x214], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x218], esp
mov ebx, esp
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x41c37b
cmp eax, dword [esi - 0x10]
jne 0x41c37b
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41c3b3
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x41c57e
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0053e916
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.00419180
add esp, 0xc
cmp dword [ebp - 0x274], 2
jne 0x41c536
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x218], eax
test eax, eax
je 0x41c579
lea esi, [eax + 8]
mov eax, dword [esi]
push 0x570a80
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x41c409
lea edi, [ebp - 0x234]
lea ebx, [ebp - 0x248]
jmp 0x41c4b4
mov eax, dword [esi]
push 0x570a78
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x41c42e
lea edi, [ebp - 0x22c]
lea ebx, [ebp - 0x244]
jmp 0x41c4b4
mov eax, dword [esi]
push 0x570a70
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x41c450
lea edi, [ebp - 0x238]
lea ebx, [ebp - 0x24c]
jmp 0x41c4b4
mov eax, dword [esi]
push 0x570a68
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x41c472
lea edi, [ebp - 0x230]
lea ebx, [ebp - 0x258]
jmp 0x41c4b4
mov eax, dword [esi]
push 0x570a60
push eax
call fcn.0053e2bf
add esp, 8
test eax, eax
jne 0x41c494
lea edi, [ebp - 0x23c]
lea ebx, [ebp - 0x254]
jmp 0x41c4b4
push 0x570a58
mov ecx, esi
call fcn.0040b340
test eax, eax
jne 0x41c536
lea edi, [ebp - 0x228]
lea ebx, [ebp - 0x240]
mov ecx, dword [ebp - 0x218]
mov eax, dword [ecx]
test eax, eax
je 0x41c579
lea esi, [eax + 8]
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x41c4e1
push 0
mov ecx, esi
call fcn.004045b0
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x41bd18
mov eax, dword [edi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41c51a
test dx, dx
je 0x41c516
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41c51a
add eax, 4
add ecx, 4
test dx, dx
jne 0x41c4f4
xor eax, eax
jmp 0x41c51f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41c52b
mov dword [ebx], 1
jmp 0x41c536
cmp dword [ebx], 0
jge 0x41c536
mov dword [ebx], 0
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0xa
call fcn.0045913b
xor ebx, ebx
cmp dword [ebp - 0x214], ebx
jne 0x41c311
mov esi, dword [ebp - 0x240]
and esi, dword [ebp - 0x254]
and esi, dword [ebp - 0x258]
and esi, dword [ebp - 0x24c]
and esi, dword [ebp - 0x244]
and esi, dword [ebp - 0x248]
jmp 0x41c589
call fcn.00449c8f
call fcn.00404310
mov esi, dword [ebp - 0x214]
cmp dword [ebp - 0x250], ebx
je 0x41c5c1
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.0053ee8b
add esp, 8
cmp eax, ebx
jl 0x41c77c
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx - 8]
jg 0x41c77c
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [ebp - 0x21c]
cmp eax, ebx
je 0x41c5d4
push eax
call fcn.0043e500
add esp, 4
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c5fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x23c]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c620
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c646
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c66c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c692
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c6b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c6de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c704
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 1
call fcn.0045913b
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c736
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c75c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e1ad
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00403e70
int3