Function at 0x10003ed3
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10014010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi], ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x88], ebx
mov dword [edi], ebx
call fcn.10005f62
push eax
call fcn.10005fa4
push 0x1000157c
push eax
call fcn.10005e22
test eax, eax
jne 0x100040bb
push 0x48
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.10006e10
add esp, 0xc
push ebx
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.WINMM.dll_mmioOpenA]
mov dword [ebp - 0x78], eax
cmp eax, ebx
jne 0x10003f50
xor eax, eax
jmp 0x10004186
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x20
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
je 0x10003fb4
push ebx
push ebx
push 0x1000156c
mov edi, 0x10001550
push edi
push 0x2e2
mov esi, 0x10001280
push esi
call fcn.100064d5
add esp, 0x18
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.WINMM.dll_mmioClose]
test eax, eax
je 0x10003f49
push ebx
push ebx
push 0x10001544
push edi
push 0x2e5
push esi
call fcn.100064d5
add esp, 0x18
jmp 0x10003f49
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x2c], 0x73726576
call dword [sym.imp.WINMM.dll_mmioDescend]
test eax, eax
je 0x1000401d
push ebx
push ebx
push 0x1000156c
mov edi, 0x10001550
push edi
push 0x2f1
mov esi, 0x10001280
push esi
call fcn.100064d5
add esp, 0x18
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.WINMM.dll_mmioClose]
test eax, eax
je 0x10003f49
push ebx
push ebx
push 0x10001544
push edi
push 0x2f4
jmp 0x10003fa9
push 8
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.WINMM.dll_mmioRead]
push ebx
cmp eax, 8
je 0x10004078
push ebx
push 0x10001538
mov edi, 0x10001550
push edi
push 0x2fb
mov esi, 0x10001280
push esi
call fcn.100064d5
add esp, 0x18
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.WINMM.dll_mmioClose]
test eax, eax
je 0x10003f49
push ebx
push ebx
push 0x10001544
push edi
push 0x2fe
jmp 0x10003fa9
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx], eax
call dword [sym.imp.WINMM.dll_mmioClose]
test eax, eax
je 0x100040b3
push ebx
push ebx
push 0x10001544
push 0x10001550
push 0x308
push 0x10001280
call fcn.100064d5
add esp, 0x18
xor eax, eax
inc eax
jmp 0x10004186
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x78]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x10004180
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x1000415c
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x8c]
push dword [ebp - 0x78]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x10004136
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x10001534
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x34
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10004136
mov eax, dword [ebp - 0x78]
cmp eax, ebx
je 0x10004136
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov dword [ebp - 0x88], 1
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test eax, eax
jne 0x10004180
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10001528
push 0x10001550
push 0x324
jmp 0x10004173
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10001518
push 0x10001550
push 0x326
push 0x10001280
call fcn.100064d5
add esp, 0x18
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006df2
leave
ret 0xc