Function at 0x41d180
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a0ee
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x60e070]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x174], esi
call fcn.0041e160
mov ecx, esi
call fcn.004a61e0
test al, al
je 0x41da3f
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00403b20
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41da3f
push 0x6103d0
push esi
call fcn.0053fe68
add esp, 8
mov edi, eax
test edi, edi
je 0x41da3f
push edi
push esi
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x174]
call fcn.00403b20
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x41d248
push edi
call fcn.0053fb54
add esp, 4
jmp 0x41da3f
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
push 0x5d889c
push edi
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call esi
test eax, eax
je 0x41d292
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x41d292
cmp dword [ebp - 0x1c], 0x34
jne 0x41d292
push 0x34
push eax
push ebx
call fcn.005426f0
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x16c]
push eax
push str.VarFileInfoTranslation
push edi
call esi
test eax, eax
je 0x41da2f
mov ecx, dword [ebp - 0x16c]
test ecx, ecx
je 0x41da2f
xor esi, esi
test dword [ebp - 0x1c], 0xfffffffc
jbe 0x41d363
nop dword [eax]
lea eax, [ecx + esi*4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041da80
mov ecx, dword [ebp - 0x16c]
lea eax, [ecx + esi*4]
cmp word [eax], 0
jne 0x41d344
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
mov eax, 0x409
mov word [ebp - 0x170], ax
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041da80
mov ecx, dword [ebp - 0x16c]
inc esi
mov eax, dword [ebp - 0x1c]
shr eax, 2
cmp esi, eax
jb 0x41d300
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x174], eax
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1a8], esi
jmp 0x41d365
xor esi, esi
mov eax, esi
mov dword [ebp - 0x170], eax
cmp eax, dword [ebp - 0x24]
je 0x41d9d3
lea esi, [ebx + 0x34]
mov dword [ebp - 0x178], esi
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x1a4], eax
lea eax, [ebx + 0x64]
mov dword [ebp - 0x1a0], eax
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x19c], eax
lea eax, [ebx + 0x94]
mov dword [ebp - 0x198], eax
lea eax, [ebx + 0xac]
mov dword [ebp - 0x194], eax
lea eax, [ebx + 0xc4]
mov dword [ebp - 0x190], eax
lea eax, [ebx + 0xdc]
mov dword [ebp - 0x18c], eax
lea eax, [ebx + 0xf4]
mov dword [ebp - 0x188], eax
lea eax, [ebx + 0x10c]
mov dword [ebp - 0x184], eax
lea eax, [ebx + 0x124]
mov dword [ebp - 0x180], eax
lea eax, [ebx + 0x13c]
mov dword [ebp - 0x17c], eax
mov ebx, dword [ebp - 0x170]
lea ecx, [ebp - 0x44]
call fcn.00403c30
mov byte [ebp - 4], 3
movzx eax, word [ebx + 2]
push eax
movzx eax, word [ebx]
push eax
push str.StringFileInfo_04x_04x_
lea eax, [ebp - 0x44]
push eax
call fcn.0049aa20
push 0x5d8e1c
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.0041e690
add esp, 0x14
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.0040d380
test eax, eax
jne 0x41d488
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403b20
push eax
push edi
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
test eax, eax
je 0x41d48e
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d48e
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x178]
call fcn.004040a0
jmp 0x41d48e
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0x5d8e34
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1a4]
call fcn.0040d380
test eax, eax
jne 0x41d4ef
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x74]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d4ef
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d4ef
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x1a4]
call fcn.004040a0
push 0x5d8e54
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x8c]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1a0]
call fcn.0040d380
test eax, eax
jne 0x41d556
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d556
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d556
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x1a0]
call fcn.004040a0
push 0x5d8e6c
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xa4]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x19c]
call fcn.0040d380
test eax, eax
jne 0x41d5bd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xa4]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d5bd
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d5bd
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x19c]
call fcn.004040a0
push 0x5d8e88
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xbc]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x198]
call fcn.0040d380
test eax, eax
jne 0x41d624
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d624
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d624
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x198]
call fcn.004040a0
push str.OriginalFileName
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xd4]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x194]
call fcn.0040d380
test eax, eax
jne 0x41d68b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d68b
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d68b
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x194]
call fcn.004040a0
push 0x5d8ecc
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0xec]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x190]
call fcn.0040d380
test eax, eax
jne 0x41d6f2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0xec]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d6f2
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d6f2
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x190]
call fcn.004040a0
push 0x5d8ee4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x104]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18c]
call fcn.0040d380
test eax, eax
jne 0x41d759
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x104]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d759
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d759
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x18c]
call fcn.004040a0
push 0x5d8f04
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x11c]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x188]
call fcn.0040d380
test eax, eax
jne 0x41d7c0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d7c0
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d7c0
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x188]
call fcn.004040a0
push str.LegalTrademarks
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x134]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x184]
call fcn.0040d380
test eax, eax
jne 0x41d827
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x134]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d827
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d827
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x184]
call fcn.004040a0
push str.PrivateBuild
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x14c]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x180]
call fcn.0040d380
test eax, eax
jne 0x41d88e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d88e
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d88e
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x180]
call fcn.004040a0
push str.SpecialBuild
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x164]
call fcn.0041e690
add esp, 4
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x17c]
call fcn.0040d380
test eax, eax
jne 0x41d8f5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x164]
call fcn.00403b20
push eax
push edi
call ebx
test eax, eax
je 0x41d8f5
mov esi, dword [ebp - 0x168]
test esi, esi
je 0x41d8f5
push esi
call fcn.00404660
add esp, 4
push eax
push esi
mov ecx, dword [ebp - 0x17c]
call fcn.004040a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x164]
call fcn.00403b90
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x14c]
call fcn.00403b90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x134]
call fcn.00403b90
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.00403b90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call fcn.00403b90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
call fcn.00403b90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd4]
call fcn.00403b90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xbc]
call fcn.00403b90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
call fcn.00403b90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.00403b90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.00403b90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00403b90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00403b90
mov ebx, dword [ebp - 0x170]
add ebx, 4
mov dword [ebp - 0x170], ebx
cmp ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x178]
jne 0x41d400
mov esi, dword [ebp - 0x1a8]
push edi
call fcn.0053fb54
add esp, 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41da2b
mov ecx, dword [ebp - 0x174]
sub ecx, esi
and ecx, 0xfffffffc
mov eax, esi
cmp ecx, 0x1000
jb 0x41da0c
add ecx, 0x23
mov esi, dword [esi - 4]
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41da6f
push ecx
push esi
call fcn.0053fb46
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov al, 1
jmp 0x41da41
push edi
call fcn.0053fb54
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053f5d9
mov esp, ebp
pop ebp
ret 4
call fcn.0054cdad
int3