Function at 0x47c930
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4f7906
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x52bd18]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x128], eax
mov dword [esp + 0x1c], ebx
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x140]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x138], ebx
call fcn.00401fd0
mov edx, dword [esp + 0x10]
mov ebp, dword [edx - 4]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, ebp
or ecx, eax
mov byte [esp + 0x134], 1
jge 0x47c9b7
push ebx
lea ecx, [esp + 0x14]
call fcn.00401610
mov edx, dword [esp + 0x10]
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x47ca25
mov esi, dword [esp + 0x13c]
push str.0.0.0.0
mov ecx, esi
call fcn.00401fd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c9fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cbd1
mov ecx, dword [eax]
push eax
jmp 0x47cbcc
push esi
call fcn.004df1be
mov edx, dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0x1c], ebx
mov ecx, dword [edx - 4]
mov eax, 1
sub eax, ecx
mov ecx, dword [edx - 8]
add esp, 4
or ecx, eax
jge 0x47ca57
push ebx
lea ecx, [esp + 0x14]
call fcn.00401610
mov edx, dword [esp + 0x10]
push edi
push esi
push ebx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test dword [esp + 0x20], 0xfffffffc
jbe 0x47cab4
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
lea ecx, [esp + 0x30]
push 0x4fca50
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [esp + 0x18]
cmp edx, ebx
je 0x47cad5
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47cac1
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00401880
push 0x4fca4e
push 0x4fca4c
lea ecx, [esp + 0x1c]
call fcn.00401920
push 0x4fca48
push 0x4fca44
lea ecx, [esp + 0x1c]
call fcn.00401920
push edi
call fcn.004df1b9
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
add esp, 4
cmp eax, ebx
jne 0x47cb1f
push 7
push str.0.0.0.0
lea ecx, [esp + 0x1c]
call fcn.00401880
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
add ebp, 0xfffffff0
call dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
cmp edx, ebx
lea ecx, [ebp + 0xc]
jl 0x47cb4a
cmp eax, dword [ebp]
jne 0x47cb4a
mov eax, ebp
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x47cb7d
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
cmp eax, ebx
jne 0x47cb5f
jmp fcn.0041aab0
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x13c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x134], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47cbae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x134], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47cbd1
mov ecx, dword [ebp]
push ebp
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
pop ebx
call fcn.004ce183
add esp, 0x128
ret