Function at 0x10003020
Capabilities:
Get file version info

Disassembly:
sub esp, 0x218
push ebx
mov ebx, dword [esp + 0x220]
push ebp
push esi
lea eax, [esp + 0x18]
push edi
push eax
push ebx
mov dword [esp + 0x24], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x1000327b
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1000327b
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
push ebp
mov ecx, edx
push esi
xor esi, esi
and ecx, 3
push esi
rep stosb byte es:[edi], al
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000327b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x1000160c
push ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000327b
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x124]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
test eax, 0xfffffffc
jbe 0x10003272
mov eax, dword [esp + 0x18]
xor edx, edx
xor ecx, ecx
mov dx, word [eax + ebx*4 + 2]
mov cx, word [eax + ebx*4]
push edx
push ecx
lea edx, [esp + 0x12c]
push 0x100015e4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x124]
push eax
push ecx
push edx
push ebp
call sub.VERSION.dll_VerQueryValueA
mov ax, word [0x1000753c]
mov ecx, 0x40
mov word [esp + 0x20], ax
xor eax, eax
lea edi, [esp + 0x22]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dx, word [eax + ebx*4]
xor ecx, ecx
mov cx, word [eax + ebx*4 + 2]
lea eax, [esp + 0x124]
push ecx
push edx
push 0x100015bc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x124]
push ecx
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueA
mov ecx, 0x41
xor eax, eax
mov edi, 0x100071d8
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x100071d8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x10003200
mov eax, dword [esp + 0x10]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x100030d2
push ebp
call fcn.100046c6
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x20]
push 0x100015b8
push ecx
call esi
add esp, 8
test eax, eax
je 0x10003220
mov edi, 0x100015b4
jmp 0x10003252
lea eax, [esp + 0x20]
push 0x100015ac
push eax
call esi
add esp, 8
test eax, eax
je 0x1000323a
mov edi, 0x100015a4
jmp 0x10003252
lea eax, [esp + 0x20]
push 0x1000159c
push eax
call esi
add esp, 8
test eax, eax
je 0x10003272
mov edi, 0x10001594
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x10005d1c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call fcn.100046c6
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret