Function at 0x10179710
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x1036482b
mov eax, dword fs:[0]
push eax
sub esp, 0x5f4
mov eax, dword [0x10480b90]
xor eax, esp
mov dword [esp + 0x5f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10480b90]
xor eax, esp
push eax
lea eax, [esp + 0x608]
mov dword fs:[0], eax
xor ebp, ebp
cmp dword [0x104968e8], ebp
jne 0x10179d6e
cmp dword [0x104968ec], ebp
jne 0x10179d6e
cmp dword [0x104968f0], ebp
jne 0x10179d6e
cmp dword [0x104968f4], ebp
jne 0x10179d6e
mov eax, dword [0x104875fc]
mov ebx, 0x10
cmp dword [0x10487610], ebx
jae 0x10179794
mov eax, 0x104875fc
lea ecx, [esp + 0x34]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebp
ja 0x10179b91
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x40]
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], 1
mov dword [esp + 0x30], edx
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x58]
push edx
mov esi, eax
call fcn.100158b0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov dword [eax], ebp
lea ecx, [esp + 0x54]
mov dword [esp + 0x610], ebp
call fcn.1000a850
cmp dword [esp + 0x18], ebp
je 0x10179b73
lea edx, [esp + 0x48]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], fcn.10029dc0
mov dword [esp + 0x24], 0x1001e5d0
jmp 0x10179820
push 0x10420184
push str.1877
push str.__line:
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x5c], esp
push str.._logic_logic.cpp
call fcn.10003660
lea esi, [esp + 0x12c]
call fcn.10069570
add esp, 0x20
mov esi, eax
push 0x10421098
lea ecx, [esp + 0xd0]
mov byte [esp + 0x620], 1
call fcn.10003660
push esi
push eax
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x628], 2
call fcn.10015a90
add esp, 0xc
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x624], 3
call fcn.10015b40
add esp, 0xc
push eax
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0x620], 4
call fcn.10015b40
add esp, 0xc
push eax
lea eax, [esp + 0x128]
push eax
mov byte [esp + 0x61c], 5
call fcn.10015b40
add esp, 0xc
mov ebp, eax
push str.Last_error_code_0x_x_
lea ecx, [esp + 0x150]
push ecx
mov byte [esp + 0x618], 6
call fcn.10015560
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
mov byte [esp + 0x614], 7
call fcn.1001bcd0
add esp, 4
lea edx, [esp + 0xa0]
mov ecx, eax
call fcn.10015670
mov edi, eax
mov byte [esp + 0x610], 8
call fcn.1005c100
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
lea edx, [esp + 0x148]
push edx
call fcn.10015980
add esp, 0xc
mov byte [esp + 0x610], 9
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x18]
add esi, 4
cmp dword [edi + 0x1c], ebx
jb 0x10179951
mov edi, dword [edi + 8]
jmp 0x10179954
add edi, 8
push eax
push edi
mov ecx, esi
call fcn.10013f30
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], ebx
jb 0x1017996a
mov ebp, dword [ebp + 8]
jmp 0x1017996d
add ebp, 8
push eax
push ebp
mov ecx, esi
call fcn.10013f30
lea ecx, [esp + 0x140]
mov byte [esp + 0x610], 8
call fcn.10012b30
mov byte [esp + 0x610], 7
cmp dword [esp + 0xbc], ebx
jb 0x101799ab
mov eax, dword [esp + 0xa8]
push eax
call fcn.1026bc50
add esp, 4
mov edi, 0xf
xor esi, esi
lea ecx, [esp + 0xa0]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
call fcn.100012e0
lea ecx, [esp + 0x14c]
push ecx
mov byte [esp + 0x614], 6
call fcn.1000b3f0
mov byte [esp + 0x610], 5
cmp dword [esp + 0x13c], ebx
jb 0x10179a0a
mov edx, dword [esp + 0x128]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x120]
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], esi
mov byte [esp + 0x128], 0
call fcn.100012e0
mov byte [esp + 0x610], 4
cmp dword [esp + 0xfc], ebx
jb 0x10179a4d
mov eax, dword [esp + 0xe8]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], esi
mov byte [esp + 0xe8], 0
call fcn.100012e0
mov byte [esp + 0x610], 3
cmp dword [esp + 0x7c], ebx
jb 0x10179a8a
mov ecx, dword [esp + 0x68]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], esi
mov byte [esp + 0x68], 0
call fcn.100012e0
mov byte [esp + 0x610], 2
cmp dword [esp + 0x9c], ebx
jb 0x10179ac1
mov edx, dword [esp + 0x88]
push edx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], esi
mov byte [esp + 0x88], 0
call fcn.100012e0
mov byte [esp + 0x610], 1
cmp dword [esp + 0xdc], ebx
jb 0x10179b04
mov eax, dword [esp + 0xc8]
push eax
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0xc0]
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], esi
mov byte [esp + 0xc8], 0
call fcn.100012e0
mov byte [esp + 0x610], 0
cmp dword [esp + 0x11c], ebx
jb 0x10179b47
mov ecx, dword [esp + 0x108]
push ecx
call fcn.1026bc50
add esp, 4
lea ecx, [esp + 0x100]
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], esi
mov byte [esp + 0x108], 0
call fcn.100012e0
cmp dword [esp + 0x18], esi
jne 0x10179820
lea ecx, [esp + 0x18]
mov dword [esp + 0x610], 0xffffffff
call fcn.1000a850
mov eax, 0xc0030007
jmp 0x10179d70
mov eax, edi
lea esi, [esp + 0x1c]
call fcn.1017f620
mov dword [esp + 0x610], 0xa
mov esi, dword [esp + 0x20]
cmp esi, ebp
jne 0x10179bc2
lea ecx, [esp + 0x1c]
call fcn.1017f670
mov eax, 0xc0010007
jmp 0x10179d70
mov eax, dword [0x104875fc]
cmp dword [0x10487610], ebx
jae 0x10179bd4
mov eax, 0x104875fc
mov edx, dword [esp + 0x34]
push esi
push edi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10179bf8
lea ecx, [esp + 0x1c]
call fcn.1017f670
mov eax, 0xc0030007
jmp 0x10179d70
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x30]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10179be5
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x3c]
push eax
push 0x10420170
push esi
mov dword [esp + 0x60], ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10179be5
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
mov dword [0x104968e8], ecx
movzx ecx, word [eax + 0xe]
mov dword [0x104968ec], edx
movzx edx, word [eax + 0xc]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], ebp
mov dword [0x104968f0], ecx
movzx ecx, word [eax + 2]
mov dword [0x104968f4], edx
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x20c]
push str.StringFileInfo_04x_04xComments
push eax
call fcn.1026b4d0
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x20c]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10179be5
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, 0x10487634
call fcn.10003770
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebp
movzx edx, word [eax + 2]
movzx eax, word [eax]
push edx
push eax
lea ecx, [esp + 0x20c]
push str.StringFileInfo_04x_04xBuildInfo
push ecx
call fcn.1026b4d0
add esp, 0x10
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20c]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x10179be5
mov eax, dword [0x104968f4]
cmp eax, ebp
jne 0x10179d29
mov edx, dword [0x104968f0]
mov eax, dword [0x104968ec]
mov ecx, dword [0x104968e8]
push edx
push eax
push ecx
lea edx, [esp + 0x210]
push str.BROM_DLL_v_d._d._02d
push edx
call fcn.1026b4d0
add esp, 0x14
jmp 0x10179d53
mov ecx, dword [0x104968ec]
mov edx, dword [0x104968e8]
push eax
mov eax, dword [0x104968f0]
push eax
push ecx
push edx
lea eax, [esp + 0x214]
push str.BROM_DLL_v_d._d._02d._02d
push eax
call fcn.1026b4d0
add esp, 0x18
lea ecx, [esp + 0x204]
push ecx
mov ecx, 0x10487674
call fcn.10003770
lea ecx, [esp + 0x1c]
call fcn.1017f670
xor eax, eax
mov ecx, dword [esp + 0x608]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5f0]
xor ecx, esp
call fcn.1026af30
add esp, 0x600
ret