Function at 0x42e19e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57c
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
lea eax, [ebp - 0x514]
mov esi, edx
push eax
push dword [esi + 4]
mov ebx, ecx
push dword [esi]
mov dword [ebp - 0x538], ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x42e50a
push edi
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x514]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x530]
call fcn.00409428
push ebx
mov ecx, 0x4942f4
mov edi, eax
call fcn.0040f0ce
push eax
mov eax, edi
call fcn.0040e3bf
mov ebx, 0x493c60
push eax
mov ecx, ebx
call fcn.0040f0ce
add esp, 0x18
push 0
push 1
lea ecx, [ebp - 0x530]
call fcn.004063d7
push 0xc
lea eax, [ebp - 0x57c]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
je 0x42e2b2
mov eax, dword [ebp - 0x578]
mov ecx, dword [ebp - 0x57c]
push 8
mov dword [ebp - 0x548], eax
pop eax
push dword [ebp - 0x538]
mov dword [ebp - 0x550], ecx
mov ecx, 0x49431c
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x54c], eax
call fcn.0040f0ce
lea esi, [ebp - 0x550]
mov edi, eax
call fcn.0042e6e9
push eax
mov ecx, ebx
call fcn.0040f0ce
push eax
mov ecx, 0x4942fc
call fcn.0040f0ce
lea esi, [ebp - 0x548]
mov edi, eax
call fcn.0042e6e9
push eax
mov ecx, ebx
call fcn.0040f0ce
add esp, 0x10
lea eax, [ebp - 0x554]
push eax
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x42e509
lea eax, [esi + 1]
push eax
call fcn.0044a56c
pop ecx
push eax
push esi
push dword [ebp - 0x554]
mov dword [ebp - 0x534], eax
lea eax, [ebp - 0x514]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov edi, dword [sym.imp.VERSION.dll_VerQueryValueW]
and dword [ebp - 0x540], 0
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x540]
push eax
push 0x488ae0
push dword [ebp - 0x534]
call edi
test eax, eax
je 0x42e3ef
mov eax, dword [ebp - 0x540]
movzx ecx, word [eax + 0x14]
movzx edx, word [eax + 0x16]
push ecx
push 0x2e
pop ecx
push ecx
push edx
movzx edx, word [eax + 0x10]
push ecx
push edx
movzx edx, word [eax + 0x12]
push ecx
push edx
movzx edx, word [eax + 0xc]
push edx
movzx edx, word [eax + 0xe]
push ecx
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push ecx
push eax
push dword [ebp - 0x538]
mov ecx, 0x49435c
call fcn.0040f0ce
pop ecx
mov esi, eax
call fcn.0042e8e5
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e8e5
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e8e5
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e8e5
push eax
mov ecx, ebx
call fcn.0040f0ce
push eax
mov ecx, 0x49433c
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e8e5
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e8e5
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e8e5
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e8e5
push eax
mov ecx, ebx
call fcn.0040f0ce
pop ecx
pop ecx
mov dword [ebp - 0x564], 0x49437c
mov dword [ebp - 0x560], 0x494394
mov dword [ebp - 0x55c], 0x4943b4
mov dword [ebp - 0x570], 0x4943cc
mov dword [ebp - 0x56c], 0x4943e0
mov dword [ebp - 0x568], 0x4943f4
xor esi, esi
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x558]
push eax
push 0x494408
push dword [ebp - 0x534]
call edi
test eax, eax
je 0x42e4fd
mov eax, dword [ebp - 0x558]
movzx ecx, word [eax + 2]
push dword [ebp + esi - 0x564]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x104]
push 0x49443c
push eax
call fcn.0042e8c9
add esp, 0x14
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x544]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x534]
call edi
test eax, eax
je 0x42e4fd
mov eax, 0xfde9
push eax
push 0xffffffffffffffff
push dword [ebp - 0x544]
lea ecx, [ebp - 0x530]
call fcn.00409428
push dword [ebp - 0x538]
mov ecx, 0x494474
mov dword [ebp - 0x54c], eax
call fcn.0040f0ce
mov ecx, dword [ebp + esi - 0x570]
push eax
call fcn.0040f0ce
push eax
mov eax, dword [ebp - 0x54c]
call fcn.0040e3bf
push eax
mov ecx, ebx
call fcn.0040f0ce
add esp, 0x1c
push 0
push 1
lea ecx, [ebp - 0x530]
call fcn.004063d7
add esi, 4
cmp esi, 0xc
jb 0x42e42d
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x538]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret