Function at 0x434660
Capabilities:
Get file version info

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f85b0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x178
mov eax, dword [0x534090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
push 0x104
lea eax, [ebp - 0x150]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004cd810
add esp, 0xc
lea eax, [ebp - 0x150]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x434d1a
cmp eax, 0x103
ja 0x434d1a
push 0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
jne 0x434795
lea eax, [ebp - 0x168]
mov ecx, esi
push eax
call fcn.00439ac0
mov edx, dword [ebp - 0x154]
cmp edx, 0x10
jb 0x434d45
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434d6a
push edx
push ecx
call fcn.004cb66f
add esp, 8
jmp 0x434d45
push 0x5056a8
push edi
call fcn.004cbb0c
add esp, 8
mov dword [ebp - 0x184], eax
test eax, eax
je 0x434cd7
push eax
push edi
push 0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x434cc9
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x180]
push eax
push 0x5141d8
push dword [ebp - 0x184]
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x434cc9
cmp dword [ebp - 0x17c], 0
je 0x434cc9
mov edi, dword [ebp - 0x180]
cmp dword [edi], 0xfeef04bd
jne 0x434cc9
push 0xa
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
push 0xa
lea eax, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
push eax
movzx eax, word [edi + 0xa]
push eax
call fcn.004d4db9
push 0xa
xorps xmm0, xmm0
mov word [ebp - 0x24], 0
push 0xa
lea eax, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
push eax
movzx eax, word [edi + 8]
push eax
call fcn.004d4db9
push 0xa
xorps xmm0, xmm0
mov word [ebp - 0x30], 0
push 0xa
lea eax, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
push eax
movzx eax, word [edi + 0xe]
push eax
call fcn.004d4db9
push 0xa
xorps xmm0, xmm0
mov word [ebp - 0x3c], 0
push 0xa
lea eax, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
push eax
movzx eax, word [edi + 0xc]
push eax
call fcn.004d4db9
lea ecx, [ebp - 0x20]
add esp, 0x40
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4348a0
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00439960
mov ecx, dword [ebp - 0x158]
mov edi, SysReAllocString
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], edx
cmp ecx, edx
jae 0x4348fe
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x168]
cmovae eax, dword [ebp - 0x168]
mov word [eax + ecx], 0x2e
jmp 0x4349f8
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x434d6f
lea eax, [ecx + 1]
mov edi, eax
mov dword [ebp - 0x178], eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x434928
mov edi, SysReAllocString
jmp 0x434946
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x43493e
mov edi, SysReAllocString
jmp 0x434946
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x168]
call fcn.00421f00
cmp dword [ebp - 0x170], 0x10
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x174], eax
push ecx
lea edi, [eax + ecx]
mov dword [ebp - 0x16c], edi
jb 0x4349d2
mov edi, dword [ebp - 0x168]
push edi
push eax
call fcn.004cd290
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov ecx, dword [ebp - 0x170]
inc ecx
mov word [eax], 0x2e
mov eax, edi
cmp ecx, 0x1000
jb 0x4349c6
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434d65
push ecx
push edi
call fcn.004cb66f
add esp, 8
jmp 0x4349e7
lea ecx, [ebp - 0x168]
push ecx
push eax
call fcn.004cd290
add esp, 0xc
mov word [edi], 0x2e
mov eax, dword [ebp - 0x174]
mov edi, SysReAllocString
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434a00
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00439960
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], edx
cmp ecx, edx
jae 0x434a59
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x168]
cmovae eax, dword [ebp - 0x168]
mov word [eax + ecx], 0x2e
jmp 0x434b4e
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x434d6f
lea eax, [ecx + 1]
mov edi, eax
mov dword [ebp - 0x16c], eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x434a83
mov edi, SysReAllocString
jmp 0x434aa1
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x434a99
mov edi, SysReAllocString
jmp 0x434aa1
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x168]
call fcn.00421f00
cmp dword [ebp - 0x174], 0x10
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x170], eax
push ecx
lea edi, [ecx + eax]
mov dword [ebp - 0x16c], edi
jb 0x434b2d
mov edi, dword [ebp - 0x168]
push edi
push eax
call fcn.004cd290
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov ecx, dword [ebp - 0x174]
inc ecx
mov word [eax], 0x2e
mov eax, edi
cmp ecx, 0x1000
jb 0x434b21
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434d65
push ecx
push edi
call fcn.004cb66f
add esp, 8
jmp 0x434b42
lea ecx, [ebp - 0x168]
push ecx
push eax
call fcn.004cd290
add esp, 0xc
mov word [edi], 0x2e
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434b54
sub ecx, edx
lea eax, [ebp - 0x38]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00439960
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x174], edx
cmp ecx, edx
jae 0x434bad
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x168]
cmovae eax, dword [ebp - 0x168]
mov word [eax + ecx], 0x2e
jmp 0x434ca5
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x434d6f
lea eax, [ecx + 1]
mov edi, eax
mov dword [ebp - 0x16c], eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x434bda
mov edi, SysReAllocString
jmp 0x434bf8
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x434bf0
mov edi, SysReAllocString
jmp 0x434bf8
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x168]
call fcn.00421f00
cmp dword [ebp - 0x174], 0x10
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x170], eax
push ecx
lea edi, [eax + ecx]
mov dword [ebp - 0x16c], edi
jb 0x434c84
mov edi, dword [ebp - 0x168]
push edi
push eax
call fcn.004cd290
mov eax, dword [ebp - 0x16c]
add esp, 0xc
mov ecx, dword [ebp - 0x174]
inc ecx
mov word [eax], 0x2e
mov eax, edi
cmp ecx, 0x1000
jb 0x434c78
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434d65
push ecx
push edi
call fcn.004cb66f
add esp, 8
jmp 0x434c99
lea ecx, [ebp - 0x168]
push ecx
push eax
call fcn.004cd290
add esp, 0xc
mov word [edi], 0x2e
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x168], eax
lea ecx, [ebp - 0x44]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x434cb0
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00439960
push dword [ebp - 0x184]
call fcn.004cbb15
add esp, 4
lea eax, [ebp - 0x168]
mov ecx, esi
push eax
call fcn.00439ac0
mov edx, dword [ebp - 0x154]
cmp edx, 0x10
jb 0x434d45
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x434786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434d6a
jmp 0x434786
movups xmm0, xmmword [ebp - 0x168]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x158]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cb63e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004d05ef
call fcn.004d05ef
call fcn.0043abf0
int3