Function at 0x582da2
Capabilities:
Get file version info

Disassembly:
push 0x700
mov eax, 0x6b796b
call fcn.0066d8c1
mov dword [ebp - 0x3c], ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xc4]
call fcn.005770c6
xor ebx, ebx
push 0x416728
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], ebx
call fcn.0057706c
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.005b9bd7
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.00576231
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0xc4]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.00589fd2
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x38]
call fcn.005b9bd7
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x9c]
call fcn.005b9bd7
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x38]
call fcn.005b9bd7
test al, al
jne 0x5831d4
lea ecx, [ebp - 0x38]
call fcn.0055f338
push eax
lea ecx, [ebp - 0x68]
call fcn.005770c6
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 3
push eax
call fcn.0057dead
lea eax, [ebp - 0x68]
push eax
call fcn.005b9bd7
test al, al
lea ecx, [ebp - 0x68]
je 0x5831a8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 4
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
lea ecx, [ebp - 0x18]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
ja 0x582ef0
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x420de0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.005b9bd7
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x70c]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x70c]
push eax
call fcn.005b9bd7
push 1
push 0x1e8
push 0x4208dc
push esi
call fcn.0058b7f6
mov edi, eax
lea ecx, [ebp - 0x68]
mov dword [ebp + 0xc], edi
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
cmp edi, ebx
jne 0x582f49
push eax
push 0x420d78
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.005b9bd7
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x2dc]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x2dc]
jmp 0x582eea
push edi
push esi
push dword [ebp - 0x18]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x582f99
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x420d20
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.005b9bd7
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x600]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x600]
jmp 0x582eea
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x41e278
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x582ff1
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x420cb0
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.005b9bd7
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x3e8]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x3e8]
jmp 0x582eea
mov esi, dword [ebp - 0x1c]
shr esi, 2
mov dword [ebp - 0x40], esi
jne 0x583038
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push 0x420c48
lea eax, [ebp - 0x1d0]
push 0x21
push eax
call fcn.005b9bd7
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
lea edi, [ebp - 0x4f4]
rep movsd dword es:[edi], dword [esi]
push 0x6c2560
lea eax, [ebp - 0x4f4]
jmp 0x582eea
lea ecx, [ebp - 0x90]
mov dword [ebp + 8], ebx
call fcn.005761e7
push 0x56
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.005b9bd7
push 0x410590
lea ecx, [ebp - 0x90]
call fcn.005b9bd7
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
cmp eax, esi
jae 0x583182
mov ecx, dword [ebp - 0x20]
movzx esi, word [ecx + eax*4]
lea eax, [ebp + 8]
push eax
push esi
call fcn.005b9bd7
mov edi, eax
cmp edi, ebx
jge 0x5830ab
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push edi
push eax
push esi
push 0x420aa8
push 1
call fcn.00578284
add esp, 0x14
jmp 0x583177
push esi
call fcn.005b9bd7
cmp al, bl
jne 0x5830c9
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push eax
push esi
push 0x4209a0
jmp 0x58316d
lea ecx, [ebp - 0x90]
call fcn.0057605c
lea ecx, [ebp - 0x90]
mov esi, eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push ebx
push ebx
push esi
push eax
push dword [ebp + 8]
call fcn.005b9bd7
test eax, eax
ja 0x583105
push dword [ebp + 8]
push 0x41fa18
push 1
call fcn.00578284
add esp, 0xc
jmp 0x583177
push 0xc4
call fcn.005b9bd7
pop ecx
mov ecx, eax
mov dword [ebp - 0x94], ecx
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x583134
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00584022
mov esi, eax
jmp 0x583136
xor esi, esi
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp + 8]
push eax
add ecx, 0xc
mov byte [ebp - 4], 5
call fcn.00582bfc
push esi
mov ecx, eax
call fcn.005b9bd7
lea ecx, [ebp - 0x68]
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
lea ecx, [ebp - 0x90]
mov esi, eax
call sym.osetup.dll_public:_struct_FlexUI::IDataSource____thiscall_FlexUI::FlexValue::GetDataSource_void_const
push esi
push eax
push 0x420910
push 1
call fcn.00578284
add esp, 0x10
inc dword [ebp - 0x14]
mov esi, dword [ebp - 0x40]
jmp 0x58306a
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00576231
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], 3
je 0x5831a5
push dword [ebp + 0xc]
call fcn.005b9bd7
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.00576231
lea ecx, [ebp - 0x38]
call fcn.0052a611
jmp 0x582e2a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00521431
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00576231
call fcn.0066d966
ret 0xc