Function at 0x41d750
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4732c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [esp + 0x30]
push 0x21
push str._failed_to_retrieve_version_info_
call fcn.00404b50
mov ecx, dword [esp + 0x34]
push 0x1f
push str._failed_to_retrieve_legal_info_
call fcn.00404b50
call fcn.004684ee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp], eax
push 0xe000
mov dword [esp + 0x2c], 0
call fcn.004684e3
test eax, eax
je 0x41d7bf
push 0xe000
push eax
lea ecx, [esp + 8]
call fcn.00403260
push ebx
push ebp
push esi
mov ebx, 1
mov dword [esp + 0x34], ebx
call fcn.004684ee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov ebp, dword [esi - 4]
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, ebp
sub eax, 0xff
or eax, ecx
mov byte [esp + 0x34], 2
jge 0x41d808
push 0xff
lea ecx, [esp + 0x18]
call fcn.00402aa0
mov esi, dword [esp + 0x14]
call fcn.0046eb29
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push 0xff
push esi
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test esi, esi
jne 0x41d828
xor eax, eax
jmp 0x41d83f
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d830
sub eax, edx
js 0x41da6a
cmp eax, dword [esi - 8]
jg 0x41da6a
lea ecx, [esp + 0x1c]
push ecx
mov dword [esi - 0xc], eax
push esi
mov byte [eax + esi], 0
call sub.version.dll_GetFileVersionInfoSizeA
mov ebp, eax
test ebp, ebp
jne 0x41d8ba
lea eax, [esi - 0x10]
mov byte [esp + 0x34], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d87e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d925
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
push edi
push ebp
call fcn.0046848e
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x20]
push edi
push ebp
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x41d937
push edi
call fcn.00468493
add esp, 4
lea eax, [esi - 0x10]
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d8fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d924
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
test edi, edi
je 0x41d8e0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push str.VarFileInfoTranslation
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x41d973
push edi
call fcn.00468493
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41d8f4
mov eax, dword [esp + 0x24]
movzx esi, word [eax]
movzx eax, word [eax + 2]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x475214
shl esi, 0x10
push edi
or esi, eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x41d9ca
push edi
call fcn.00468493
add esp, 4
lea ecx, [esp + 0x18]
call fcn.00402fe0
lea ecx, [esp + 0x10]
call fcn.00402fe0
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [esp + 0x28]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
push edx
movzx edx, word [eax + 0x12]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push str._s_Version__u._u._u._u
push ecx
call fcn.00404ed0
add esp, 0x1c
lea ecx, [esp + 0x14]
call fcn.00402fc0
push esi
lea edx, [esp + 0x18]
push str.StringFileInfo_08lxLegalCopyright
push edx
mov byte [esp + 0x44], 3
call fcn.00404ed0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00403230
push eax
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x41da48
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
push edx
call fcn.00405170
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00409ab0
push edi
call fcn.00468493
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00402fe0
jmp 0x41d9a5
push 0x80070057
call fcn.00401410
int3