Function at 0x436674
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
mov eax, 0x5ce4f0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
call fcn.005a883c
mov dword [ebp - 0x70], 0xc
push ebx
call fcn.00436358
pop ecx
xor edx, edx
mov dword [ebp - 0x74], edx
lea ecx, [ebp - 0x74]
push ecx
cmp dword [ebx], 0
jne 0x4366b0
mov ecx, 0x5ce045
jmp 0x4366b2
mov ecx, dword [ebx]
push ecx
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, 1
jae 0x4366d5
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword fs:[0], eax
jmp 0x436d75
push esi
push 2
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x4366fd
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword fs:[0], edx
jmp 0x436d75
mov ecx, dword [ebp - 0x78]
push ecx
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x436738
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov edx, dword [ebp - 0x78]
push edx
call sub.KERNEL32.DLL_GlobalFree
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
jmp 0x436d75
mov ecx, dword [ebp - 0x7c]
push ecx
push esi
mov eax, dword [ebp - 0x74]
push eax
cmp dword [ebx], 0
jne 0x43674d
mov edx, 0x5ce046
jmp 0x43674f
mov edx, dword [ebx]
push edx
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
jne 0x436781
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov ecx, dword [ebp - 0x78]
push ecx
call sub.KERNEL32.DLL_GlobalFree
mov eax, dword [ebp - 0x6c]
mov dword fs:[0], eax
jmp 0x436d75
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x80]
push ecx
push 0x5ce047
mov ecx, dword [ebp - 0x7c]
push ecx
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4367b2
push 0x34
mov eax, dword [ebp - 0x80]
push eax
lea edx, [ebx + 4]
push edx
call fcn.005a8158
add esp, 0xc
jmp 0x4367db
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov edx, dword [ebp - 0x78]
push edx
call sub.KERNEL32.DLL_GlobalFree
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
jmp 0x436d75
mov word [ebp - 0x5c], 0x18
xor ecx, ecx
xor eax, eax
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x84]
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea ecx, [ebp - 0x80]
mov word [ebp - 0x5c], 0x24
mov word [ebp - 0x5c], 0x30
mov dword [ebp - 8], eax
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
mov word [ebp - 0x5c], 0x24
push edx
push ecx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x7c]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4368bd
mov edx, dword [ebp - 0x80]
mov cx, word [edx]
mov word [ebx + 0x38], cx
xor ecx, ecx
mov eax, dword [ebp - 0x80]
mov dx, word [eax + 2]
mov word [ebx + 0x3a], dx
mov edx, 4
mov word [ebp - 0x5c], 0x3c
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
movzx eax, word [ebx + 0x38]
call fcn.00436d7c
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0x48
xor ecx, ecx
mov dword [ebp - 0x14], ecx
inc dword [ebp - 0x50]
lea ecx, [ebp - 0x14]
inc dword [ebp - 0x50]
movzx eax, word [ebx + 0x3a]
mov edx, 4
call fcn.00436d7c
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407750
jmp 0x436908
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
mov ecx, dword [ebp - 0x78]
push ecx
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 0x78]
push eax
call sub.KERNEL32.DLL_GlobalFree
sub dword [ebp - 0x50], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407750
sub dword [ebp - 0x50], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.00407750
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
jmp 0x436d75
mov word [ebp - 0x5c], 0x54
xor ecx, ecx
mov dword [ebp - 0x18], ecx
inc dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
inc dword [ebp - 0x50]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.00408564
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.005b7030
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0x24
xor ecx, ecx
lea esi, [ebp - 0xf8]
mov dword [ebp - 0x88], ecx
mov edi, 0x5cdf10
mov word [ebp - 0x5c], 0x24
cmp dword [ebp - 0x88], 0xc
jae 0x436a0e
push str.StringFileInfo_
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_lstrcpyA
cmp dword [ebp - 0xc], 0
jne 0x436993
mov edx, 0x5ce073
jmp 0x436996
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x5ce074
lea ecx, [ebp - 0x148]
push ecx
call sub.KERNEL32.DLL_lstrcatA
mov ecx, dword [edi]
push ecx
lea eax, [ebp - 0x148]
push eax
call sub.KERNEL32.DLL_lstrcatA
mov edx, dword [edi]
lea ecx, [ebp - 0x84]
mov dword [esi], edx
push ecx
lea eax, [ebp - 0x80]
lea edx, [ebp - 0x148]
push eax
push edx
mov ecx, dword [ebp - 0x7c]
push ecx
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4369ee
mov eax, dword [ebp - 0x80]
mov dword [esi + 4], eax
jmp 0x4369f5
mov dword [esi + 4], 0x5cdf40
inc dword [ebp - 0x88]
add esi, 8
add edi, 4
cmp dword [ebp - 0x88], 0xc
jb 0x436975
mov word [ebp - 0x5c], 0x6c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xf4]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x3c]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0x78
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xec]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x40]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0x84
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xe4]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x44]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x24]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0x90
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xdc]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x48]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x28]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0x9c
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xd4]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x4c]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xa8
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xcc]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x50]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xb4
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0xc4]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x54]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xc0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xbc]
mov ecx, edx
xor edx, edx
xchg ecx, eax
xchg ecx, edx
lea esi, [ebx + 0x58]
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xcc
mov eax, dword [ebp - 0xb4]
lea esi, [ebx + 0x5c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x8c]
xor ecx, ecx
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xd8
mov eax, dword [ebp - 0xac]
lea esi, [ebx + 0x60]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x90]
xor ecx, ecx
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x40]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xe4
mov eax, dword [ebp - 0xa4]
lea esi, [ebx + 0x64]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x94]
xor ecx, ecx
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00407750
mov word [ebp - 0x5c], 0xf0
mov eax, dword [ebp - 0x9c]
lea esi, [ebx + 0x68]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x98]
xor ecx, ecx
call fcn.005b6fd0
inc dword [ebp - 0x50]
inc dword [ebp - 0x50]
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.005b7260
sub dword [ebp - 0x50], 2
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00407750
mov ecx, dword [ebp - 0x78]
push ecx
call sub.KERNEL32.DLL_GlobalUnlock
mov ecx, dword [ebp - 0x78]
push ecx
call sub.KERNEL32.DLL_GlobalFree
call sub.KERNEL32.DLL_GetLastError
mov dword [ebx + 0x6c], eax
lea eax, [ebp - 0xc]
sub dword [ebp - 0x50], 2
mov edx, 2
call fcn.00407750
sub dword [ebp - 0x50], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407750
sub dword [ebp - 0x50], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.00407750
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret