Function at 0x4479c0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4a1720
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d7488]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [ebp]
sub eax, 0x10
call fcn.00409c07
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x40]
mov edi, 1
cmp dword [eax - 4], edi
jle 0x447a2c
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004036c5
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x447bff
push esi
lea eax, [esp + 0x18]
push eax
call fcn.0044a750
test al, al
jne 0x447a86
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447a74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x447c2c
mov eax, dword [esp + 0x40]
cmp dword [eax - 4], edi
jle 0x447aa1
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004036c5
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push edi
push esi
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x447bfd
mov edx, dword [0x4d967c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d967c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x447b13
cmp dword [esp + 0x20], ebx
je 0x447b13
mov eax, dword [esp + 0x24]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push 0x4b3d74
push ecx
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [esp + 0x28]
push eax
jmp 0x447b2c
push 0x4b3d74
push 0x4e2
push 0x409
push str.StringFileInfo_04x_04x_s
lea ecx, [esp + 0x28]
push ecx
call fcn.00436b7a
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp dword [eax - 4], 1
jle 0x447b50
mov edx, dword [eax - 0xc]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004036c5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x447ba9
cmp dword [esp + 0x28], ebx
je 0x447ba9
mov eax, dword [esp + 0x2c]
push eax
push ebp
call fcn.00409f26
mov byte [esp + 0x38], 2
lea ecx, [esp + 0x18]
call fcn.00403833
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x40]
call fcn.00403833
mov dword [esp + 0x38], 0xffffffff
push edi
call fcn.00482a4b
add esp, 4
mov al, 1
jmp 0x447c36
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447bce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447bf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
push edi
jmp 0x447c2c
jmp 0x447bce
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447c23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
push ebx
call fcn.00482a4b
add esp, 4
xor al, al
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret