Function at 0x47d110
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47d118
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040487c
xor eax, eax
push ebp
push 0x47d449
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047cb44
test al, al
je 0x47d15d
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.00404430
jmp 0x47d426
lea eax, [ebp - 0x1c]
call fcn.004043dc
mov eax, dword [ebp - 4]
call fcn.00408ccc
test al, al
je 0x47d426
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040488c
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x47d41b
mov eax, dword [ebp - 0xc]
call fcn.00408668
mov edi, eax
push edi
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47d411
mov esi, 1
mov ebx, 0x486cf8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
mov ecx, dword [ebx]
mov edx, 0x47d460
call fcn.004046e0
mov eax, dword [ebp - 0x20]
call fcn.0040488c
push eax
push edi
call sub.version.dll_VerQueryValueA
test eax, eax
je case.0x47d28e.0
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004045cc
mov al, byte [0x47d47c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x47d488
mov edx, 0x47d494
mov eax, dword [ebp - 0x18]
call fcn.0040d4d0
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
call fcn.00404474
mov al, byte [0x47d498]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x47d488
mov edx, 0x47d4a4
mov eax, dword [ebp - 0x18]
call fcn.0040d4d0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
call fcn.00404474
mov al, byte [0x47d498]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x47d488
mov edx, 0x47d4b0
mov eax, dword [ebp - 0x18]
call fcn.0040d4d0
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.00404474
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.0040893c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x18]
call fcn.00404474
mov eax, esi
cmp eax, 0xa
ja case.0x47d28e.0
jmp dword [eax*4 + 0x47d295]
push dword [ebp - 0x1c]
push 0x47d4bc
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d4d8
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d4e8
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d4f8
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d508
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d518
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d528
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d538
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d548
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
jmp case.0x47d28e.0
push dword [ebp - 0x1c]
push 0x47d558
push dword [ebp - 0x18]
push 0x47d4cc
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404754
inc esi
add ebx, 4
cmp esi, 0xb
jne 0x47d1bf
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00402738
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
call fcn.00404430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d450
lea eax, [ebp - 0x30]
mov edx, 7
call fcn.00404400
lea eax, [ebp - 4]
call fcn.004043dc
ret