Function at 0x415e40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x458e40]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push edi
push 0x64
push 0x461110
push 0x67
push ebx
mov dword [esp + 0x28c], eax
call esi
push 0x64
push 0x4611c0
push 0x6e
push ebx
call esi
push ebx
call fcn.00415aa0
mov ecx, dword [0x59f500]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [0x59f500]
mov dword [ecx + 4], ecx
mov ecx, dword [0x59f500]
add esp, 4
cmp eax, ecx
mov dword [0x59f504], 0
je 0x415ec7
lea esp, [esp]
mov esi, dword [eax]
push eax
call fcn.00433080
mov ecx, dword [0x59f500]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x415eb0
call dword [sym.imp.WINMM.dll_timeGetTime]
push eax
call fcn.00434049
add esp, 4
push 0x104
lea eax, [esp + 0x6c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea ecx, [esp + 0x6c]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
inc eax
push eax
mov dword [esp + 0x10], eax
call fcn.004255e0
mov edx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push edx
push 0
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x24], esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x415fbb
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x441374
push esi
call sub.VERSION.dll_VerQueryValueA
mov esi, dword [esp + 0x10]
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x41
lea edi, [esp + 0x170]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [esp + 0x44]
movzx edx, ax
push edx
shr eax, 0x10
push eax
lea eax, [esp + 0x180]
push str.__d._d._d._d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x188]
add esp, 0x18
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x415f90
mov edi, 0x461110
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x415fa1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
push esi
call fcn.00433116
mov ecx, dword [ebp + 0x14]
push ecx
push ebx
call fcn.00415b30
add esp, 0xc
test eax, eax
jne 0x415fe7
mov ecx, dword [esp + 0x27c]
call fcn.004332fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [0x461228]
push 0
push edx
call sub.IMM32.dll_ImmAssociateContext
mov dword [0x4610fc], eax
call fcn.00421230
mov ecx, eax
call fcn.004212a0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call esi
test eax, eax
je 0x416050
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call edi
test eax, eax
je 0x41606d
lea edx, [esp + 0x18]
push edx
call ebx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x416018
mov eax, dword [0x46122c]
test eax, eax
jne 0x416063
mov ecx, 0x461230
call fcn.00413330
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x416018
mov ecx, dword [esp + 0x27c]
mov eax, dword [esp + 0x20]
call fcn.004332fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10